Apple Doc MCP

Apple Doc MCP

A Model Context Protocol server that provides AI coding assistants with direct access to Apple's Developer Documentation, enabling seamless lookup of frameworks, symbols, and detailed API references.

Category
Visit Server

Tools

list_technologies

List all available Apple technologies/frameworks

search_symbols

Search for symbols across Apple frameworks (supports wildcards like "RPBroadcast*")

check_updates

Check for available updates from the git repository

get_documentation

Get detailed documentation for any symbol, class, struct, or framework (automatically detects and handles both)

README

Apple Doc MCP

A Model Context Protocol (MCP) server that provides seamless access to Apple's Developer Documentation directly within your AI coding assistant.

📋 Changelog

1.0.1 Update

  • 🎯 Intelligent Fallback System: When searching for frameworks instead of symbols (e.g., "SwiftUI"), the server now provides helpful framework information and guidance on correct usage
  • 🔧 Tool Consolidation: Streamlined from 4 tools to 4 focused tools:
    • list_technologies - Browse all Apple frameworks
    • get_documentation - Get symbol or framework docs (handles both automatically)
    • search_symbols - Search with wildcards and filters
    • check_updates - Check for repository updates via git
  • 🚀 Pre-built Distribution: No more manual building required - clone and use immediately
  • 🧹 Dynamic Framework Discovery: Removed all hard-coded framework lists for fully dynamic operation
  • ⚡ Automatic Update Notifications: Server automatically checks for updates on startup and notifies users when new versions are available
  • 🛡️ Enhanced Error Handling: Better null safety and professional error messages

🚀 Features

  • 🔍 Smart Search: Find symbols across all Apple frameworks with wildcard support (*, ?)
  • 📚 Framework Browsing: Explore any Apple framework structure (SwiftUI, UIKit, Foundation, etc.)
  • 📖 Detailed Documentation: Get comprehensive symbol documentation with examples
  • 🎯 Advanced Filtering: Filter by platform (iOS, macOS, etc.), symbol type, or framework
  • ⚡ Real-time Data: Always up-to-date with Apple's latest documentation
  • 🔄 Auto-Update Alerts: Automatic notifications when repository updates are available
  • 🧠 AI-Optimized: Clean markdown output perfect for AI assistants

📦 Installation

  1. Clone this repository:

    git clone https://github.com/MightyDillah/apple-doc-mcp.git
    cd apple-doc-mcp
    
  2. Ready to use! (Pre-built distribution included)

    # No build step required - just configure your MCP client
    

🔌 Quick Setup

Step 1: Configure Your AI Assistant

Claude Desktop: Edit ~/.config/claude/claude_desktop_config.json Cursor: Settings (Cmd/Ctrl + ,) → Extensions → MCP Continue.dev: Edit ~/.continue/config.json VS Code (Claude): Settings → MCP Servers

{
  "mcpServers": {
    "apple-doc-mcp": {
      "command": "node",
      "args": ["/path/to/apple-doc-mcp/dist/index.js"]
    }
  }
}

Replace /path/to/apple-doc-mcp with the actual path to your cloned repository.

Step 2: Restart & Test

  1. Restart your AI assistant
  2. Try: "List available Apple technologies"
  3. You should see 4 new tools available
  4. The server will automatically notify you if updates are available on startup

🎯 How to Use

Once configured, just talk naturally to your AI assistant. Here are examples:

Browse Available Technologies

"Use apple-doc-mcp to list all current Apple frameworks"
"Get the latest available Apple technologies from Apple's docs"
"Search Apple documentation for all available frameworks"

Explore a Framework

"Use apple-doc-mcp to browse SwiftUI framework structure"
"Get current UIKit topics from Apple documentation"
"Search Apple docs for Foundation framework details"

Search for Specific APIs

"Search Apple's SwiftUI docs for drag and drop APIs"
"Use apple-doc-mcp to find RPBroadcast* classes in ReplayKit"
"Look up current *View* symbols across Apple frameworks"
"Find all *Controller classes in UIKit using Apple docs"

Get Detailed Documentation

"Get the latest SwiftUI View protocol docs from Apple"
"Use apple-doc-mcp to look up UIViewController documentation"
"Search Apple's current docs for NSURLSession details"

The AI will automatically use the MCP tools to fetch current Apple documentation and provide comprehensive answers.

🛠️ Available Tools

list_technologies

Browse all available Apple frameworks and technologies.

get_documentation

Get detailed documentation for symbols or frameworks (automatically detects type).

  • path (required): Documentation path (e.g., "documentation/SwiftUI/View") or framework name (e.g., "SwiftUI")

Examples:

{"path": "SwiftUI"}
{"path": "documentation/SwiftUI/View"}
{"path": "Foundation"}

search_symbols

Search for symbols across Apple frameworks with advanced filtering.

  • query (required): Search query with wildcard support
  • framework (optional): Search within specific framework
  • symbolType (optional): Filter by symbol type (class, protocol, struct, etc.)
  • platform (optional): Filter by platform (iOS, macOS, etc.)
  • maxResults (optional): Maximum results (default: 20)

Examples:

{"query": "RPBroadcast*"}
{"query": "*Controller", "framework": "UIKit"}
{"query": "*View*", "platform": "iOS", "maxResults": 5}

check_updates

Check for available updates from the git repository.

  • No parameters required
  • Shows current branch status, available updates, and update instructions
  • Note: The server automatically checks for updates on startup and displays notifications

🚨 Troubleshooting

Server Won't Start

  • Ensure Node.js 18+ is installed
  • Verify the path in your MCP config points to the correct dist/index.js location
  • Check your MCP configuration syntax
  • Restart your AI assistant after config changes

"0 tools" Showing Up

  • This usually means the server isn't starting properly
  • Check the file path in your configuration is correct and absolute
  • The dist directory is included - no build step required
  • Try testing the server directly: node /path/to/apple-doc-mcp/dist/index.js

No Results Found

  • Try broader search terms
  • Use wildcard patterns: "*View*" instead of "View"
  • Remove filters to expand search scope

Performance Issues

  • First search may be slower (builds cache)
  • Subsequent searches are much faster
  • Reduce maxResults for faster responses

⚙️ Technical Details

  • 10-minute caching to avoid API rate limits
  • 15-second timeouts for reliable performance
  • Smart framework prioritization for faster searches
  • Graceful error handling for robust operation

📋 Requirements

  • Node.js: 18.0.0 or higher
  • Memory: ~50MB RAM during operation
  • Network: Internet connection to Apple's documentation API

🤝 Contributing

Found a bug or want to add a feature? Contributions welcome!

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

See CONTRIBUTING.md for detailed guidelines.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured