apple-docs

A local Apple developer documentation corpus, with a command-line search tool, an MCP server and a browsable local website, so agents can search and read official docs offline once a snapshot is installed.

View on GitHub ↗
Stars
★ 28
Last commit
4 Dec 2026
Maintenance
Active
Licence
MIT
Category
MCP Servers
GitHub
g-cqd/apple-docs

Overview

apple-docs keeps a local, searchable copy of Apple developer material and exposes it in three ways: a command-line tool, an MCP server for coding agents, and a local website that can also be built as a static site. Once a snapshot is installed, search and reading are designed to work offline, including a local semantic index, and need no API key.

The README puts the corpus at about 393,000 documents, covering Apple's API reference, the Human Interface Guidelines, the App Store Review Guidelines, Swift Evolution, The Swift Programming Language, Swift toolchain and Swift.org docs, archived Apple documentation, WWDC sessions from 1997 to 2026 with transcripts, Apple sample code, a Swift package catalogue, SF Symbols and Apple's fonts. Several other Apple-docs MCP servers exist. This one is built around an offline snapshot and a command-line tool, rather than calls to a live documentation API.

The code is licensed under the MIT licence. The weekly snapshot archives include Apple's documentation, fonts and SF Symbols, which remain copyright Apple Inc. and are not covered by that MIT grant.

A best-effort public website and MCP endpoint are hosted at apple-docs.everest.mt. The README gives them no uptime SLA and recommends self-hosting for production.

Features

  • One indexed corpus, searched from the terminal, over MCP, or in a local website.
  • Search accepts exact symbol names and plain-English questions, with filters for source, year, framework, kind and platform.
  • read, browse, frameworks and status commands for opening a page or section, walking a framework or WWDC year, and checking corpus freshness.
  • Nine read-only MCP tools, including search_docs, read_doc, list_frameworks, browse, list_taxonomy, search_sf_symbols, list_apple_fonts, render_sf_symbol and render_font_text, plus matching resources. The server can run over stdio or Streamable HTTP.
  • A local website at http://127.0.0.1:3000, with Markdown versions of pages at a .md URL, and a static-site build.
  • Weekly CI snapshots, installed with apple-docs setup, or a self-built corpus with apple-docs sync.
  • Optional storage profiles and a scope.json plus apple-docs prune path to keep only part of the corpus.

Requirements

  • Bun 1.1 or later for the documented dev install (the installer links the CLI with Bun). Standalone binaries are also published with the snapshots.
  • macOS 13 or later (Apple silicon or Intel), or Linux x64 or arm64, according to docs/installing.md.
  • git, curl and unzip. Enough disk for the snapshot: the README's older figures start at about 4.6 GB and should be treated as a floor, as the corpus has grown.
  • An MCP client, if the server will be used from an agent.
  • For production self-hosting: Caddy, cloudflared and a Cloudflare tunnel, as described in the installing guide.

Install

  1. Clone the repository, run bun run dev:setup to install dependencies and link the CLI, then run apple-docs setup to download and install the latest snapshot (the latest published archive is 1.17 GB).

  2. After setup, apple-docs search "NavigationStack" and apple-docs read swiftui/view should work offline.

  3. apple-docs mcp install prints client configuration. apple-docs mcp start runs the stdio server; apple-docs mcp serve --port 3031 runs Streamable HTTP.

  4. For the public instance, the README gives: claude mcp add -s user --transport http apple-docs https://apple-docs-mcp.everest.mt/mcp and a Codex line that uses bunx mcp-remote with the same URL.

  5. For standalone binaries and production self-hosting, see docs/installing.md. apple-docs setup --force refreshes an existing install.

Example

Ask an agent to find how NavigationStack works on iOS, limited to SwiftUI. It should call search_docs, then read_doc on the best hit. The same lookup can be done in a terminal with apple-docs search "NavigationStack" and apple-docs read swiftui/view.

Works with

Claude CodeCodexCursorAny MCP client

Listed in

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

Report a correction

More in this category