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.
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"
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: