Apple Sample Code MCP
Use the reviewed Apple sample-code analyses directly from your coding agent. The MCP can find relevant samples, open one analysis, compare several implementations, and report the exact corpus revision behind every result.
Add to Codex
codex mcp add apple-sample-code --url https://mcp.applesamplecode.com/mcpCheck the connection with:
codex mcp get apple-sample-codeAdd to Claude
For Claude Code, run:
claude mcp add --transport http apple-sample-code https://mcp.applesamplecode.com/mcpCheck the connection with:
claude mcp get apple-sample-codeWhat you can ask
- Find Apple samples that use a particular framework, pattern, or ownership approach.
- Open the source-cited architecture, naming, concurrency, or flow analysis for one sample.
- Compare the source-visible choices in two or more samples.
- Check which validated corpus revision is currently being served.
For example: Find Apple samples that move delegate callbacks into observable SwiftUI state, then compare how they divide responsibilities.
The service exposes the latest successfully validated public corpus. It does not present the analyses as official Apple guidance, and each result links back to the reviewed sample page and its source citations.