Skip to main content
Glama
Apple Docs 2.0 MCP

Apple Docs 2.0 MCP

English · 日本語 · 한국어 · 简体中文

Apple Docs 2.0 MCP

One MCP for Apple's developer documentation, design guidelines and WWDC sessions.

Building your next iOS app with an agent? Let it read Apple's own docs first: fewer rewrites, fewer interruptions.

npm version MCP tools Node.js MCP Registry skills.sh MIT license

Quick Start · What's New · Installation · Usage · Tools · Architecture · Development

npx -y apple-docs-2.0-mcp


Apple Developer Documentation for AI assistants, through the Model Context Protocol: API reference, articles, sample code, tutorials, the Human Interface Guidelines, App Store Connect Help, the web-service APIs (App Store Connect API, App Store Server API and others) and 1,700 WWDC sessions with their transcripts and code, in Claude, Cursor, VS Code or any MCP client.

Apple Docs 2.0 MCP is a fork of Apple Docs MCP by kimsungwhee, improved with additions, fixes and a new tool.

🚀 Quick Start

Add this to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "apple-docs": {
      "command": "npx",
      "args": ["-y", "apple-docs-2.0-mcp"]
    }
  }
}

Note: If you encounter issues with an old version being used, add @latest to force the latest version:

"args": ["-y", "apple-docs-2.0-mcp@latest"]

Restart Claude Desktop and start asking about Apple APIs!

Claude Code

claude mcp add apple-docs -- npx -y apple-docs-2.0-mcp

Ask your agent

Look up NavigationStack in Apple's docs, then show me the WWDC code that uses it.

Related MCP server: Apple RAG MCP

🆕 What's New in 2.0

Apple Docs 2.0 MCP keeps everything Apple Docs MCP 1.0.26 does and fixes what stopped working or came back incomplete, so your assistant answers from Apple's own documentation instead of guessing.

🔍 Search that returns results

search_apple_docs is fixed: it now uses the same search service Apple's website uses, so your assistant gets the results you would see on developer.apple.com: API reference, articles, sample code, design guidelines, App Store Connect Help and WWDC videos. In the original, searches come back empty since Apple changed its search page.

Ask about an API, a design guideline or an App Store process, and the assistant searches first, then reads the pages it finds.

🗺️ Look up any page by name

A new tool, search_docs_map, finds any of 336,723 pages by name, or part of one, offline:

  • API symbols: types, methods, properties, enum cases, macros

  • articles and sample code

  • Info.plist and entitlement keys

  • web-service endpoints, such as the App Store Connect API's

  • Human Interface Guidelines and App Store Connect Help pages

Use it when you already know a name, from code or an error message, to open its page directly.

📄 Complete documentation pages

Pages come through whole, as on Apple's site: every method and property with its full signature (var view: UIView!, not just view), what a type inherits from and conforms to, related APIs, and the OS versions that support it. 2.0 also reads the Human Interface Guidelines, tutorials, App Store Connect Help, and App Store Connect API endpoints with their parameters and responses.

Ask about any API, guideline or App Store Connect topic, and the assistant reads the full page before it answers or writes code.

🎥 WWDC 2014–2026, with code

1,700 sessions are built in, WWDC26 included, and work offline: transcripts for 1,416 of them, each paragraph with the time it starts, chapters for 480, and code samples for 715, each sample with the time it appears in the video. Sessions are filed under the same topics as on Apple's website.

Ask how a new API works, and the assistant can quote the WWDC session that introduced it, with its code.

📋 Complete framework lists

The original's technology list stopped after 200 entries, so whole categories (Graphics and Games, Media, System, Web) never appeared, and its symbol search mixed in headings with broken links. 2.0 lists everything, marks frameworks in beta, and finds frameworks by subject: "Machine learning" returns Core ML, Create ML, Foundation Models, Vision and more.

Ask which frameworks fit a task, such as machine learning or audio, and the assistant compares the full list.

🛠️ Built to keep working

Up-to-date dependencies, requests that look like a normal browser's and wait their turn (Apple returns empty searches when they come too fast), automatic retries when a request fails, and 207 automated tests. All 63 usage examples in the original's README run without errors.

Nothing to set up: no API key or account.

✨ Features

  • 🔍 Search: Apple's documentation, design guidelines, sample code, App Store Connect Help and WWDC sessions in one search, or one of them alone

  • 🗺️ Docs map: find any page by its title, even a method or property name, without a network request

  • 📚 Documentation pages: Swift and Objective-C APIs, articles, tutorials and web-service references as Markdown

  • 🎨 Human Interface Guidelines: every HIG page, searchable and readable

  • 🏪 App Store Connect Help: product page fields, review, TestFlight, pricing

  • 🔧 Framework symbols: browse a framework's classes, structs, protocols and members by wildcard

  • 🔗 API relationships: related, similar and referenced APIs, and replacements for deprecated ones

  • 📊 Platform compatibility: the version that introduced and deprecated an API on each platform

  • 📋 Technology catalog: every Apple framework and technology by category, beta ones marked

  • 📰 Documentation updates: release notes, framework updates and WWDC "What's new" pages

  • 🎯 Technology overviews: Apple's guides to app design, games, AI and machine learning, data and more

  • 💻 Sample code: every sample project, ranked by Apple's search, and the Sample Code Library by framework or section, with summaries and Download links

  • 🎥 WWDC library: 1,700 sessions from 2014 to 2026 with transcripts, timed code examples, resources and related sessions, offline

📦 Installation

claude mcp add apple-docs -- npx -y apple-docs-2.0-mcp

📖 Claude Code MCP docs

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "apple-docs": {
      "command": "npx",
      "args": ["-y", "apple-docs-2.0-mcp"]
    }
  }
}

📖 Cursor MCP docs

Add to .mcp.json at the root of your workspace, VS Code's portable format:

{
  "mcpServers": {
    "apple-docs": {
      "command": "npx",
      "args": ["-y", "apple-docs-2.0-mcp"]
    }
  }
}

📖 VS Code MCP docs

Add to your Zed settings.json:

{
  "context_servers": {
    "apple-docs": {
      "command": "npx",
      "args": ["-y", "apple-docs-2.0-mcp"],
      "env": {}
    }
  }
}

📖 Zed MCP docs

💬 Usage Examples

"Search for SwiftUI animations"
"Find withAnimation API documentation"
"Search the Human Interface Guidelines for tab bars"
"Search App Store Connect Help for TestFlight external testers"
"Find sample code for Core Data"

🗺️ Docs Map

"Find the page for accessibilityInputLabels"
"Which SwiftUI pages have gauge in their title?"
"Find the App Store Connect API endpoint to create an auto-renewable subscription"

📚 Documentation Access

"Get detailed information about the SwiftUI framework"
"Show me withAnimation API with related APIs"
"Show me NSManagedObjectContext documentation"
"Read the Human Interface Guidelines page on tab bars"
"Show the steps of the SwiftUI tutorial"

🔧 Framework Exploration

"Show me SwiftUI views"
"List all UIKit delegate protocols"
"Get WeatherKit API hierarchy"
"Explore Core ML model loading APIs"

🔗 API Discovery

"Find APIs related to UIViewController"
"Discover alternatives to UIAlertView"
"Get all references from SwiftData documentation"
"Get platform compatibility for SwiftData"

📋 Technologies, Updates and Overviews

"What machine learning frameworks are available?"
"Which technologies are in beta?"
"What's new in SwiftUI?"
"Show me release notes for Xcode"
"Get data management technology overviews"

💻 Sample Code

"Show SwiftUI sample code projects"
"Find sample code for machine learning"
"Get the Food Truck sample"

🎥 WWDC

"Search WWDC videos about SwiftUI"
"Find WWDC sessions on machine learning"
"Show me WWDC 2026 videos"
"Search WWDC transcripts for async/await"
"Show me the transcript for WWDC23 Meet SwiftData"
"Get code examples from WWDC sessions that use SwiftData"
"Find sessions related to WWDC23 Meet SwiftData"
"List all WWDC topics"

🛠️ Available Tools

Tool

Returns

search_apple_docs

Apple's search results in Apple's order, each with its title, Apple's kind, framework, one-line summary and link: documentation, design guidelines, sample code, App Store Connect Help and WWDC sessions; type searches one of them, as Apple's search page filters

search_docs_map 🆕

The pages whose title contains the text, in any case, shortest titles first, each with its kind, Beta or Deprecated mark, technology, the page it sits under and link; optionally within technologies (by name or ID, every page their sidebars list) or of one kind. source: "index" reads one framework's sidebar live instead and matches a wildcard

get_apple_doc_content

One documentation page as Markdown, rendered from its JSON, in Swift or Objective-C: summary, every declaration with its overloads, overview, code, the articles that mention it, a property list key's details, Topics with each member's declaration and summary, Relationships, See Also and availability with Apple's notes; a web-service endpoint with its URL, parameters, body and responses; a tutorial with each step's code and its project files; a sample's Download; an App Store Connect Help article. view gives one part of an API's page: "related", "similar" (what to use instead, led by the pages its deprecation note names), "references" (the pages it links to, with summaries) or "availability"

list_technologies

Four of Apple's catalogs: every framework and technology with its summary, by category; the Sample Code Library, featured samples first; the Updates page's release notes and updates pages; the Technology Overviews' collections and articles. The first two name a TSV of the whole catalog

list_wwdc_videos

The WWDC sessions of a year or topic, or with the text in their title or topic names, each with its link, topics and whether it has a transcript and code; view: "years" counts each year's sessions, view: "topics" lists the topics or one topic's sessions

search_wwdc_content

The WWDC sessions whose transcripts or code contain the text, as typed, most matches first, each passage with the time it starts; view: "examples" lists the code examples that contain the text instead; names a folder of every session as text

get_wwdc_video

One WWDC session with its links and downloads, chapters, timed transcript, timed code examples and related sessions; view: "related" lists the sessions Apple relates to it, then those that share the most of its topics

The documentation tools fetch developer.apple.com; the WWDC tools read the bundled data and search_docs_map reads the docs map, both without a network request.

🏗️ Architecture

Apple-Docs-2.0-MCP/
├── src/
│   ├── index.ts                    # MCP server and its search guide
│   ├── tools/
│   │   ├── handlers.ts             # Tool registration
│   │   ├── search-api.ts           # Apple's search API
│   │   ├── search-docs-map.ts      # Docs map search
│   │   ├── doc-fetcher.ts          # Pages from Swift-DocC JSON
│   │   ├── doc-formatter.ts        # Markdown rendering
│   │   ├── help-pages.ts           # App Store Connect Help (jsdom, turndown)
│   │   ├── list-technologies.ts    # Technology catalog
│   │   ├── search-framework-symbols.ts
│   │   ├── get-related-apis.ts, find-similar-apis.ts, resolve-references-batch.ts, get-platform-compatibility.ts
│   │   ├── get-documentation-updates.ts, get-technology-overviews.ts, get-sample-code.ts
│   │   └── wwdc/                   # WWDC tools and the session, topic and year extractors
│   ├── types/                      # Generated from Swift-DocC's specs and captured responses
│   └── utils/                      # HTTP client, caches, constants, URL conversion
├── scripts/
│   ├── add-wwdc-year.ts            # Adds or refreshes a WWDC year in data/wwdc
│   ├── build-docs-map.ts           # Builds api-map/apple-docs-map.tsv
│   └── capture-responses.ts        # Captures responses to type them
├── data/wwdc/                      # The bundled WWDC sessions
├── api-map/                        # The docs map, Apple's search API (OpenAPI) and captured responses
└── tests/                          # Vitest

🌐 Requests and Caching

Every request goes through one HTTP client: fetch with a Safari's headers, at most 100 requests a minute, and searches one at a time, 15 seconds apart, as Apple answers quicker ones with no results. Each attempt has a 2-minute timeout, with up to 3 retries and backoff on network errors, timeouts and 5xx answers.

Apple's JSON is cached as Apple sends it, by URL, and shared by every tool: a page another tool just read isn't downloaded again, and requests for one URL at the same moment share one download.

Content

Cached for

Pages, catalog pages and the technologies list

30 minutes

Sidebars (framework and catalog indexes)

1 hour

The docs map, parsed

while in use; freed after 30 idle minutes

Searches

not cached

📦 WWDC Data

The WWDC sessions are bundled in data/wwdc/, so the WWDC tools work offline and without rate limits:

  • 📹 1,700 sessions from 2014 to 2026, 1,416 with transcripts, each paragraph timed (all but 6 Apple no longer lists), 715 with code examples, 480 with chapters

  • 🏷️ 19 topics, taken from Apple's topic pages

  • 💾 48 MB of JSON

npx tsx scripts/add-wwdc-year.ts <year> adds a year, or refreshes it, from Apple's pages; a session Apple no longer lists keeps its stored data.

🗺️ Docs Map

api-map/apple-docs-map.tsv lists 336,723 pages (URL, title, kind, technology, group, tree, the technology's ID, Beta or Deprecated marks, and the other technologies whose sidebars list the page) from Apple's navigator indexes, the Human Interface Guidelines and App Store Connect Help's navigation. search_docs_map keeps it in memory while in use. npx tsx scripts/build-docs-map.ts api-map/apple-docs-map.tsv rebuilds it in about 10 minutes.

🧪 Development

git clone https://github.com/mishafyi/Apple-Docs-2.0-MCP.git
cd Apple-Docs-2.0-MCP
npx pnpm@10 install
npx pnpm@10 run build          # tsc into dist/

# Run your build in Claude Code in place of the npm package
claude mcp add apple-docs -- node "$PWD/dist/index.js"

# Checks: types (server and scripts), lint and tests
npx tsc --noEmit && npx tsc -p scripts && npx eslint src scripts && npx vitest run

# Call the built server without an MCP client
npx -y @modelcontextprotocol/inspector --cli node dist/index.js --method tools/call \
  --tool-name search_apple_docs --tool-args-json '{"query":"tab bars","type":"design"}'

# Regenerate the types of Apple's JSON
npm run types:docc             # from Swift-DocC's RenderNode and RenderIndex specs
npm run types:captured         # from captured responses (quicktype)

After a build, restart or reconnect the server in your MCP client.

🙏 Credits

Apple Docs 2.0 MCP builds on Apple Docs MCP by kimsungwhee, whose tools, WWDC data and structure it started from.

🤝 Contributing

Contributions are welcome:

  1. Fork the repository

  2. Create a feature branch: git checkout -b feature/amazing-feature

  3. Commit your changes: git commit -m 'Add amazing feature'

  4. Push to the branch: git push origin feature/amazing-feature

  5. Open a Pull Request

📄 License

MIT License, as the original project: see LICENSE.

⚠️ Disclaimer

This project is not affiliated with or endorsed by Apple Inc. It reads Apple's publicly available developer documentation for educational and development purposes.

Available Tools

7 tools
get_apple_doc_contentGet Apple Doc ContentA
Read-only

Read one page of Apple's developer documentation by its URL: an API, article, sample project, tutorial, Human Interface Guidelines page, App Store Connect Help article or web-service endpoint (App Store Connect API, App Store Server API and the like). Returns the whole page as Markdown: summary, declarations, overview with its code, each member with its declaration and summary, relationships, the versions it's available in on each platform with Apple's notes, and See Also; for a sample, its Download link; for a tutorial, its steps with their code; for an endpoint, its URL, parameters and responses. Use it on a search result's link or a URL you already have; language "occ" reads an API's Objective-C version. A view answers one question about an API in less: "related" (what it inherits, conforms to and lists, with summaries), "similar" (what to use instead, led by the pages its deprecation note names), "references" (the pages it links to, with their summaries) or "availability" (the versions that introduced and deprecated it on each platform).

Inputs: url (required), view, language, searchDepth, +2 more.

get_wwdc_videoGet WWDC VideoA
Read-only

One WWDC session: its title, year and topics; its links, including the video downloads and the documentation it covers; its chapters; the full transcript, each paragraph with its time; every code example with the time it appears; and the sessions Apple lists as related. Transcripts are long: set includeTranscript to false when you need only the code or the links. view "related" lists the sessions related to it instead: those Apple lists, then, across every year, those that share the most of its topics.

Inputs: year (required), videoId (required), view, limit, +2 more.

list_technologiesList TechnologiesA
Read-only

Browse four of Apple's catalogs. catalog "technologies": every Apple framework and technology, grouped by Apple's categories, each with its link, languages, tags and Apple's one-line summary, beta ones marked; use it to see which frameworks fit a task (category "Machine learning") or to get a framework's exact name and link. catalog "samples": Apple's Sample Code Library, each sample with its framework, sections and summary, featured ones first, then by the library's sections ("WWDC26" holds that year's); to find a sample by what it does, search_apple_docs with type "sample" ranks every sample on the site, including ones this library leaves out. catalog "updates": Apple's Updates page as links with summaries, each framework's updates page ("SwiftUI updates"), the release notes of each OS, Xcode and Safari, and each past WWDC's What's new page; use it to find what changed in a framework or a release. catalog "overviews": Apple's Technology Overviews, guides to which technologies to use for a goal (app design and UI, Liquid Glass, games, AI and machine learning and more), the collections with their summaries and the articles in each; use it to choose an approach before choosing APIs. Read any entry with get_apple_doc_content. The technologies and samples answers also name a TSV of the whole catalog, one entry a line, for a grep the parameters can't make.

Inputs: limit, catalog, category, language, +5 more.

list_wwdc_videosList WWDC VideosA
Read-only

List WWDC sessions, every year since 2014, by year, topic or text in the title or topic names: each with its title, link, topics, and whether it has a transcript and code, newest year first. Use it to browse sessions; search_wwdc_content finds what sessions said or showed, and get_wwdc_video reads one. view "years" counts each year's sessions; view "topics" lists the WWDC topics with their IDs and session counts, or one topic's sessions.

Inputs: view, year, limit, topic, +2 more.

search_apple_docsSearch Apple DocsA
Read-only

Search Apple's developer site the way developer.apple.com/search does, best match first: API reference, articles, sample code, the Human Interface Guidelines, App Store Connect Help and WWDC sessions. Use it to find pages by what they do or are about ("SwiftUI haptic feedback", "TestFlight external testers"); for a name you already know, search_docs_map answers at once. Returns links, each with its title, framework, kind and one-line summary; read a page with get_apple_doc_content, a session with get_wwdc_video. For sample code, type "sample" ranks every sample project on the site, including ones Apple's Sample Code Library doesn't list; for WWDC sessions, type "video". Searches run one at a time, 15 s apart, so several in a row are slow.

Inputs: query (required), type.

search_docs_mapSearch Docs MapA
Read-only

Find any page of Apple's documentation by its title, at once: API symbols (types, methods, properties, enum cases, macros), articles, samples, web-service endpoints, Info.plist and entitlement keys, Human Interface Guidelines and App Store Connect Help pages. Use it when you know a name or part of one, from code, an error or another page. Returns each match's title, kind, Beta or Deprecated mark, technology, the page it sits under (which tells same-named members apart) and link, shortest titles first; read one with get_apple_doc_content. It matches titles only, so to search by what something does, use search_apple_docs. Pages Apple added after the map's date, given in each answer, are missing: source "index" reads one framework's sidebar live and matches a wildcard ("*View" structs in SwiftUI, "*Delegate" protocols in UIKit), to see a family of APIs or what's newer than the map, without summaries.

Inputs: query (required), kind, limit, source, +1 more.

search_wwdc_contentSearch WWDC ContentA
Read-only

Search what WWDC sessions said and showed, every year since 2014: the full text of their transcripts and their code. Returns the sessions whose transcript or code contains the query, most matches first, each with its count of matches and its first matching passages and code excerpts, with the time each comes up. Use it to find the sessions that cover an API or a technique; read one with get_wwdc_video. view "examples" lists the code itself instead: each example that contains query (pass the type or attribute the code uses, "LanguageModelSession", "@Generable"), with its session, year and time, newest year first. The answer also names a folder of every session as text, for a grep across sessions.

Inputs: query (required), view, year, limit, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 7 tools

    Disambiguation4/5

    The retrieval tools split cleanly by source (docs pages vs WWDC sessions vs catalogs), but search_apple_docs and search_docs_map both find documentation and their boundary (by-topic vs by-title) must be read carefully to avoid misselection. list_technologies also overlaps with search_apple_docs for sample code, though descriptions do acknowledge this. Mostly distinct purposes with minor friction.

    Naming Consistency4/5

    All names follow a verb_noun pattern (get_*, list_*, search_*). Minor deviations: get_apple_doc_content uses singular 'doc' while search_apple_docs uses plural 'docs', and search_docs_map drops the 'apple' prefix used by its sibling search tool. Still predictable and readable.

    Tool Count5/5

    Seven tools is well-scoped for a read-only Apple documentation server. Each tool earns its place: two fetchers, two listers, three searchers, and none feel redundant or padded.

    Completeness5/5

    The surface covers the full research lifecycle: title lookup, full-text search, browsing catalogs, and reading pages, WWDC videos and transcripts. Since the domain is read-only documentation access, no create/update/delete operations are needed, and no obvious gaps remain.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides AI agents with instant access to official Apple developer documentation, Swift programming guides, design guidelines, and Apple Developer YouTube content including WWDC sessions. Uses advanced RAG technology with semantic search and AI reranking to deliver accurate, contextual answers for Apple platform development.
      7
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides AI agents with instant access to official Apple developer documentation, Swift docs, design guidelines, and Apple Developer YouTube content through advanced semantic and hybrid search capabilities. Features AI-powered reranking for accurate retrieval of Apple platform knowledge including iOS, macOS, watchOS, tvOS, and visionOS development resources.
      5
      -
    • 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,152 npm
      1,388
      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.
      117
      MIT