Apple RAG Apple RAG
MCP 2026-07-28 + Legacy Free 30 calls/wk (No Key) Pro $1/week · 50,000 calls

Connect Apple Developer Docs & WWDC to OpenCode

Connect OpenCode to Apple RAG via remote MCP or apple-rag-cli for fast, compact Apple docs and WWDC transcript retrieval in terminal coding sessions.

Copy Interactive Setup Prompt Get Personal Account Token
Apple Doc Pages
376,000+
WWDC Transcripts
1,880+
Tools Exposed
search · browse · fetch
Freshness Radar
Every 5 min

1. Configuration (opencode.json)

Remote HTTP MCP plus standalone Node 22+ CLI package on npm.

{
  "mcp": {
    "apple-rag-mcp": {
      "type": "remote",
      "url": "https://mcp.apple-rag.com",
      "headers": {
        "X-Apple-RAG-Client": "opencode"
      }
    }
  }
}

2. Step-by-Step Setup

  1. Add the remote MCP server block to opencode.json.
  2. Restart OpenCode to expose search, browse, and fetch.
  3. Or run npm install -g apple-rag-cli && apple-rag search 'SwiftUI NavigationStack' --json directly.

3. CLI Alternative (Shell Agents & Automation)

Prefer shell tools or CI scripts? Install apple-rag-cli (Node.js 22.20+) — it exposes the exact same search, browse, and fetch tools and shares your account quota:

npm install -g apple-rag-cli
apple-rag search "SwiftUI NavigationStack path binding" --limit 3 --json
apple-rag browse "https://developer.apple.com/documentation/swiftui/view" --depth 1

4. Example Prompts to Try in OpenCode

5. Other Supported Clients & Comparisons

Keep Your AI Agent Synced With Official Apple Docs

Connect Cursor, Claude Code, Codex, VS Code, or any shell agent to 376,000+ Apple Developer doc pages and 1,880+ WWDC video transcripts. Hybrid search + Jev decision reranking. Start free with 30 anonymous calls/week (no key), 50 calls/week with a free account, or unlock 50,000 calls/week for $1/week.