Skip to content
FunCoding

mcp-server

Listed in the official MCP Registry

Find Apple docs and WWDC with RAG retrieval and Jev relevance ranking. Browse topics or read pages.

Star
117
Version
v5.18.1
License
MIT
Last commit
Nov 26, 2026
Apple RAG

Apple RAG

Apple developer documentation and WWDC transcripts for AI agents — via MCP or CLI.

Website · Connect Guide · Docs Pulse · CLI on npm · English | 简体中文

CI Release npm CLI MCP 2026-07-28 License: MIT Listed on mcpservers.org Glama MCP

Powered by Jev & RAG hybrid retrieval


Apple RAG — Inject Apple Expertise into AI Agents via MCP / CLI
376,000+1,880+395,000+Every 5 min
Apple Doc PagesWWDC VideosIndexed ChunksLive Docs Radar

Quick Start

Tip

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.

Connect any MCP-capable agent directly to https://mcp.apple-rag.com (Streamable HTTP), or copy a tailored setup prompt from the connection guide.

Install in Cursor   All Client Guides

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"
VS Code, Windsurf, Cline, Antigravity & generic MCP JSON
{
  "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 legacy initialize support (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-mcp

See packages/cli/README.md for exit codes, --output, unattended automation keys, and agent skill setup.


Three Tools, One Workflow

Both MCP and CLI expose the same focused surface so agents pull only the official context they need:

ToolPurposeExample
searchHybrid keyword + semantic search across Apple docs & WWDC transcripts (English queries)apple-rag search "StoreKit Transaction currentEntitlements" --limit 4
browseExplore SwiftUI & UIKit topic trees without guessing documentation URLsapple-rag browse "https://developer.apple.com/documentation/swiftui/view" --depth 1
fetchRead full documentation or supported public webpages with source & retrieval provenanceapple-rag fetch "https://developer.apple.com/documentation/swiftui"
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 URL

Why Apple RAG

  • Hybrid Retrieval + Decision Model Ranking — Combines exact symbol/lexical matching with 2560-dim pgvector semantic 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 ETag collector 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-28 alongside legacy initialize handshakes 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.

PlanWeekly QuotaRate LimitPricing
Anonymous Trial30 calls3 / minFree — no sign-up
Free Account50 calls5 / minFree (Sign up)
Pro50,000 calls50 / min$1 / week (Card & Alipay · subscription or one-time pass)
EnterpriseCustomCustomContact us

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"]
PathDescription
worker/Cloudflare Worker runtime — MCP server (2026-07-28 + legacy), REST & CLI OAuth APIs, hybrid search engine, Docs Pulse collector
src/React 19 + Vite + Tailwind CSS v4 frontend — website, /connect, /updates radar, user dashboard, admin console
packages/cli/Standalone apple-rag-cli npm package
shared/Pure cross-runtime contracts, tool metadata, and datetime helpers
skills/Agent skill definition (skills/apple-dev-docs/SKILL.md)

Local Development

pnpm install
pnpm verify   # Parallel lint and typecheck
pnpm build    # Production web + Cloudflare Worker bundle
pnpm dev      # Start local Vite + Worker dev server

License

Licensed under the MIT License.


Better docs. Better context. Better code.

Get Started → · Explore Docs Pulse →

Similar MCP servers

Official

Memory

Knowledge graph-based persistent memory system

MOmodelcontextprotocol/servers92k166 new stars in the last 7 days

Honcho

Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.

PLplastic-labs/honcho8.4k86 new stars in the last 7 days

PDF Craft

Convert scanned PDFs to Markdown or EPUB, and translate PDF and EPUB books via MCP.

OOoomol-lab/pdf-craft6.8k30 new stars in the last 7 days

Featured

gemini-notebook-mcp-cli

Access Gemini Notebook via CLI and MCP Server.

JAjacob-bd/gemini-notebook-mcp-cli6.6k75 new stars in the last 7 days

Featured

Zotero MCP

Search, read and cite papers from your Zotero library in any AI agent.

5454yyyu/zotero-mcp6.1k82 new stars in the last 7 days