home / mcp / apple deep docs mcp server
A Model Context Protocol server that exposes Apple's hidden Xcode documentation and developer resources
Configuration
View docs{
"mcpServers": {
"ahrentlov-appledeepdoc-mcp": {
"command": "/path/to/appledeepdoc-mcp/run.sh",
"args": []
}
}
}You gain a dedicated MCP server that exposes hidden Xcode documentation, Apple Developer resources, Swift Evolution proposals, WWDC notes, and Human Interface Guidelines. It consolidates these sources into an accessible interface you can query from your MCP client, enabling fast, centralized access to deep Apple documentation.
You interact with the server through your MCP client as a local or remote endpoint. Start by running the MCP server, then connect your client to the local stdio endpoint to issue queries like retrieving full documents, listing available docs, or searching Apple Developer content. You can search hidden Xcode documentation, fetch Apple Developer pages, and explore Swift Evolution proposals and WWDC notes through dedicated tool channels.
Typical usage patterns include: - Search and retrieve a specific document from Xcodeβs hidden docs or Apple Developer docs. - List available documentation files or fetch versioned Xcode doc sets installed on your machine. - Explore Swift Evolution proposals to understand the rationale behind language features. - Look up WWDC session notes for performance tips and architectural patterns. - Cross-reference Human Interface Guidelines when designing apps for Apple platforms.
# Prerequisites
- Python 3.10+
- Xcode installed for local documentation
# 1) Clone the MCP server repository
git clone https://github.com/Ahrentlov/appledeepdoc-mcp.git
cd appledeepdoc-mcp
# 2) Set up Python environment
python3 -m venv venv
./venv/bin/pip install fastmcp
# 3) Ensure the run script is executable for the MCP server
chmod +x /path/to/appledeepdoc-mcp/run.shThe MCP server is configured as a local stdio endpoint that you run from your environment. The recommended setup uses a local run script that launches the Python-based server within a virtual environment. You can integrate this server with Claude Code, Claude Desktop, or GPT-Codex by registering the stdio transport with the provided run script path.
Key environment variable you may override is:
- XCODE_DOC_PATH: Override the default Xcode documentation search path if you want to point the server at a specific Xcode installation or documentation bundle.
# Claude Code integration (stdio)
chmod +x /path/to/appledeepdoc-mcp/run.sh
claude mcp add --transport stdio apple-deep-docs /path/to/appledeepdoc-mcp/run.sh
claude mcp list# Claude Desktop configuration (JSON)
{
"mcpServers": {
"apple-deep_docs": {
"command": "/path/to/appledeepdoc-mcp/run.sh",
"args": []
}
}
}Keep your Python environment isolated, periodically update dependencies, and ensure that access to the MCP server is restricted to your trusted clients. Regularly verify that the Xcode path and Apple documentation sources are reachable from the server host.
Search Xcode's hidden documentation
Retrieve full content of a specific document
List all available documentation files
Get installed Xcode versions with documentation
Fetch structured docs from Apple Developer site
Search both local and online Apple documentation
Get direct documentation URL for any framework
Search Swift Evolution proposals
Get details of a specific Swift Evolution proposal
Search across Swift repositories on GitHub
Fetch source code from GitHub repositories
Search WWDC session notes and transcripts
Get WWDC session URLs by ID
Search Apple's Human Interface Guidelines
List platforms with HIG links