Apple Dev MCP Server
Provides live Apple documentation fetching, Xcode build error analysis, and Swift Evolution proposal checking for Apple development assistance.
README
Apple Dev MCP Server š
A Model Context Protocol (MCP) server for Apple development assistance. Provides tools for fetching live Apple documentation directly from developer.apple.com, analyzing Xcode build errors, and checking Swift Evolution proposal status.
⨠Features
- š“ Live Documentation - Fetches real-time documentation from Apple's official API
- š§ Xcode Error Analysis - Intelligent parsing and fix suggestions for build errors
- š Swift Evolution Tracking - Check proposal status for Swift language features
š§ Tools
| Tool | Description |
|---|---|
fetch_latest_apple_docs |
Fetches live Apple Developer Documentation from developer.apple.com |
xcode_diagnostic_analyzer |
Analyzes Xcode build logs and provides fix-it suggestions |
swift_evolution_check |
Checks Swift Evolution proposal status for language features |
š¦ Installation
Via npm (Recommended)
npm install -g apple-dev-mcp-server
Via npx (No install required)
npx apple-dev-mcp-server
From Source
git clone https://github.com/erdncyz/apple-dev-mcp-server.git
cd apple-dev-mcp-server
npm install
npm run build
Configuration
For Claude Desktop
Add to your ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"apple-dev": {
"command": "node",
"args": ["/Users/YOUR_USERNAME/Desktop/apple-dev-mcp-server/dist/index.js"]
}
}
}
For VS Code with GitHub Copilot
Add to your VS Code settings (.vscode/settings.json or user settings):
{
"github.copilot.chat.mcpServers": {
"apple-dev": {
"command": "node",
"args": ["${userHome}/Desktop/apple-dev-mcp-server/dist/index.js"]
}
}
}
For Other MCP Clients
The server uses stdio transport and can be integrated with any MCP-compatible client:
node /path/to/apple-dev-mcp-server/dist/index.js
Usage Examples
Fetch Apple Documentation
Use the fetch_latest_apple_docs tool to get documentation for NavigationStack
Analyze Build Errors
Use xcode_diagnostic_analyzer to analyze this error:
"cannot find type 'NavigationStack' in scope"
Check Swift Evolution
Use swift_evolution_check to verify if 'nonisolated(unsafe)' is available in Swift 5.10
š“ Live Documentation API
This MCP server uses Apple's undocumented JSON API to fetch real-time documentation:
https://developer.apple.com/tutorials/data/documentation/{framework}/{symbol}.json
Supported Frameworks
SwiftUI, UIKit, Foundation, Observation, SwiftData, Combine, RealityKit, ARKit, CoreData, CoreML, MapKit, CloudKit, HealthKit, StoreKit, AVFoundation, and more.
Example Response
# š Apple Developer Documentation: NavigationStack
> ā
Live documentation from developer.apple.com
**Type:** Structure
**Framework:** SwiftUI
**Availability:** iOS 16.0+, iPadOS 16.0+, macOS 13.0+, tvOS 16.0+, visionOS 1.0+, watchOS 9.0+
## Declaration
@MainActor struct NavigationStack<Data, Root> where Root : View
## Overview
A view that displays a root view and enables you to present additional views...
Development
# Watch mode for development
npm run dev
# Build for production
npm run build
# Run the server
npm start
Project Structure
apple-dev-mcp-server/
āāā src/
ā āāā index.ts # Main MCP server entry point
ā āāā tools/
ā āāā fetch-apple-docs.ts # Live documentation fetcher
ā āāā xcode-diagnostic-analyzer.ts # Build error analyzer
ā āāā swift-evolution-check.ts # Swift Evolution checker
āāā dist/ # Compiled JavaScript
āāā package.json
āāā tsconfig.json
āāā README.md
Requirements
- Node.js >= 18.0.0
- npm or yarn
š License
MIT
š Links
Note: This is a community tool and is not affiliated with or endorsed by Apple Inc.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.