Skip to main content
Glama

Apple Dev MCP Server 🍎

npm version

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

Related MCP server: Apple Docs MCP

πŸ“¦ Installation

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


Note: This is a community tool and is not affiliated with or endorsed by Apple Inc.

Available Tools

3 tools
fetch_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

    A4.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a completely distinct purpose: fetching documentation, analyzing build errors, and checking Swift evolution proposals. There is no overlap or ambiguity.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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.
      16
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides 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.
      18
      1,052 npm
      1,384
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides 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.
      121
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      36
      40
      MIT