
Apple Docs 2.0 MCP
io.github.mishafyi由 GitHub 账号 mishafyi 发布v3.0.0更新于 Oct 24, 2026
Apple developer docs, Human Interface Guidelines and 1,700 WWDC sessions with code for AI assistants
概览
本地 MCP 服务器,让助手搜索并阅读 Apple 开发者文档、人机界面指南、App Store Connect 帮助以及带代码的 WWDC 场次。
- 可以做什么
- 搜索 Apple 文档、设计指南、示例代码、App Store Connect 帮助和 WWDC 场次,也可只搜其中一类
- 离线按标题或部分名称查找任意文档页面,包括符号、键和接口端点
- 以 Markdown 读取完整页面:API 声明、概览、主题、关系、可用性、教程和 Web 服务端点
- 浏览框架与技术目录、示例代码、发布说明和技术概览
- 按年份或主题列出 WWDC 场次,检索字幕与代码示例,并读取带时间轴字幕和代码的场次
- 适用场景
- 适合在用智能体开发或调试 iOS、macOS 等 Apple 平台应用时,希望回答基于 Apple 官方 API 参考、设计指南和 WWDC 资料而非猜测的场景。
- 运行要求
- 以 npm 包形式通过 npx 在本地运行,需要 Node.js。无需 API 密钥或账号。文档类工具会访问 developer.apple.com,因此需要网络;WWDC 与文档地图工具使用内置数据,可离线使用。
安装
在 SourceWeft 中
- 打开 控制台中的 Apple Docs 2.0 MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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 Docs 2.0 MCP: doc search optimized for agents, a complete index of 336,723 pages, and Sample Code with WWDC included]
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
Claude Desktop (Recommended)
Add this to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Note: If you encounter issues with an old version being used, add
@latestto force the latest version:
Restart Claude Desktop and start asking about Apple APIs!
Claude Code
Ask your agent
🆕 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 Code
🔷 VS Code
Add to .mcp.json at the root of your workspace, VS Code's portable format:
💬 Usage Examples
🔍 Search
🗺️ Docs Map
📚 Documentation Access
🔧 Framework Exploration
🔗 API Discovery
📋 Technologies, Updates and Overviews
💻 Sample Code
🎥 WWDC
🛠️ Available Tools
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
🌐 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.
📦 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
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:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - 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.
来源:README.md,提交 1959a23
工具
0版本历史
3- v3.0.0最新Oct 18, 2026
- v2.0.5Oct 12, 2026
- v2.0.0Oct 12, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分