Apple RAG
A hosted MCP server and command-line tool that lets agents search Apple developer documentation and WWDC transcripts, browse SwiftUI and UIKit by topic, and read source pages.
View on GitHub ↗- Stars
- ★ 118
- Last commit
- 4 Dec 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- MCP Servers
- GitHub
- BingoWon/
apple-rag-mcp
Overview
Apple RAG gives an AI agent Apple developer knowledge through MCP or a command-line tool. It searches official developer documentation and WWDC transcripts with a mix of keyword and semantic retrieval, then ranks the candidates. The README says that ranking is done with Jev, a decision model from TypeSafe AI, and that a backup reranker is used if that call fails. The ranking quality has not been independently verified.
The same three tools are available over MCP and the CLI: search finds an API or a WWDC discussion from an English query, browse walks SwiftUI or UIKit topic groups without guessing URLs, and fetch reads a source page from a search result, a catalogue entry or a URL you already have. fetch checks the index first, follows Apple redirects, and can fall back to official document JSON or live extraction. Third-party pages stay outside the Apple search index.
This is a hosted service at apple-rag.com. The application source and the CLI are public under the MIT licence; the corpus, database and retrieval models stay on the server. Usage is metered. The README's current limits, which have not been independently verified, are 30 tool calls a week and 3 a minute without an account, 50 a week and 5 a minute with a free account, and a Pro plan at 1 US dollar a week for 50,000 calls a week and 50 a minute. The three tools share one allowance across MCP and the CLI, with separate credentials.
Apple RAG is licensed under the MIT licence.
Features
- Hybrid search of indexed Apple documentation and developer video transcripts, combining keyword and semantic retrieval.
- A topic catalogue for browsing SwiftUI and UIKit by Apple's own topic groups.
- Page fetch with source URLs, so an agent can cite what it read. Results say how the page was retrieved.
- A hosted MCP endpoint at https://mcp.apple-rag.com, using Streamable HTTP (MCP 2026-07-28, with older initialise versions still accepted).
- A command-line client, apple-rag, with the same three tools, plus auth, upgrade and doctor. Account login opens the website for device approval. An automation key can be stored as APPLE_RAG_TOKEN.
- An agent skill, shipped in the CLI package as skills/apple-dev-docs/SKILL.md (the folder name is easy to confuse with the separate xdocs project).
- A dashboard for call logs and remaining weekly allowance. MCP tokens are optional and raise the quota; the CLI no longer accepts those tokens.
- Search is English-only and covers indexed Apple content. Coverage depends on collection and indexing, and updates are not guaranteed to appear immediately, as the README says.
Requirements
- An MCP client, or Node.js 22.20 or later for the CLI.
- A network connection to the hosted service.
- For a signed-in allowance, an Apple RAG account. The CLI stores credentials in the OS credential store (Keychain on a Mac).
Install
For MCP, add a Streamable HTTP server named apple-rag-mcp with the URL https://mcp.apple-rag.com. In Claude Code you can follow the prompts on the connection guide (https://apple-rag.com/connect). In Cursor there is a one-click install from that guide. For a higher allowance, copy the personalised prompt from the dashboard (https://apple-rag.com/overview) so the token is included.
For the CLI, run npm install -g apple-rag-cli, then apple-rag --help. Or run a one-off command with npx apple-rag-cli search "your English query" --limit 2. Sign in with apple-rag auth login if you want the signed-in allowance.
After a global CLI install, you can copy the bundled skill into your agent. For Codex, the CLI README uses mkdir -p ~/.agents/skills/apple-dev-docs and then copies SKILL.md from the global npm package.
Example
Ask your agent to find how NavigationStack path binding works in SwiftUI. Over MCP it should call search, then fetch on a promising result. From the shell you can run apple-rag search "SwiftUI NavigationStack path binding" --limit 4, apple-rag browse to see the current catalogue, or apple-rag fetch with a developer.apple.com URL. apple-rag doctor --json checks the connection without spending retrieval quota.
Works with
Listed in
- apple-rag.com
- github.com/BingoWon/apple-rag-mcp
- github.com/BingoWon/apple-rag-mcp/blob/main/README.md
- www.npmjs.com/package/apple-rag-cli
- apple-rag.com/connect
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
Mobile MCP
Drives native mobile apps on simulators, emulators and real devices over MCP, for iOS and Android alike.
MobileBuildMCP
Sentry's MCP server and CLI for building, testing, running and debugging iOS and macOS projects from an agent. Formerly XcodeBuildMCP.
agent-device
Lets coding agents see and drive apps on iOS simulators and real devices (Android too) through accessibility snapshots, taps, typing and screenshots. Comes as a CLI, MCP server and Node API.
SwiftAgents