Show HN: Cupertino – Offline Apple docs for AI agents (22K pages, MCP, Swift)

github.com

1 points by mihaela 4 hours ago

Hi HN! I built Cupertino to solve AI hallucinations when working with Apple APIs.

  It crawls Apple Developer Documentation (22K+ pages across 261 frameworks), Swift Evolution proposals, and Swift.org docs into a local
   SQLite FTS5 database, then serves them to AI agents via MCP.

  Key points:
  - 100% local/offline – no API calls after initial crawl
  - Sub-100ms search queries
  - Works with Claude Desktop out of the box
  - Pure Swift 6.2, strict concurrency

  The initial crawl takes ~20 hours (0.5s delay between requests to be respectful), but it's a one-time operation.

  Roadmap includes vector search (sqlite-vec) and a standalone CLI search command. Happy to answer questions!