loading…
Search for a command to run...
loading…
Search and retrieve information from Apple's complete developer documentation, including API references, code examples, and Human Interface Guidelines, across a
Search and retrieve information from Apple's complete developer documentation, including API references, code examples, and Human Interface Guidelines, across all Apple platforms and versions.
Search through Apple's complete developer documentation using your AI coding assistant.
This tool connects your AI assistant (like Cursor) to Apple's entire developer documentation. Instead of manually browsing developer.apple.com, your AI can search through Apple's docs and provide precise answers with source links.
Complete documentation coverage:
How it works: Natural language search - ask questions in plain English. Type "how to animate a button press" or "best practices for iOS navigation" and get relevant answers. The search understands concepts and context, not just exact keyword matches.
Database: 16,253+ documents with complete content coverage.
npm install apple-docs-mcp-server
The documentation database (260MB) downloads automatically during installation.
1. Create .cursor/mcp.json in your project root:
{
"schemaVersion": 1,
"mcpServers": {
"apple_docs": {
"command": "/absolute/path/to/node_modules/apple-docs-mcp-server/run-mcp-safe.sh",
"env": {
"OPENAI_API_KEY": "your_openai_api_key_here"
},
"autoStart": true,
"alwaysAllow": ["search_docs", "get_doc", "get_code_examples", "get_stats"],
"timeout": 30000
}
}
}
2. Find your correct path:
# In your project directory:
echo "$(pwd)/node_modules/apple-docs-mcp-server/run-mcp-safe.sh"
3. Restart Cursor completely
Ask your AI assistant questions about Apple development:
API & Code examples (any version):
Design & Interface Guidelines:
Natural language queries:
Your AI searches through Apple's complete documentation and provides answers with source links. When documents contain code examples, your AI can extract those examples with full context and explanations.
Complete historical and current coverage: This is the most comprehensive Apple developer documentation collection available. Everything Apple has ever published and continues to publish - from legacy APIs to cutting-edge frameworks, all WWDC sessions from 2019-2025, complete Human Interface Guidelines - all in one searchable database.
Natural language search: Ask questions in plain English. No need to know exact API names or keywords. The search understands what you're trying to accomplish.
Working code examples: Not just documentation text, but actual Swift code with explanations and context across all platform versions.
Fast and local: All documents are processed on your machine. Search results appear instantly without API calls.
From legacy to latest: Whether you need legacy iOS 13 APIs or the newest iOS 26 features like Liquid Glass API - it's all here with complete WWDC 2025 content.
Cursor shows "No tools":
.cursor/mcp.jsonrun-mcp-safe.sh is executable: chmod +x run-mcp-safe.shOpenAI API key errors:
env section of mcp.json (recommended)sk-proj- or sk-Database errors:
npm uninstall apple-docs-mcp-server && npm install apple-docs-mcp-serverls -lh node_modules/apple-docs-mcp-server/embeddings.dbsearch_docs: Search through all Apple documentation and design guidelinesget_doc: Get complete document content by IDget_code_examples: Extract working Swift code examples from documentation with explanationsget_stats: Database statistics and informationMIT License - see LICENSE file for details.
This is an unofficial tool for accessing Apple developer documentation. No affiliation with Apple Inc.
Run in your terminal:
claude mcp add apple-docs-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.