Apple Dev MCP Server
Fetches live Apple Developer Documentation from developer.apple.com, providing access to framework documentation, symbol declarations, and availability information for Apple platforms.
Checks Swift Evolution proposal status to verify availability of Swift language features.
Analyzes Xcode build logs and provides intelligent fix-it suggestions for common build errors.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Apple Dev MCP Server fetch documentation for NavigationStack"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Fetches live Apple Developer Documentation from developer.apple.com |
| Analyzes Xcode build logs and provides fix-it suggestions |
| Checks Swift Evolution proposal status for language features |
Related MCP server: Apple Docs MCP
π¦ Installation
Via npm (Recommended)
npm install -g apple-dev-mcp-serverVia npx (No install required)
npx apple-dev-mcp-serverFrom Source
git clone https://github.com/erdncyz/apple-dev-mcp-server.git
cd apple-dev-mcp-server
npm install
npm run buildConfiguration
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.jsUsage Examples
Fetch Apple Documentation
Use the fetch_latest_apple_docs tool to get documentation for NavigationStackAnalyze 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}.jsonSupported 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 startProject 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.mdRequirements
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.
Available Tools
3 toolsfetch_latest_apple_docsA
Fetches the latest Apple Developer Documentation for a specific API, framework, or symbol.
Examples:
"NavigationStack" - SwiftUI navigation
"SwiftData" - Data persistence framework
"RealityKit" - AR/VR framework
"async/await" - Swift concurrency
Returns official documentation summary, code examples, and availability information.
Inputs: query (required), framework, includeExamples.
swift_evolution_checkA
Checks the status of Swift language features against Swift Evolution proposals.
Use this to verify:
If a feature is available in a specific Swift version
The proposal number and status (implemented, in review, accepted)
Required compiler flags or availability annotations
Migration guidance from older syntax
Examples: 'nonisolated(unsafe)', 'typed throws', 'parameter packs', 'macros'
Inputs: feature (required), swiftVersion.
xcode_diagnostic_analyzerA
Analyzes Xcode build logs and error messages, providing:
Error classification and explanation
Fix-it suggestions matching Apple's recommendations
Related documentation links
Common solutions for the specific error
Supports Swift compiler errors, linker errors, and build system errors.
Inputs: buildLog (required), context, errorCode.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool has a completely distinct purpose: fetching documentation, analyzing build errors, and checking Swift evolution proposals. There is no overlap or ambiguity.
All tool names follow a consistent snake_case pattern with descriptive names combining verbs and nouns (e.g., fetch_latest_apple_docs). No mixing of conventions or vague terms.
Three tools is a small but well-scoped set for an Apple development helper. Each tool covers a core area without being overly narrow, though adding a few more (e.g., simctl, provisioning) could be justified.
The tools address documentation, error diagnosis, and language evolutionβkey areas for Apple developers. Missing tools like provisioning profiles or Xcode version management are minor gaps, and the current set avoids dead ends.
Related MCP Connectors
Search and read Apple developer documentation, HIG, and WWDC transcripts as Markdown.
Apple developer docs and WWDC transcripts with RAG retrieval and Jev relevance ranking.
Ship a new iOS app from chat. AI runs App Store Connect, builds, release, and submission through Apβ¦
Proof and repair for Apple coding agents: validate Swift, run Xcode evidence, and repair failures.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to Apple's development documentation ecosystem including hidden Xcode docs, Swift Evolution proposals, GitHub repositories, and WWDC session notes. Enables developers to search and retrieve advanced Apple development resources not available through public channels.16MIT
- AlicenseAqualityDmaintenanceProvides access to Apple's official developer documentation, frameworks, APIs, and WWDC session transcripts across all Apple platforms. It enables AI assistants to search technical guides, sample code, and platform compatibility information using natural language queries.181,052 npm1,384MIT
- AlicenseNot gradedqualityBmaintenanceProvides access to Apple documentation and WWDC transcripts with semantic, keyword, and hybrid search capabilities, enabling developers to quickly find relevant code examples and technical information.121MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to review Swift code, scaffold new iOS apps, and build, test, and preview them in the Xcode Simulator using local Apple guides and source references.3640MIT