经 AI Skill Hub 精选评估,cupertino MCP工具 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。
本地Apple官方文档爬虫与MCP服务器,用Swift编写。支持离线访问苹果开发文档,集成MCP协议,为开发者提供命令行工具化的文档查询能力,适合iOS/macOS开发者快速检索API文档。
cupertino MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
本地Apple官方文档爬虫与MCP服务器,用Swift编写。支持离线访问苹果开发文档,集成MCP协议,为开发者提供命令行工具化的文档查询能力,适合iOS/macOS开发者快速检索API文档。
cupertino MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/mihaelamj/cupertino
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"cupertino-mcp--": {
"command": "npx",
"args": ["-y", "cupertino"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 cupertino MCP工具 执行以下任务... Claude: [自动调用 cupertino MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"cupertino_mcp__": {
"command": "npx",
"args": ["-y", "cupertino"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
🕯️ v1.2.1 released on 2026-05-23. Maintenance release: architectural cleanup + DI / pluggability lift. Zero schema delta vs v1.2.0; the v1.2.0 bundle works as-is with the v1.2.1 binary (cupertino setupstill downloadscupertino-databases-v1.2.0.zip). Headlines: Source Independence Day reached (adding a new content source is now a composition-root-only PR); strict-DI + standalone-portability epic closed (every Search-side producer is foundation-only, mechanically verified byscripts/check-target-portability.sh);Distribution.DatabaseHealthCheckstrategy seam covers Doctor's 3 sibling per-DB sections. Live dashboard at <https://cupertino.aleahim.com/>. See the v1.2.1 release notes. v1.2.0 "ironclad" (2026-05-20) was the most recent bundle release. Search-quality release: rank-1 accuracy on canonical-lookup queries jumped from 52% to 92% on the Phase 1 corpus, zero regressions across 110 paired queries, 30 / 30 modern Swift wins on the deprecation-pair corpus.databaseVersionis1.2.0:cupertino setupdownloadscupertino-databases-v1.2.0.zip(690 MiB compressed, sha256097d6633…f47747) carrying 352,712 indexed documents across 420 frameworks,search.dbuser_version18,packages.db5,samples.db4, 0 poison rows across the 13-category audit. Full write-up atdocs/release-writeup-v1.2.0.md. See the v1.2.0 release notes.
Apple Documentation Crawler & MCP Server
A Swift-based tool to crawl, index, and serve Apple's developer documentation to AI agents via the Model Context Protocol (MCP).

Building from source additionally requires Swift 6.3+ and Xcode 26+ (use xcrun swift build, not bare swift)
One-command install (recommended):
bash <(curl -sSL https://raw.githubusercontent.com/mihaelamj/cupertino/main/install.sh)
This downloads a pre-built, signed, and notarized universal binary, installs it to /usr/local/bin, and downloads the documentation databases.
Or with Homebrew:
brew tap mihaelamj/tap
brew install cupertino
cupertino setup
Or build from source:
```bash git clone https://github.com/mihaelamj/cupertino.git cd cupertino
cupertino setup # Download databases from GitHub cupertino serve # Start MCP server
cupertino save # Build documentation search index (from local files) cupertino save --remote # Build from GitHub (no local files needed) cupertino save --samples # Index sample code for search
```bash
cupertino save --remote
```bash
cupertino save ```
args = ["serve", "--no-reap"] ```
Why--no-reap? Codex spawns a freshcupertino serveper tool call. Without--no-reap, each new instance kills its predecessor as a stale sibling, and the in-flight transport closes (Transport closederror on every tool call — see #280). Claude Desktop / Cursor users keep the default (reap on) so MCP-host config reloads don't leak orphan servers. Equivalent env-var form:CUPERTINO_DISABLE_REAPER=1in[mcp_servers.cupertino.env].
Tip: Run which cupertino to find your installation path.
cupertino setup
**Option A: Install with OpenSkills (Recommended)**
[OpenSkills](https://github.com/numman-ali/openskills) is a universal skills loader that works with Claude Code, Cursor, Windsurf, Aider, and other AI coding agents.
bash
npx openskills install mihaelamj/cupertino
```bash
Note: When building from source, commands must be run from the Packages directory. The one-command install works from anywhere.
cupertino fetch --type samples
cupertino list-samples --framework swiftui --format json ```
All commands support --format json for structured output that agents can parse.
Available Sources: - apple-docs - Official Apple documentation (~352,712 pages indexed in v1.2.0) - samples - Apple sample code projects - hig - Human Interface Guidelines - swift-evolution - Swift Evolution proposals - swift-org - Swift.org documentation - swift-book - The Swift Programming Language book - apple-archive - Legacy programming guides - packages - Swift package documentation
```bash
cd Packages swift build -c release sudo ln -sf "$(pwd)/.build/release/cupertino" /usr/local/bin/cupertino ```
Demo Video: Watch on YouTube
make test-unit # Fast unit tests only make test-integration # All tests (includes network calls) make format # Format code with SwiftFormat make lint # Lint with SwiftLint ```
```bash
cupertino save --remote # Stream and build locally
```bash
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"cupertino": {
"type": "stdio",
"command": "/opt/homebrew/bin/cupertino",
"args": ["serve"]
}
}
}
Cupertino 是一个专为 AI 时代设计的文档管理工具。最新版本 v1.2.1 已完成架构清理与 DI(依赖注入)/ 可插拔性的提升。该项目实现了“源码独立性”,通过组合式设计,开发者现在可以轻松地为系统添加新的内容源,使其不仅限于 Apple 文档,更成为了一个灵活的 AI 知识库基础设施。
Cupertino 的核心功能旨在解决 AI 开发中的痛点:通过提供准确、实时的 Apple API 文档,彻底消除 AI Agent 的“幻觉”问题。它支持完全的离线开发模式,确保在无网络环境下也能访问完整文档。同时,其确定性的搜索机制保证了相同查询结果的一致性,并支持通过 MCP 协议进行 AI-first 设计,方便集成到各类 AI 工作流中。
使用 Cupertino 需要 macOS 15 (Sequoia) 或更高版本系统。安装完整的 v1.2.0 数据包大约需要 4.1 GB 的磁盘空间(其中 search.db 约 2.87 GB,packages.db 约 1.06 GB)。若选择从源码构建(Build from source),则需要安装 Swift 6.3+ 以及 Xcode 26+ 环境。
推荐使用一键安装脚本进行部署:`bash <(curl -sSL https://raw.githubusercontent.com/mihaelamj/cupertino/main/install.sh)`,该脚本会自动下载已签名且经过公证的通用二进制文件并安装至 `/usr/local/bin`。此外,你也可以通过 Homebrew 进行安装:使用 `brew tap mihaelamj/tap` 后执行 `brew install cupertino`。安装完成后,需运行 `cupertino setup` 来下载必要的数据库文件。
安装完成后,通过运行 `cupertino setup` 下载 GitHub 上的预构建数据库。随后,使用 `cupertino serve` 命令即可启动 MCP server。需要注意的是,如果你是从源码构建的,必须在 `Packages` 目录下运行相关命令;而使用官方一键安装方式则可以在任何路径下自由执行。
Cupertino 提供了便捷的命令行接口。通过 `cupertino setup` 进行初始化配置,通过 `cupertino serve` 启动服务。对于开发者而言,其核心价值在于通过 MCP 协议暴露的接口,使 AI Agent 能够以结构化的方式检索和调用本地 API 文档。
对于开发者,项目提供了完善的开发工作流。你可以通过 `make test-unit` 运行快速单元测试,或使用 `make test-integration` 进行包含网络调用的集成测试。代码规范方面,支持使用 `make format` (基于 SwiftFormat) 和 `make lint` (基于 SwiftLint) 进行自动化检查。若需手动构建,可进入 `Packages` 目录使用 Swift Package Manager 进行编译。
高价值MCP工具,Swift实现专业,742星说明认可度高。文档爬虫+MCP集成满足开发者离线查询需求,维护活跃值得推荐。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:cupertino MCP工具 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | cupertino |
| 原始描述 | 开源MCP工具:A local Apple Documentation crawler and MCP server. Written in Swift.。⭐742 · Swift |
| Topics | 苹果文档MCP服务器Swift开发文档爬虫命令行工具开发者工具 |
| GitHub | https://github.com/mihaelamj/cupertino |
| License | MIT |
| 语言 | Swift |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端