Apple RAG MCP
Provides semantic, keyword, and hybrid search over Apple's developer documentation and WWDC session transcripts, enabling access to code examples, API references, and video content across iOS, macOS, watchOS, tvOS, and visionOS.
Apple RAG
Apple developer documentation and WWDC transcripts for AI agents — via MCP or CLI.
Website · Connect Guide · Docs Pulse · CLI on npm · English | 简体中文
Powered by Jev & RAG hybrid retrieval
|
|
|
|
Apple Doc Pages | WWDC Videos | Indexed Chunks |
Quick Start
No account or API key required to try. Start immediately with anonymous access (30 calls/week). Sign in at apple-rag.com/overview anytime for personalized prompts, MCP tokens, authorized IPs, and higher limits.
Option 1: MCP (Recommended)
Connect any MCP-capable agent directly to https://mcp.apple-rag.com (Streamable HTTP), or copy a tailored setup prompt from the connection guide.
Claude Code
claude mcp add-json --scope user apple-rag-mcp '{"type":"http","url":"https://mcp.apple-rag.com","headers":{"X-Apple-RAG-Client":"claude"}}'Codex (~/.codex/config.toml)
[mcp_servers.apple-rag-mcp]
url = "https://mcp.apple-rag.com"
[mcp_servers.apple-rag-mcp.http_headers]
X-Apple-RAG-Client = "codex"{
"mcpServers": {
"apple-rag-mcp": {
"type": "http",
"url": "https://mcp.apple-rag.com"
}
}
}Transport: Streamable HTTP (
https://mcp.apple-rag.com)Protocol: Stateless MCP
2026-07-28, with legacyinitializesupport (2025-11-25,2025-06-18,2025-03-26)Auth (optional): Add
Authorization: Bearer <MCP_TOKEN>from your dashboard or authorize your IP at apple-rag.com/authorized-ips
Option 2: CLI (Shell-based Agents)
For agents with shell access (Node.js 22.20+), apple-rag-cli exposes the exact same three tools plus a bundled apple-dev-docs agent skill.
npm install -g apple-rag-cli
# Try immediately without signing in
apple-rag search "SwiftUI NavigationStack path binding" --limit 3 --json
# Link your account via browser OAuth PKCE / Device Grant when needed
apple-rag auth login
# Or install the bundled apple-dev-docs Agent Skill directly
npx skills add BingoWon/apple-rag-mcpSee packages/cli/README.md for exit codes, --output, unattended automation keys, and agent skill setup.
Related MCP server: Apple RAG MCP
Three Tools, One Workflow
Both MCP and CLI expose the same focused surface so agents pull only the official context they need:
Tool | Purpose | Example |
| Hybrid keyword + semantic search across Apple docs & WWDC transcripts (English queries) |
|
| Explore SwiftUI & UIKit topic trees without guessing documentation URLs |
|
| Read full documentation or supported public webpages with source & retrieval provenance |
|
Agent task: "How do I bind NavigationStack path state on iOS 26/27?"
1. search("SwiftUI NavigationStack NavigationPath binding")
└─▶ Hybrid recall (exact symbol + pgvector) ─▶ Ranked by Jev ─▶ Top official passages + URLs
2. browse("https://developer.apple.com/documentation/swiftui/navigation") [optional]
└─▶ Official SwiftUI topic hierarchy & related symbols
3. fetch("https://developer.apple.com/documentation/swiftui/navigationstack")
└─▶ Full page content, availability & code examples with canonical Apple source URLWhy Apple RAG
Hybrid Retrieval + Decision Model Ranking — Combines exact symbol/lexical matching with 2560-dim
pgvectorsemantic recall, then ranks candidates with Jev against your query's API, platform, and OS version constraints. Requests from mainland China route automatically to Microsoft Decision 1.1 via ZenMux, with Qwen fallback if the primary ranker is unavailable.Apple Docs Pulse (Live Documentation Radar) — A continuous 5-minute
ETagcollector monitors Apple framework roots and release notes, records structured diffs, deprecations, and beta changes, and publishes automated daily/weekly bilingual AI trend digests plus RSS/JSON feeds at apple-rag.com/updates.4-Stage Resilient
fetch— Resolves pages in order from the indexed corpus → fresh cache → official Apple DocC JSON → live extraction fallback, returning provenance metadata while keeping third-party pages strictly outside the Apple search index.Zero-Friction Compatibility & Isolated Credentials — Supports modern stateless MCP
2026-07-28alongside legacyinitializehandshakes so Cursor, Claude Code, Codex, and VS Code connect out of the box. MCP tokens, authorized IPs, CLI device sessions, and automation keys are independently revocable while sharing one account quota.
Plans & Shared Quotas
All tool calls (search, browse, fetch) share a single account allowance across MCP connections, CLI devices, and automation keys. Retrieval model calls are included.
Plan | Weekly Quota | Rate Limit | Pricing |
Anonymous Trial | 30 calls | 3 / min | Free — no sign-up |
Free Account | 50 calls | 5 / min | Free (Sign up) |
Pro | 50,000 calls | 50 / min | $1 / week (Card & Alipay · subscription or one-time pass) |
Enterprise | Custom | Custom |
Architecture & Repository
The hosted service at apple-rag.com manages the corpus, continuous collector, vector database, and retrieval model credentials. The complete application source is open in this repository:
flowchart LR
Agents["AI Agents (MCP / CLI)"] --> Edge["Cloudflare Worker (API · MCP · Cron)"]
Edge --> D1["Cloudflare D1 (Accounts · Quotas · Logs)"]
Edge --> PG["PostgreSQL + pgvector (Docs · Catalog · Diffs)"]
Edge --> Rank["Hybrid Search (Embeddings + Jev / Decision)"]
Edge --> Apple["Apple Docs JSON & Web Fetch"]Path | Description |
| Cloudflare Worker runtime — MCP server ( |
| React 19 + Vite + Tailwind CSS v4 frontend — website, |
| Standalone |
| Pure cross-runtime contracts, tool metadata, and datetime helpers |
| Agent skill definition ( |
Local Development
pnpm install
pnpm verify # Parallel lint and typecheck
pnpm build # Production web + Cloudflare Worker bundle
pnpm dev # Start local Vite + Worker dev serverLicense
Licensed under the MIT License.
Better docs. Better context. Better code.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and read Apple developer documentation, HIG, and WWDC transcripts as Markdown.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Access and search Branch's official API documentation directly within any AI agent or client.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceProvides AI agents with instant access to official Apple developer documentation, Swift programming guides, design guidelines, and Apple Developer YouTube content including WWDC sessions. Uses advanced RAG technology with semantic search and AI reranking to deliver accurate, contextual answers for Apple platform development.7-
- FlicenseNot gradedqualityNot gradedmaintenanceProvides AI agents with instant access to official Apple developer documentation, Swift docs, design guidelines, and Apple Developer YouTube content through advanced semantic and hybrid search capabilities. Features AI-powered reranking for accurate retrieval of Apple platform knowledge including iOS, macOS, watchOS, tvOS, and visionOS development resources.5-
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to Apple's development documentation ecosystem including hidden Xcode docs, Swift Evolution proposals, GitHub repositories, and WWDC session notes. Enables developers to search and retrieve advanced Apple development resources not available through public channels.16MIT
- AlicenseAqualityDmaintenanceProvides access to Apple's official developer documentation, frameworks, APIs, and WWDC session transcripts across all Apple platforms. It enables AI assistants to search technical guides, sample code, and platform compatibility information using natural language queries.18996 npm1,389MIT