apple-docs
One-line summary: This server gives your Claude Code session live access to Apple Developer Documentation, Apple Design/HIG resources, and the WWDC video archive (2014–2026) — searching, reading, and cross-referencing APIs instead of answering from memory.
Search Apple documentation (
search_apple_docs) for APIs, frameworks, guides and code snippets; typically 5–25 s per query, cached 10 min.Read full doc pages (
get_apple_doc_content) with optional reference resolution, inheritance/conformance, similar-API discovery and platform availability analysis.Apple Design & HIG: search HIG/design pages and the Design Resources catalog (
search_apple_design_docs,list_apple_design_resources), read pages (get_apple_design_content), view visual examples as image blocks (get_apple_design_examples), and download Apple-hosted templates, fonts and tools into a local cache (download_apple_design_resource).Explore frameworks: list Apple technologies by category/language/beta (
list_technologies) and enumerate symbols inside a framework with wildcard and type filters (search_framework_symbols).Analyze API relationships: related/inherited/conforming APIs (
get_related_apis), batch-resolve every reference on a page (resolve_references_batch), check platform/OS availability and deprecations (get_platform_compatibility), and find modern replacements (find_similar_apis).Track what's new: WWDC announcements, technology updates and release notes (
get_documentation_updates), plus curated topic guides (get_technology_overviews) and complete Apple sample projects (get_sample_code).WWDC archive: list sessions by year/topic/code availability (
list_wwdc_videos), full-text search transcripts and code (search_wwdc_content), fetch an entire session's transcript and examples (get_wwdc_video), browse code examples, topic IDs, related sessions, and available years (get_wwdc_code_examples,browse_wwdc_topics,find_related_wwdc_videos,list_wwdc_years) — data downloads once (~11 MB) and works offline thereafter.Optional semantic ranking (
select/maxResults) via the paid Jev service on doc and WWDC searches, narrowing results to the top matches with relevance scores.
Provides search and retrieval of Apple Developer Documentation, including frameworks, APIs, SwiftUI, UIKit, WWDC videos, and code examples for iOS, macOS, watchOS, tvOS, and visionOS, along with Apple Human Interface Guidelines and Design Resources.
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-docs how do I use @Observable in SwiftUI?"
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.
Emasoft Apple Documentation Plugin
Apple Developer Documentation for Claude Code: search iOS, macOS, watchOS, tvOS and visionOS documentation, frameworks, APIs, SwiftUI, UIKit and WWDC videos, and get Swift/Objective-C code examples, API references and technical guides directly in your Claude Code session. The plugin bundles an MCP (Model Context Protocol) server, so installing the plugin is all it takes.
The plugin also ships 13 skills (/emasoft-apple-documentation-plugin:eadp-<name>): Apple documentation search, Apple SDK release notes per platform, and Claude Code docs search and changelog (see Skills).
This plugin (emasoft-apple-documentation-plugin) is based on kimsungwhee/apple-docs-mcp by kimsungwhee (MIT license). It is an independent fork, repackaged as a Claude Code plugin; it is not published to npm.
Table of contents
Quick start
Requirements
node(Node.js 22 or later) on yourPATH. Claude Code runs the bundled server withnode, and its native installer does not ship Node.js. Check withnode --version.About 11 MB of disk space for the WWDC data, downloaded once the first time a WWDC tool is used (see WWDC Data).
From a Claude Code session
/plugin marketplace add Emasoft/emasoft-plugins
/plugin install emasoft-apple-documentation-plugin@emasoft-pluginsFrom a terminal
claude plugin marketplace add Emasoft/emasoft-plugins
claude plugin install emasoft-apple-documentation-plugin@emasoft-plugins --scope userRestart Claude Code (or run /reload-plugins) to activate the plugin, then run /mcp to check that the apple-docs server of this plugin is connected.
Update and uninstall
claude plugin update emasoft-apple-documentation-plugin@emasoft-plugins
claude plugin uninstall emasoft-apple-documentation-pluginTroubleshooting
The server fails to start, or
/mcpshows it as failed? Claude Code launches the server with the commandnode. GUI apps do not always inherit thePATHof your shell: runwhich nodein a terminal, and make sure that directory is on thePATHof the process that starts Claude Code. The plugin needs Node.js 22 or later.search_apple_docsreturning nothing, or erroring? It depends on an undocumented Apple search backend (devintserv.msc.sbz.apple.com) that the search page of developer.apple.com uses internally. If Apple changes its response shape,search_apple_docscan break until this plugin catches up.get_apple_doc_content,search_framework_symbolsand the WWDC tools do not depend on that endpoint and keep working.search_apple_docsfeels slow? Apple streams the full result set, so a search typically takes 5 to 25 seconds (median about 10). Repeating the same query within 10 minutes is answered from a local cache.
Related MCP server: Apple Docs MCP
Features
Smart Search: Intelligent search across Apple Developer Documentation for SwiftUI, UIKit, Foundation, CoreData, ARKit, and more
Complete Documentation Access: Full access to the Apple JSON API for Swift, Objective-C, and framework documentation
Apple Design and HIG Access: Read Human Interface Guidelines JSON, Apple Design pages, and Design Resources catalog entries
Design Resource Previews: Return Apple-provided HIG images and resource thumbnails as MCP image content blocks
Downloadable Design Resources: Download direct Apple-hosted templates, fonts, tools, and archives into a local MCP resource cache
Framework Index: Browse hierarchical API structures for iOS, macOS, watchOS, tvOS, visionOS frameworks
Technology Catalog: Explore Apple technologies including SwiftUI, UIKit, Metal, Core ML, Vision, and ARKit
Documentation Updates: Track WWDC 2025/2026 announcements, iOS 27, macOS 27, and latest SDK releases
Technology Overviews: Comprehensive guides for Swift, SwiftUI, UIKit, and all Apple development platforms
Sample Code Library: Swift and Objective-C code examples for iOS, macOS, and cross-platform development
WWDC Video Library: Search WWDC 2014-2026 sessions with transcripts, Swift/SwiftUI code examples, and resources (the data is downloaded once, on first use)
Related APIs Discovery: Find SwiftUI views, UIKit controllers, and framework-specific API relationships
Platform Compatibility: iOS 13+, macOS 10.15+, watchOS 6+, tvOS 13+, visionOS compatibility analysis
High Performance: Optimized for Xcode, Swift Playgrounds, and AI-powered development environments
Smart UserAgent Pool: Intelligent UserAgent rotation system with automatic failure recovery and performance monitoring
Multi-Platform: Complete iOS, iPadOS, macOS, watchOS, tvOS, and visionOS documentation support
Beta and Status Tracking: Beta and newly released APIs, deprecated UIKit methods, new SwiftUI features tracking
Usage examples
Ask Claude in plain language; it chooses the right tool. Examples:
Search and documentation access
"Search for SwiftUI animations"
"Find withAnimation API documentation"
"Look up async/await patterns in Swift"
"Show me UITableView delegate methods"
"Search Core Data NSPersistentContainer examples"
"Find AVFoundation video playback APIs"
"Get detailed information about the SwiftUI framework"
"Show me withAnimation API with related APIs"
"Get platform compatibility for SwiftData"
"Access UIViewController documentation with similar APIs"
"Show me NSManagedObjectContext documentation"
"Get URLSession async/await methods"Apple Design and HIG
"Search Apple Design docs for layout"
"Read the HIG page about color"
"List Apple Design Resources for iOS templates"
"Download the Apple Design resource with this resourceId"
"Show Apple Design examples for the layout HIG page"Frameworks, APIs and platforms
"Show me SwiftUI framework API index"
"List the UIKit classes whose name matches UIView*"
"Browse ARKit framework structure"
"Get WeatherKit API hierarchy"
"Explore Core ML model loading APIs"
"Show Vision framework image analysis APIs"
"Find APIs related to UIViewController"
"Show me similar APIs to withAnimation"
"Get all references from SwiftData documentation"
"Discover alternatives to Core Data NSManagedObject"
"List all Beta frameworks in the latest iOS"
"Show me Graphics & Games technologies"
"What machine learning frameworks are available?"
"Analyze platform compatibility for Vision framework"Updates, overviews and sample code
"Show me the latest WWDC updates"
"What is new in SwiftUI?"
"Get technology updates for iOS"
"Show me release notes for Xcode"
"Find beta features in the latest updates"
"Show me technology overviews for app design and UI"
"Get comprehensive guides for games development"
"Explore AI and machine learning overviews"
"Show me iOS-specific technology guides"
"Get data management technology overviews"
"Show SwiftUI sample code projects"
"Find sample code for machine learning"
"Get UIKit example projects"
"Show featured WWDC sample code"
"Find Core Data sample implementations"
"Show only beta sample code projects"WWDC videos
"Search WWDC videos about SwiftUI"
"Find WWDC sessions on machine learning"
"Show me WWDC 2026 videos"
"Search for async/await WWDC talks"
"Find WWDC videos about Swift concurrency"
"Show accessibility-focused WWDC sessions"
"Get details for WWDC session 10176"
"Show me the transcript for WWDC23 session on SwiftData"
"Get code examples from WWDC video 10019"
"Show resources from Vision Pro WWDC session"
"Get transcript for the Meet async/await in Swift session"
"List all WWDC topics"
"Show me Swift topic WWDC videos"
"Get WWDC videos about developer tools"
"List WWDC videos from 2023"
"Show all SwiftUI and UI frameworks sessions"
"Get machine learning WWDC content"Advanced usage
"Find related APIs for @State with platform analysis"
"Resolve all references from SwiftUI documentation"
"Get platform compatibility analysis for Vision framework"
"Find similar APIs to UIViewController with deep search"Skills
The plugin ships 13 skills. Invoke one as /emasoft-apple-documentation-plugin:eadp-<name> (eadp stands for Emasoft Apple Documentation Plugin). Every skill except eadp-the-skills-menu (a catalog that agents load to pick a skill) reads documentation live through the bundled apple-docs MCP server and cites the pages it relies on instead of answering from memory.
Skill | Invocation | What it does |
|
| Looks up official Apple documentation: Swift, SwiftUI, UIKit, AppKit and Objective-C APIs, availability and deprecations, Human Interface Guidelines, design resources, sample code, technology overviews and WWDC sessions |
|
| iOS SDK release notes (from 13.1 on, one shared "iOS & iPadOS" page per version) |
|
| iPadOS SDK release notes (an alias of the shared "iOS & iPadOS" page; iPadOS 16 has its own page) |
|
| macOS SDK release notes (AppKit and Foundation topic pages are excluded and counted in the header) |
|
| Safari release notes (Safari Technology Preview is not covered) |
|
| Swift toolchain notes read from the Xcode release notes; the argument is an Xcode version, never a Swift version |
|
| tvOS SDK release notes |
|
| visionOS SDK release notes (the first page is visionOS 1.0; Apple has published no visionOS patch page) |
|
| watchOS SDK release notes |
|
| Xcode release notes, including their Swift toolchain sections |
|
| Claude Code changelog for one version, an interval or the newest |
|
| Looks up the official Claude Code documentation (code.claude.com/docs) instead of answering from memory |
| not user-invocable | Catalog of the skills of this plugin; agents load it with |
Release-notes skills
The nine Apple SDK changelog skills (eadp-apple-*-sdk-changelog) each take a version (18, 18.4), an interval (17-18), latest N or nothing for the newest, and read the release notes through the one tool get_apple_sdk_changelog. This is a deterministic read: no Jev, no cost. The version must exist for that platform (for example watchOS has no 18). The Swift skill takes an Xcode version, such as 26, and reads the Swift toolchain notes from the Xcode release notes.
/emasoft-apple-documentation-plugin:eadp-cc-changelog <semver version or interval, empty = most recent> reads the Claude Code changelog for one version (2.1.300), an interval (2.1.300-2.1.310) or the newest version through get_claude_code_changelog.
Tools
The bundled MCP server is named apple-docs inside the plugin, so Claude Code shows each tool as mcp__plugin_emasoft-apple-documentation-plugin_apple-docs__<tool>: the tool search_apple_docs appears as mcp__plugin_emasoft-apple-documentation-plugin_apple-docs__search_apple_docs. You never have to type these names: describe what you need and Claude picks the tool.
Tool | Description | Key Features |
| Search Apple Developer Documentation | Official search API, find specific APIs, classes, methods |
| Get detailed documentation content | JSON API access, optional enhanced analysis (related/similar APIs, platform compatibility) |
| Search Apple Design and HIG content | HIG JSON references, Design pages, Design Resources catalog |
| Read Apple Design and HIG pages | HIG JSON rendering, HTML fallback for |
| List Apple Design Resources | Stable resource IDs, category/platform/format filters, previews and links |
| Download direct Apple Design resources | Local cache, MCP |
| Return Apple Design visual examples | MCP |
| Browse all Apple technologies | Category filtering, language support, beta status |
| Search symbols in specific framework | Classes, structs, protocols, wildcard patterns, type filtering |
| Find related APIs | Inheritance, conformance, "See Also" relationships |
| Batch resolve API references | Extract and resolve all references from documentation |
| Platform compatibility analysis | Version support, beta status, deprecation info |
| Discover similar APIs | Official Apple recommendations, topic groupings |
| Track Apple documentation updates | WWDC announcements, technology updates, release notes |
| Get technology overviews and guides | Comprehensive guides, hierarchical navigation, platform filtering |
| Browse Apple sample code projects | Framework filtering (with limitations), keyword search, beta status |
| Browse WWDC video sessions | Offline transcripts and code, topic/year filtering |
| Full-text search of WWDC transcripts and code | Specific discussions, API mentions, implementation examples |
| Get a complete WWDC session | Full transcript, code examples, resources |
| Browse code examples from WWDC sessions | Implementation patterns with session context |
| List WWDC topic categories with their IDs | Topic IDs usable as filters in |
| Discover sessions related to a video | Prerequisites, follow-up sessions, similar talks |
| List all available WWDC years | Conference years with video counts and statistics |
| Search the Claude Code documentation | Live index of code.claude.com/docs plus llms-full.txt, returns a short answer and a report file with the full section text, requires Jev |
| Read a Claude Code docs page or section | Page URL or one section by its sectionId |
| Read specific Claude Code versions from the changelog | Exactly one of |
| Search the Claude Code changelog by meaning and return the best matching versions |
|
Technical architecture
emasoft-apple-documentation-plugin/
├── .claude-plugin/plugin.json # Claude Code plugin manifest
├── .mcp.json # Registers the bundled MCP server (apple-docs)
├── servers/apple-docs/
│ ├── index.js # Committed esbuild bundle, the server users run
│ └── THIRD_PARTY_LICENSES.txt # Licenses of the bundled dependencies
├── src/ # TypeScript sources of the server
│ ├── index.ts # MCP server entry point with all tools
│ ├── tools/ # MCP tool implementations (docs, design, WWDC, ...)
│ └── utils/ # Cache, HTTP client, UserAgent pool, error handling
├── scripts/ # build-bundle.mjs and publish.py
├── tests/ # Jest test suites
└── package.json # Development dependencies and scripts (private)Performance features
Memory-Based Caching: Custom cache implementation with automatic cleanup and TTL support
Smart UserAgent Pool: Intelligent rotation system with automatic failure recovery and performance monitoring
Dynamic Headers: Realistic browser headers generation (Accept, Accept-Language, User-Agent)
Smart Search: Official Apple search API with enhanced result formatting
Enhanced Analysis: Optional related APIs, platform compatibility, and similarity analysis
Error Resilience: Graceful degradation with comprehensive error handling
Type Safety: Full TypeScript with Zod runtime validation
Zero Runtime Dependencies: The server ships as one bundled file, with no node_modules to install
Caching strategy
Content Type | Cache Duration | Cache Size | Reason |
API Documentation | 30 minutes | 500 entries | Frequently accessed, moderate updates |
Search Results | 10 minutes | 200 entries | Dynamic content, user-specific |
Framework Indexes | 1 hour | 100 entries | Stable structure, less frequent changes |
Technologies List | 2 hours | 50 entries | Rarely changes, large content |
Documentation Updates | 30 minutes | 100 entries | Regular updates, WWDC announcements |
Apple Design Content | 2 hours | 100 entries | HIG and Design pages are stable during a session |
Apple Design Resources | 2 hours | 20 entries | Catalog metadata changes less often than page reads |
Downloaded Apple Design files are cached outside the plugin directory: in a temporary directory created per server process, or in the directory named by APPLE_DOCS_MCP_CACHE_DIR (see Configuration). They are exposed through MCP resources/list and resources/read.
WWDC data
The WWDC video data (2014-2026) is not shipped with the plugin. The first call of a WWDC tool downloads one archive (about 11 MB: 1,400+ sessions with full transcripts, 19 topic categories) from the plugin's data release, checks its SHA-256 and extracts it into ${CLAUDE_PLUGIN_DATA}/wwdc-data/v2 (or into wwdc-data/v2 under APPLE_DOCS_MCP_CACHE_DIR, or under ~/.cache/apple-docs-mcp, when CLAUDE_PLUGIN_DATA is not set). Later calls, in any session, read it from disk. Starting the server and every other tool never download it. Videos, slides and sample projects are never downloaded: the WWDC tools only return their links.
To install the data offline or on a machine without access to GitHub, extract the archive yourself and point the plugin at it:
mkdir -p /path/to/wwdc-data
curl -L -o wwdc-data.tar.gz https://github.com/Emasoft/apple-docs-wwdc-data/releases/download/v2/wwdc-data.tar.gz
tar xzf wwdc-data.tar.gz -C /path/to/wwdc-data
export APPLE_DOCS_MCP_WWDC_DATA_DIR=/path/to/wwdc-dataThe SHA-256 of the archive is 9e436884c29acb8ccef0b1077bc0713e1d380be513ba174cbf865fa7f17bc3bb. If the download fails, the WWDC tools report an error naming the URL, the target directory and APPLE_DOCS_MCP_WWDC_DATA_DIR.
Note: Update the plugin to get a newer WWDC data release.
Configuration
The server reads these optional environment variables when it starts. Set them in the environment of the process that starts Claude Code, because a Claude Code launched from the GUI does not see variables exported in a shell profile (observed on Claude Code 2.1.285; not documented by Anthropic). To set them, either start Claude Code from a terminal where they are exported, or, on macOS, run launchctl setenv NAME value and then restart Claude Code (launchctl values do not survive a reboot).
Variable | Description | Default |
| Directory for downloaded Apple Design files (and, when | A temporary directory per server process (WWDC data: |
| Directory with an already extracted WWDC data archive; nothing is downloaded when it is set (see WWDC Data) | Unset: the data is downloaded on first use |
| Size limit of the download cache, in bytes | 1073741824 (1 GiB) |
| Set to | Off |
| Accept-Language header sent to Apple servers |
|
| Set to | Off |
| Set to | Off |
| Set to | Off |
| Set to | Off |
| Default ranking route of |
|
| Jev semantic selection is on by default when a provider key is found; set to | Unset (Jev on when a key is found) |
| Jev provider: | Auto-detected |
| API key for the | None |
| API key for the | None |
| URL and API key for the | None |
The server includes a pool of 12+ pre-configured UserAgent strings (Chrome, Firefox, Safari and Edge on macOS, Windows and Linux) that it rotates with automatic failure recovery.
Jev semantic selection (on by default when a key is set, paid)
search_wwdc_content and search_apple_docs can use the Jev relevance-scoring service to narrow their results to the few that best match the query (5 by default, up to 20), each printed with a relevance score. It is on by default whenever a key is found: OPENROUTER_API_KEY is used if set, else TYPESAFE_API_KEY; or choose a provider with APPLE_DOCS_MCP_JEV_PROVIDER and set that provider's key (TYPESAFE_API_KEY, OPENROUTER_API_KEY, or JEV_GATEWAY_URL plus JEV_GATEWAY_API_KEY; gateway is used only when set explicitly). Any such key in the environment means every search spends Jev credit; the server prints one line on stderr at start naming the provider and the off switch. Set APPLE_DOCS_MCP_JEV_RERANK=0 to turn Jev off whatever keys exist. APPLE_DOCS_MCP_JEV_RERANK=1 with no resolvable provider and any value other than 0 or 1 are errors. With no key found, Jev is off and the Apple and WWDC searches run without selection.
If you exported one of these keys for another tool and do not want Jev, set APPLE_DOCS_MCP_JEV_RERANK=0.
Ranking route: both tools accept
ranking:classicorrelevance. The default isrelevance;APPLE_DOCS_MCP_RANKINGoverrides it and the tool argument overrides both.classicis the original behaviour: the original search and grouping forsearch_apple_docs, the substring match forsearch_wwdc_content.relevanceis wide-recall. Forsearch_apple_docswith Jev selection off, it runs the same single search asclassicand only changes the ordering and grouping of the results; the wide recall happens only with selection on: up to 6 sub-queries derived from your query plus pages from the same documentation hierarchy as the best hits, from which Jev chooses. Forsearch_wwdc_contentit uses relaxed matching (any query word, prefixes, one typo tolerated) ranked by how many query words a video covers. The latency figures below are for the first call after the server starts (each query ran in a fresh server process, so every figure includes starting the server and its first network connections); they are not per-search times. A running MCP server pays that start-up cost only once, and later calls in the same session are faster.search_apple_docs(real Apple requests): median of about 12 s on both routes with selection off and about 15 s onrelevancewith selection on (p90 about 25 s).search_wwdc_contentruns on local data; on that first callrelevancetakes about 1.5-3x as long asclassic(median about 8 s against 5 s with selection off). The worst case is the first read of the data files from disk: up to about 45 s for a broad one-word query such as "SwiftUI", where the same query took about 8-11 s once the files were cached. The 120 s deadline is the ceiling forrelevancewith selection on.Top result and evaluation: on the
relevanceroute,search_apple_docsselection always keeps the direct top result of your original query first (marked as pinned) and lets Jev fill the remaining slots; passselect: falsefor the full list. Withranking: 'classic'and selection on,search_apple_docsprints the original unpinned, grouped output. In a 20-query evaluation, WWDC selection put the right session in the top 5 for 8 of 8 queries versus 5 of 8 without it, while for Apple documentation the direct top result was usually already right, which is why therelevanceroute always keeps it.Parameters: both tools accept
select(trueorfalse; the default is on whenever Jev is on, see above) andmaxResults(1-20, default 5, ignored when selection is off). For list-style requests ("all X", "list every Y") passmaxResults: 20orselect: false.select: truewhile Jev is not enabled is an error.Weak and no-strong-match notices: if the best score is below 0.50, the results carry the note "Weak match: the best score is ... These results are related to the query, not a confident answer; try shorter identifier-level queries." If no result scores above 0.30, only the best result (for
search_apple_docson therelevanceroute: the pinned top result plus Jev's best guess) is returned with a "No strong match" note. Onlysearch_apple_docson therelevanceroute states the 0.30 threshold and the best score in that note. The exact sentence differs by tool and route: theclassicroute ofsearch_apple_docssays "no result scored above the relevance threshold" and ends "Treat the result below as a weak guess.", andsearch_wwdc_contentprints "no video scored above the relevance threshold" on both routes.limitinsearch_wwdc_content: with selection on,limitis the recall width: that many videos, ranked by match count, are scored by Jev (maximum 256). Whenlimitis omitted, every candidate up to 256 is scored. With selection off,limitkeeps its meaning (default 20, maximum 100). When the scan matched more videos than were scored, the header reads "Selected N of M scored (of T matching)".What is sent, and to whom: with selection on, the query and, for each candidate, its title, summary (Apple documentation results only), URL, topics and, for WWDC, an excerpt of its first match (transcript or code) are sent to the provider you chose:
api.typesafe.aifortypesafe,openrouter.aiforopenrouter, or the URL inJEV_GATEWAY_URLforgateway, together with your API key. Nothing is sent when selection is off.Cost: it is a paid service, billed by the provider to your key. Measured order of magnitude: about $0.0001 for about 17 Apple documentation results, about $0.001 for about 90 WWDC candidates, up to about $0.003 at the 256-candidate maximum; a search with Jev selection on typically costs well under a cent. On the
classicroute, selection typically adds under 2 seconds; at most about 15 seconds when the provider is slow or retrying. Therelevanceroute is slower (see Ranking route).Fail fast: when selection is on, any failure (a missing key, an invalid provider, a network or provider error after retries) returns an error instead of unranked results. Pass
select: falseto get the unfiltered results.
The selection design is ported from jgrep (MIT).
Claude Code docs search (requires Jev)
search_claude_code_docs searches the Claude Code docs: the index https://code.claude.com/docs/llms.txt (fetched live on every call) and llms-full.txt (about 11 MB, cached on disk and revalidated with If-Modified-Since on every call; a cold start downloads it). It returns a short answer and writes the full text of the matching sections to a report file. get_claude_code_doc_content reads a page URL (https://code.claude.com/docs/en/....md) or one section by its sectionId. get_claude_code_changelog reads the live changelog and returns only the requested version blocks (latest N, one version, or a fromVersion/toVersion range); reading the changelog page with get_claude_code_doc_content (whole page or any sectionId) is refused.
search_claude_code_changelog searches the live changelog by meaning with one Jev pass and returns the best matching versions (default: the newest 50 versions; widen with allVersions: true or a fromVersion/toVersion range; maxResults counts versions). Measured 2026-10-27: about 0.6 cents per default search, about 1.3 to 1.5 cents over all versions. With source: "extended" (the unofficial Piebald-AI changelog, CC BY 4.0) it searches whole item windows of 6 KB; the default scope is the newest 50 versions, or fewer when the pool would pass its caps (1,024 windows, 4 MiB), and the response header names the versions searched. badges (documented, wrong-version, undocumented) keep only those items; tags, categories, fromDate/toDate and page are rejected with it. Measured 2026-11-28 (Jev-reported): about 3 cents per default extended search, an estimated 4 cents at most at the caps (not measured). Each listed version has a ready get_claude_code_changelog call whose page is valid for the README revision (ETag) named in the response header. It needs Jev, like search_claude_code_docs.
maxPages(1 to 10, default 3) is the number of pages the Jev page pass keeps, scored by their headings. The 20 best sections of the whole docs by BM25 are added regardless. One Jev pass then scores the windows of all those sections.maxResults(1 to 20, default 5) is the number of sections listed. A value outside the range is an error. The query is limited to 2,000 characters after JSON encoding.The short answer has the query line;
Best match: strong | weak | none (best score X);Report: <absolute path>; one line per listed section (page > heading path | sectionId | score | report lines A-B (best window C-D)); the changelog pointer line when the changelog matches; the best-scoring window of section #1, verbatim and labelled as a partial view; and the Jev usage line.strongmeans a best score of at least 0.5.weak(at least 0.3) andnoneare indeterminate: read the pointed report lines before concluding. A band is never a verdict that the docs do not cover the topic.The report file is Markdown. It holds the full text of every reported section, code blocks intact and never truncated, grouped by page: every section scoring at least 0.3 (at least the best one, at most 4 times
maxResults). The folder isAPPLE_DOCS_MCP_REPORTS_DIR(must be absolute), else$CLAUDE_PROJECT_DIR/reports_dev/cc-docs-search/, else a folder under the system temporary directory. The name is<YYYYMMDD_HHMMSS+HHMM>-<query-slug>.md, with-2,-3on a clash. The server never deletes reports. It reads$CLAUDE_PROJECT_DIRwhen it starts; MCP clients other than Claude Code do not set it and get the temporary folder.Read the
Best matchline and the #1 window first, then the listed report line ranges (or grep the report). Callget_claude_code_doc_contentonly for a section that is not in the report.The search requires Jev, which is on by default when
OPENROUTER_API_KEYorTYPESAFE_API_KEY(orAPPLE_DOCS_MCP_JEV_PROVIDERand its key) is set (see the Jev section above). WithAPPLE_DOCS_MCP_JEV_RERANK=0or no key, the search fails at once, before any request. There is no fallback without Jev.Measured on 2026-11-29 (4 live queries, Jev-reported): 0.84 to 1.34 cents per search and 4.3 to 6.6 s per call. Two early runs took 22 s; their cause was not measured.
Any fetch failure (no stale cache is served), any Jev failure, a report write failure or the 120 s deadline fails the whole call. There is no partial result and no unranked fallback.
The plugin's
eadp-cc-docs-searchskill covers usage in detail. Its companion skilleadp-cc-changelogreads the changelog (see Skills).
Development
This section is for maintainers; plugin users never need it. Requirements: Node.js 22 or later and pnpm (the version is pinned by packageManager in package.json).
pnpm install --frozen-lockfile # install the development dependencies
pnpm build # regenerate servers/apple-docs/index.js and THIRD_PARTY_LICENSES.txt
pnpm typecheck # tsc --noEmit
pnpm lint # eslint src
pnpm test # Jest test suites
pnpm start # run the built stdio server (node servers/apple-docs/index.js)The bundle is committed.
servers/apple-docs/index.jsis what Claude Code runs, with no dependency installation step on the user machine. After changing anything undersrc/or a bundled dependency, runpnpm buildand commit the result: a freshness test (tests/bundle-freshness.test.ts) fails when the committed bundle differs from a fresh build.No npm or bun lockfile. Claude Code runs
npm ciin the plugin root whenpackage.jsonsits next to apackage-lock.json,npm-shrinkwrap.json,bun.lockorbun.lockb, which would install every development dependency on every user machine. This repository uses pnpm, whose lockfile Claude Code ignores. A guard test (tests/plugin-lockfile-guard.test.ts) fails if one of those files appears.Dependency updates. A cheerio upgrade must re-verify the redirect to its
load-parseentry inscripts/build-bundle.mjs(runpnpm buildand the standalone bundle test).Release. Releases are cut with the CPV canonical pipeline:
uv run python scripts/publish.py(lint, validation, tests, version bump inplugin.json,package.jsonandpyproject.toml, changelog, tag, push and GitHub release). Nothing is published to npm.
Contributing
Contributions are welcome! Here is how to get started:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit your changes using Conventional Commits (checked by commitlint in CI):
git commit -m "feat: add amazing feature"Push to the branch:
git push origin feature/amazing-featureOpen a Pull Request
License
MIT License, see LICENSE for details. The original work is copyright kimsungwhee; additions are copyright Emasoft. The licenses of the dependencies bundled into the server are listed in servers/apple-docs/THIRD_PARTY_LICENSES.txt.
Disclaimer
This project is not affiliated with or endorsed by Apple Inc. It uses publicly available Apple Developer Documentation APIs for educational and development purposes.
Available Tools
28 toolsbrowse_wwdc_topicsARead-only
List all WWDC topic categories with their IDs. Essential first step before using list_wwdc_videos with topic filtering. Returns topic IDs like "swiftui-ui-frameworks" that can be used in other tools.
Inputs: year, limit, topicId, includeVideos.
download_apple_design_resourceA
Download a selected direct Apple Design resource into the local MCP cache and return MCP resource links. External Figma, Sketch web, and sketch:// links are reported as metadata and are not browser-authenticated downloads.
Inputs: url, maxBytes, resourceId.
find_similar_apisARead-only
Discover alternative and related APIs. Finds APIs with similar functionality, modern replacements for deprecated APIs, and platform-specific alternatives. Perfect when looking for better ways to implement functionality.
Inputs: apiUrl (required), searchDepth, filterByCategory, includeAlternatives.
get_apple_design_contentARead-only
Read Apple Design and Human Interface Guidelines URLs. HIG pages use Apple JSON data when available, and other /design/ pages use HTML parsing.
Inputs: url (required).
get_apple_design_examplesARead-only
Return Apple Design visual examples as MCP image content blocks with base64 data and MIME type. Supports HIG images, resource thumbnails, and direct image asset URLs.
Inputs: url, limit, query, resourceId.
get_apple_doc_contentARead-only
Get detailed content from a specific Apple Developer Documentation page. Use this after search_apple_docs to get full documentation. Supports enhanced analysis options for comprehensive API understanding. Best for: reading API details, understanding usage, checking availability.
Inputs: url (required), includeReferences, includeRelatedApis, includeSimilarApis, +1 more.
get_apple_sdk_changelogARead-only
Read Apple's live SDK release notes (developer.apple.com release-notes pages) for one platform (ios, ipados, macos, watchos, tvos, visionos, xcode incl. Swift toolchain notes, safari) and return ONLY the versions you choose, newest first, as Markdown: Overview, then framework sections, then New Features / Resolved Issues / Known Issues / Deprecations. No Jev and no cost: a deterministic read. Every call fetches the index and only the selected pages fresh (1 + k requests, no cache). Use exactly one mode: latest N (1 to 20, larger is an error), version (X = whole series, X.0 = major page, X.Y or X.Y.Z = exact page; a missing page is NOT_FOUND naming the nearest earlier page), or fromVersion/toVersion (inclusive range; either bound may be omitted); none means latest 1. framework (exact section title or an array), swiftToolchain (the Swift toolchain sections) and kind narrow the entries. The answer is capped at 50,000 characters: a page that does not fit is never cut; pages that fit are shown, the others are listed with ready calls (a page too large alone is listed framework by framework). A page marked beta or release candidate is the newest one; an older page whose text mentions a beta is only noted as possibly stale. Beta suffixes, dates and words are not accepted as versions; a beta is an in-place edit of the X.Y page.
Inputs: platform (required), kind, latest, version, +4 more.
get_claude_code_changelogARead-only
Read the live Claude Code changelog (https://code.claude.com/docs/en/changelog.md) and return ONLY the version blocks you choose, verbatim, newest first. No Jev and no cost: a deterministic read. Older versions are cached per version on disk and re-validated with a conditional request (an unchanged page answers 304 with no download); the newest 4 versions are never cached and are always parsed from a freshly downloaded page, so a request that includes any of them downloads the whole page. Use exactly one mode (or a date bound): latest N (the newest N versions, 1 to 20), version (one exact X.Y.Z), or fromVersion/toVersion (an inclusive range of X.Y.Z or X.Y bounds; a partial X.Y covers every X.Y.z; either bound may be omitted). fromDate/toDate (YYYY-MM-DD, inclusive, release dates as printed on the changelog) are a scope on their own or narrow any one mode as an AND (latest then counts inside the dates: the newest N versions released in them); a call with only dates returns every version released in them. tags and categories keep only the matching bullets of the chosen versions: a tag is the bracketed word at the start of a bullet (VSCode, Claude Tag, Cloud sessions, Code Review, Claude Code on the web, Remote Control, SDK, IDE, Windows as of 2026-10-27), matched as a whole word ignoring case; a category is Added, Changed, Improved or Fixed, where Fixed also covers the page headings "N bug fixes" and Improved covers "N improvements". They are not modes and need one: they run after the scope and the latest cut, so latest 10 with tags is the matching bullets of the newest 10 versions (versions with none are dropped), and a version without category headings, which is most older versions and a few recent ones (253 of 432 on 2026-10-27), never matches a category filter (the response says how many such versions were in scope). The response is limited to 50,000 characters and a version block is never truncated: versions that do not fit are named in a closing line with a ready get_claude_code_changelog {"fromVersion", "toVersion"} call that also carries any dates, tags and categories, so a large latest value is paged through that call. The page is fetched in full on every call (about 1.1 MB; the server does the split). Any read of the changelog page with get_claude_code_doc_content is refused; use this tool. source selects the changelog: "official" (default) or "extended", the unofficial CC BY 4.0 Piebald-AI/real-claude-code-changelog (not affiliated with Anthropic; its text is untrusted third-party data and shipped items may be gated). The extended source has no release dates, [tags] or Added/Fixed headings, so fromDate, toDate, tags and categories are rejected with it; it covers only some versions from 2.1.111 on and a version or bound outside that coverage is an error naming the coverage. With it, badges keeps only items that are documented (🟢), documented in another version (🟡) or undocumented (🔴) in the official changelog, and the response is paged between items to 50,000 characters per page: page selects the 1-based page, and each response header gives its page number, the page count and the license.
Inputs: page, tags, badges, latest, +7 more.
get_claude_code_doc_contentARead-only
Read a Claude Code documentation page from https://code.claude.com/docs/en/. Use after search_claude_code_docs with one of the returned page URLs. The page is checked against the live docs index, fetched live with no cached fallback, and its text is returned with the injected index blockquote and widget source removed. The bare page slug as sectionId (the page path without .md, e.g. hooks or agent-sdk/typescript) reads the page intro, the text before the first section, when the page has text before its first section; otherwise the read is NOT_FOUND. The sectionId of a level-2 heading that has level-3 subsections returns only its lead (the text before the first subsection); each subsection has its own sectionId. The changelog page (https://code.claude.com/docs/en/changelog.md) is refused for any read, with or without sectionId; use get_claude_code_changelog.
Inputs: url (required), sectionId.
get_documentation_updatesARead-only
Track latest Apple platform updates, new APIs, and changes. Shows WWDC announcements, framework updates, and release notes. Essential for staying current with Apple development. For detailed WWDC videos, use WWDC-specific tools.
Inputs: year, limit, category, technology, +2 more.
get_platform_compatibilityARead-only
Check API availability across Apple platforms and OS versions. Shows minimum deployment targets, deprecations, and platform-specific features. Critical for cross-platform development. Use when: planning app requirements, checking API availability, finding platform alternatives.
Inputs: apiUrl (required), compareMode, includeRelated.
get_sample_codeARead-only
Browse complete sample projects from Apple. Full working examples demonstrating best practices and implementation patterns. Different from search_apple_docs which returns code snippets. Use for learning by example.
Inputs: beta, limit, framework, searchQuery.
get_technology_overviewsARead-only
Access comprehensive guides and tutorials for Apple technologies. Includes getting started guides, architectural overviews, best practices, and implementation patterns. Perfect for learning new frameworks or understanding Apple's recommended approaches.
Inputs: limit, category, platform, searchQuery, +1 more.
get_wwdc_code_examplesARead-only
Browse all code examples from WWDC sessions. Perfect for finding implementation patterns, seeing new API usage, or learning by example. Each result includes the code and its session context.
Inputs: year, limit, topic, language, +1 more.
get_wwdc_videoARead-only
Access complete WWDC session content including full transcript, code examples, and resources. Use after finding videos with list_wwdc_videos or search_wwdc_content. Provides offline access to entire session content.
Inputs: year (required), videoId (required), includeCode, includeTranscript.
list_apple_design_resourcesBRead-only
List Apple Design Resources catalog entries with stable resource IDs, categories, platforms, formats, notes, preview image URLs, and download URLs.
Inputs: limit, format, category, platform, +1 more.
list_technologiesARead-only
Browse all Apple technologies and frameworks by category. Essential for discovering available frameworks and understanding Apple's technology ecosystem. Use this when: exploring what's available, finding framework identifiers for search_framework_symbols, checking beta status.
Inputs: limit, category, language, includeBeta.
list_wwdc_videosBRead-only
Browse WWDC session videos with full offline access to transcripts and code. Shows all available sessions with filtering options. Use this to discover WWDC content, find sessions by topic, or identify videos with code examples.
Inputs: year, limit, topic, hasCode.
list_wwdc_yearsARead-only
List all available WWDC years with video counts and statistics. Shows which years have content available and how many videos each year contains.
Inputs: no named parameters.
resolve_references_batchARead-only
Deep dive into all types and APIs referenced in a documentation page. Resolves all mentioned types, methods, and properties to understand dependencies. Use when: analyzing complex APIs, understanding type requirements, exploring API ecosystems.
Inputs: sourceUrl (required), filterByType, maxReferences.
search_apple_design_docsARead-only
Search Apple Design pages, Human Interface Guidelines JSON, and Design Resources catalog entries. Use this for HIG guidance, design resources, templates, fonts, product bezels, and Apple Design overview pages.
Inputs: query (required), limit, platform, contentType.
search_apple_docsARead-only
Search Apple Developer Documentation for APIs, frameworks, guides, and samples. Best for finding specific APIs, classes, or methods. Latency: typically 5-25 seconds (median about 10) because Apple streams the full result set; repeated identical queries are cached for 10 minutes. For browsing sample code projects, use get_sample_code. For WWDC videos, use the dedicated WWDC tools (list_wwdc_videos, search_wwdc_content).
Inputs: query (required), type, select, ranking, +1 more.
search_claude_code_changelogARead-only
Search the live Claude Code changelog (https://code.claude.com/docs/en/changelog.md) by meaning and return the best matching VERSIONS with their release notes verbatim. Versions older than the newest 4 are cached per version on disk and re-validated with a conditional request; the newest 4 are always read fresh from a downloaded page. By default only the newest 50 versions are searched; the first line of the response says which versions were searched, and to search older ones pass allVersions: true or a fromVersion/toVersion range of X.Y.Z or X.Y bounds, where a partial X.Y covers every X.Y.z (use at most one of latest, version, fromVersion/toVersion, allVersions). fromDate/toDate (YYYY-MM-DD, inclusive) restrict the search to versions released in those dates: a date bound is a scope on its own, so it replaces the default newest 50 cut, and it narrows any one version mode as an AND. tags and categories narrow the search to the matching bullets: a tag is the bracketed word at the start of a bullet (VSCode, Claude Tag, Cloud sessions, Code Review, Claude Code on the web, Remote Control, SDK, IDE, Windows as of 2026-10-27), matched as a whole word ignoring case; a category is Added, Changed, Improved or Fixed, where Fixed also covers the page headings "N bug fixes" and Improved covers "N improvements". They are not modes: they run after the scope, so with the default newest 50 only those versions are filtered (the response says how many matched; pass allVersions or a range for older ones), Jev scores only the kept bullets, and a version without category headings, which is most older versions and a few recent ones (253 of 432 on 2026-10-27), never matches a category filter (the response says how many such versions were in scope; search them without categories). maxResults counts VERSIONS (1 to 20, default 5): Jev scores windows of each version and the best windows are grouped per version, so fewer versions can come back when Jev's selected windows cover fewer distinct versions. A version that fits the remaining response budget is shown whole; an over-budget version is shown by its selected windows, whole windows only, each labelled with its window number and score; every version not shown whole is listed with a ready get_claude_code_changelog {"version": "X.Y.Z"} call. To read specific versions without searching use get_claude_code_changelog. Latency: one live page fetch (about 1.1 MB) and one Jev pass; the whole call has a 120 s deadline and fails as a whole with TIMEOUT, never partially. There is no unranked fallback. Requires Jev, which is on by default when OPENROUTER_API_KEY or TYPESAFE_API_KEY (or APPLE_DOCS_MCP_JEV_PROVIDER and its key) is set; APPLE_DOCS_MCP_JEV_RERANK=0 turns it off, and then this search fails before any request. Cost, measured 2026-10-27: about 0.6 cents per search with the default newest 50 versions, about 1.3 to 1.5 cents with allVersions: true. source "extended" (default "official") searches the unofficial, CC BY 4.0 Piebald-AI/real-claude-code-changelog by whole item windows (6 KB each) instead of the official windows, and badges (documented, wrong-version, undocumented; 1 to 3) keep only the items with those badges before windowing; badges are rejected with official. The default extended scope (no latest, version, range or allVersions) is the newest 50 versions, or fewer when the pool would pass its caps (1,024 windows, 4 MiB), and the scope line names the versions searched. With extended, tags, categories and fromDate/toDate are rejected (use badges), and page is rejected on search. Extended cost, measured 2026-11-28 (Jev-reported): about $0.03 per default extended search, estimated ceiling about $0.04 at the caps (not measured). Each listed version has a ready get_claude_code_changelog call whose page is valid for the README revision (ETag) the response header names.
Inputs: query (required), tags, badges, latest, +9 more.
search_claude_code_docsARead-only
Search the live Claude Code documentation (https://code.claude.com/docs/llms.txt and llms-full.txt) for SECTIONS of Claude Code docs pages. Best for finding Claude Code CLI, hooks, settings, and usage documentation. Returns a SHORT answer and writes the full text to a Markdown report file. The answer has the query, a "Best match: strong | weak | none (best score ...)" line (a score band, not a claim that the docs answer the query: strong is a best-section score of at least 0.5, weak at least 0.3, otherwise none), "Report: ", one line per listed section (page > heading path | sectionId | score | the line range of the section in the report and of its best-scoring window), the changelog pointer line when the changelog page matches, and the verbatim best-scoring window of the #1 section only (labelled; the answer may be elsewhere in that section, so read the listed report lines). Read or grep the report file for the full section text (code blocks intact, never truncated); the sectionIds can be used as-is with get_claude_code_doc_content. Report location: APPLE_DOCS_MCP_REPORTS_DIR if set, else $CLAUDE_PROJECT_DIR/reports_dev/cc-docs-search/, else a folder under the system temporary directory; the server never deletes reports, and a failed write fails the search. The report holds every section scoring at least 0.3 (at least the best one, at most 4 times maxResults). The changelog is never searched by section; when it matches, the answer carries a pointer line naming search_claude_code_changelog and get_claude_code_changelog. Latency: one live index fetch, one revalidation of llms-full.txt (about 11 MB, cached on disk and revalidated with If-Modified-Since on every call; a cold start downloads it), then two Jev passes (pages by their headings, then the windows of the sections); the whole call has a 120 s deadline and fails as a whole with TIMEOUT, never partially. Failure: any fetch failure (no stale cache is served), any Jev failure, a report write failure or the deadline fails the whole search; there is no unranked fallback. Requires Jev, which is on by default when OPENROUTER_API_KEY or TYPESAFE_API_KEY (or APPLE_DOCS_MCP_JEV_PROVIDER and its key) is set; APPLE_DOCS_MCP_JEV_RERANK=0 turns it off, and then this search fails before any request. Cost: the Jev usage of each call is the last line of the answer; measured on 2026-11-29 with 4 live queries (Jev-reported), a search cost 0.84 to 1.34 cents and took 4.3 to 6.6 s, and two early runs took 22 s (their cause was not measured).
Inputs: query (required), maxPages, maxResults.
search_framework_symbolsARead-only
Browse and search symbols within a specific Apple framework. Perfect for exploring framework APIs, finding all views/controllers/delegates in a framework, or discovering available types. Use after list_technologies to get framework identifiers.
Inputs: framework (required), limit, language, symbolType, +1 more.
search_wwdc_contentARead-only
Full-text search across all WWDC video transcripts and code examples. Find specific discussions, API mentions, or implementation examples. More powerful than list_wwdc_videos for finding specific content.
Inputs: query (required), year, limit, select, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Most tools map to a distinct sub-domain (Apple docs, design/HIG, WWDC, changelogs), but several clusters overlap: get_related_apis, find_similar_apis, and resolve_references_batch all promise 'discover related/alternative APIs', and get_documentation_updates, get_apple_sdk_changelog, and get_claude_code_changelog are three separate 'what changed' surfaces. search_apple_docs vs search_framework_symbols vs search_apple_design_docs are distinguishable by descriptions but require careful reading, and the Claude Code doc tools sit oddly inside an Apple-docs server.
Every tool follows a clean snake_case verb_noun pattern with a small, predictable verb set (get_, search_, list_, find_, browse_, resolve_, download_). Wide-noun qualifiers are used consistently (search_apple_docs/search_apple_design_docs, get_apple_doc_content/get_apple_design_content), so naming alone makes the pairing structure legible.
28 tools is heavy; even though the server legitimately spans Apple dev docs, HIG/design resources, WWDC archives, and two changelog sources, the count pushes past comfortable scanning. The four Claude Code documentation tools add surface area unrelated to the apparent Apple-docs purpose, tipping an otherwise justified set into over-stuffed territory.
Coverage is broad: search plus content retrieval for APIs, framework symbol browsing, technology overviews, platform compatibility, sample code, WWDC videos/transcripts/code examples, design resources with download, and release notes. Minor gaps remain — no direct symbol-detail endpoint (must route through generic page content) and no forums/community or symbol-index lookup — but agents can work around these.
Maintenance
Related MCP Connectors
Search and read Apple developer documentation, HIG, and WWDC transcripts as Markdown.
Find Apple docs and WWDC with RAG retrieval and Jev relevance ranking. Browse topics or read pages.
Search and read the Claude Platform documentation and API reference.
Access and search Branch's official API documentation directly within any AI agent or client.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceProvides 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-
- 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.18996 npm1,389MIT
- AlicenseAqualityDmaintenanceSearch and retrieve information from Apple's complete developer documentation, including API references, code examples, and Human Interface Guidelines, across all Apple platforms and versions.430 npm9MIT
- AlicenseAqualityBmaintenanceEnables AI agents to search and retrieve Apple Developer Documentation instantly with symbol search, wildcard matching, and optional semantic embeddings.678 npm2MIT