Available as an Agent Skill — no MCP server setup required.
Apple Deep Docs MCP
Access hidden Xcode documentation and Apple developer resources through the Model Context Protocol.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Available as an Agent Skill — no MCP server setup required.
Access hidden Xcode documentation and Apple developer resources through the Model Context Protocol.
A Model Context Protocol server that exposes Apple's hidden Xcode documentation and developer resources
Modern Apple documentation uses the DocC rendering system which requires JavaScript to dynamically load content, making it inaccessible to some LLMs. This MCP server circumvents that limitation by providing comprehensive access to Apple's development documentation ecosystem, including:
AdditionalDocumentation folder inside Xcode.app containing advanced SwiftUI patterns, Liquid Glass design guides for iOS 26+, and framework-specific implementation details not available on Apple's public developer sitegit clone https://github.com/Ahrentlov/appledeepdoc-mcp.git
cd appledeepdoc-mcp
# Create virtual environment
python3 -m venv venv
# Install dependencies
./venv/bin/pip install fastmcp
For Claude Code, you need to add the MCP server using the following CLI commands:
Make sure run.sh is executable
chmod +x /path/to/appledeepdoc-mcp/run.sh
Add the MCP server to the local Claude Code project config
Navigate to the project folder where you will be activating Claude Code, then run the following command to register the MCP server:
claude mcp add --transport stdio apple-deep-docs /path/to/appledeepdoc-mcp/run.sh
Verify it was added
claude mcp list
Now when you activate claude in this folder, it will have the MCP server available.
Add to your Claude Desktop config file:
{
"mcpServers": {
"apple-deep-docs": {
"command": "/path/to/appledeepdoc-mcp/run.sh"
}
}
}
Add to ~/.codex/config.toml:
[mcp_servers.apple-deep-docs]
"command" = "/path/to/appledeepdoc-mcp/run.sh"
Replace /path/to/appledeepdoc-mcp with the full path where you cloned this repository. The run.sh script automatically handles the virtual environment.
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAfter updating the config, restart Claude Desktop to load the MCP server.
├── main.py # Entry point for the MCP server
├── config.py # Configuration and Xcode path discovery
├── tools.py # MCP tool definitions and input validation
├── docs/ # Documentation access modules
│ ├── local_docs.py # Xcode's hidden local documentation
│ └── apple_docs.py # Apple Developer website API access
├── evolution/ # Swift language evolution
│ └── swift_evolution.py
├── repos/ # GitHub repository searching
│ └── swift_repos.py
├── suggestions/ # Intelligent suggestion system
│ └── suggestions.py # Centralized suggestion engine
├── wwdc/ # WWDC session resources
│ └── wwdc_notes.py
└── pyproject.toml # Package configuration
search_docs - Search Xcode's hidden documentationget_document - Retrieve full content of a specific documentlist_documents - List all available documentation filesget_xcode_versions - Get installed Xcode versions with documentationfetch_apple_documentation - Fetch structured docs from developer.apple.comsearch_apple_online - Search both local and online Apple documentationget_framework_info - Get direct documentation URL for any frameworksearch_swift_evolution - Search Swift Evolution proposalsget_swift_evolution_proposal - Get details of a specific proposalsearch_swift_repos - Search across all Apple/SwiftLang repositoriesfetch_github_file - Fetch source code from GitHub repositoriessearch_wwdc_notes - Search WWDC session notes and transcriptsget_wwdc_session - Get WWDC session URLs from session IDsearch_human_interface_guidelines - Search Apple's HIG for design patterns and best practiceslist_human_interface_guidelines_platforms - List all available platforms with HIG linksXCODE_DOC_PATH: Override default Xcode documentation search pathCODE_EXECUTION_MODE: Set to true to enable experimental code execution mode (see below)Based on the approach described in Code Execution with MCP: Building More Efficient Agents from Anthropic Engineering.
This server also supports an alternative approach that replaces the 15+ individual MCP tools with a sandboxed Python execution environment. Instead of receiving large JSON responses and processing them externally, LLMs write Python code that fetches and filters data directly—significantly reducing token usage.
The standard mode exposes 15+ tools, each returning full JSON responses. For example, searching Swift Evolution proposals returns the entire matching dataset. With code execution mode:
The sandbox provides defense-in-depth:
exec, eval, and dangerous builtinsAdd the CODE_EXECUTION_MODE environment variable to your MCP configuration:
Claude Code:
claude mcp add apple-deep-docs-exec /path/to/appledeepdoc-mcp/run.sh --env CODE_EXECUTION_MODE=true
Claude Desktop:
{
"mcpServers": {
"apple-deep-docs-exec": {
"command": "/path/to/appledeepdoc-mcp/run.sh",
"env": {
"CODE_EXECUTION_MODE": "true"
}
}
}
}
Instead of calling search_swift_evolution and receiving a large JSON response, the LLM executes:
# Executed in sandbox via execute_documentation_code
proposals = search_proposals('async')
swift6 = [p for p in proposals.get('proposals', [])
if p.get('version', '').startswith('6')]
result = {'swift6_async': swift6[:5], 'count': len(swift6)}
The LLM receives only the filtered 5 proposals, not the entire matching dataset.
All documentation sources are available as functions:
This project is provided as-is in its current state. While I've done my best to make it useful for accessing Apple's deeper documentation layers, there may be rough edges or areas for improvement.
Suggestions and pull requests are more than welcome! If you have ideas for new features, find bugs, or want to contribute improvements, please feel free to open an issue or submit a PR.
MIT
A Model Context Protocol server that exposes Apple's hidden Xcode documentation and developer resources
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Appledeepdoc 透過 stdio 在本機執行。
上次檢查時間:2026-10-27。 A Model Context Protocol server that exposes Apple's hidden Xcode documentation and developer resources