cupertino
活跃·★ 805·MIT·更新于 2026-05-29
★ 开发者工具★ RAG / 知识库
一个基于 Swift 的 Apple 文档抓取与 MCP 服务器工具,为 AI 代理提供离线文档访问。
Cupertino 是一个基于 Swift 的工具,通过模型上下文协议 (MCP) 爬取、索引并提供 Apple 开发者文档。它提供离线访问超过 302,000 个文档页面,涵盖 307 个框架,支持全文搜索和 AI 代理集成。该工具支持可恢复的爬取、多种文档来源和多种安装方式。
#apple-documentation#命令行工具#command-line-tool#开发者工具#documentation-tools#local-server#MCP 协议#MCP 服务器
01
功能特性
01多源文档抓取(Apple Developer、Swift Evolution、人机界面指南等)
02基于 SQLite FTS5 和 BM25 排序的全文搜索引擎
03用于 AI 代理集成的 MCP 服务器(Claude、Codex 等)
04智能爬取,支持断点续传和变更检测
05离线访问,提供预建数据库和本地控制
02
兼容性
macOS
macOS 15+
已通过文档验证
03
快速开始
1
$ bash <(curl -sSL https://raw.githubusercontent.com/mihaelamj/cupertino/main/install.sh)
04
使用场景
↳Apple 平台离线文档归档
↳特定框架研究与开发
↳使用准确 API 文档进行 AI 辅助开发
05
同类工具
相关搜索
评论
登录后发表评论
- Reese Kim2026年5月21日
Setting this up with Cursor has completely changed how I look up Swift APIs. No more lagging Safari tabs.
- RRemy Davis2026年5月9日
I love having offline access to the AppKit docs when I'm traveling without reliable Wi-Fi.
- SShawn Martinez2026年3月30日
Is there any way to index custom DocC archives with this, or does it only pull from official Apple docs?
- SSpencer Wilson2026年3月4日
Needs Xcode command line tools installed to compile properly, but after that it runs incredibly fast.