← Reddit

Sherlock: Apple Developer docs as a local Claude Code MCP (free, open source)

Reddit · rickgwas · May 5, 2026
Sherlock is a Claude Code plugin that provides local access to Apple's developer documentation, indexing approximately 70,000 symbols across 300+ frameworks into SQLite FTS5. The plugin addresses Claude's tendency to hallucinate Apple APIs by grounding responses in real documentation through five MCP tools and three auto-triggering skills. The free, open-source project is available through the Claude plugin marketplace and GitHub.

Detailed Analysis

Sherlock, an open-source Claude Code plugin developed by the GitHub account hotfix-jobs, addresses one of the more persistent and practical limitations of large language model assistants when applied to software development: the tendency to hallucinate API details. Specifically targeting Apple's developer ecosystem, the tool indexes approximately 70,000 symbols across more than 300 frameworks into a local SQLite database using the FTS5 full-text search extension, then exposes that indexed documentation to Claude through the Model Context Protocol (MCP). The result is a grounded, queryable reference layer that Claude can consult in real time rather than relying on potentially stale or fabricated training data. Installation is designed to be straightforward within the Claude Code environment, requiring only two plugin commands pointing to the public repository.

The technical architecture reflects a deliberate design philosophy centered on locality and precision. By storing Apple's documentation in SQLite FTS5 rather than a remote vector database or cloud API, Sherlock avoids latency, authentication overhead, and ongoing service dependencies. The plugin surfaces five MCP tools alongside three "skills" — automated triggers that fire when a user's query appears to concern Apple APIs — meaning the documentation lookup can happen proactively rather than requiring explicit invocation. This reduces the cognitive burden on the developer, who can focus on problem-solving rather than manually verifying whether Claude's output reflects actual Apple SDK behavior. The approach mirrors patterns seen in other developer-focused MCP integrations, which have increasingly used structured local data stores to constrain model outputs within verified knowledge boundaries.

The problem Sherlock targets — API hallucination — is well-documented in the context of LLM-assisted coding. Models trained on large code corpora often interpolate plausible-sounding but nonexistent method names, reference deprecated symbols, or conflate API signatures across framework versions. For Apple's ecosystem, this is particularly consequential: iOS, macOS, watchOS, and related platforms evolve rapidly across annual release cycles, and the gap between a model's training cutoff and current SDK state can represent significant behavioral divergence. By anchoring Claude's responses to a local snapshot of official Apple documentation, Sherlock effectively creates a retrieval-augmented generation (RAG) layer purpose-built for Swift and Objective-C development contexts.

The release sits within a broader and accelerating trend of community-built tooling around the Model Context Protocol, which Anthropic introduced as a standardized interface for connecting language models to external data sources and tools. Since MCP's public release, developers have constructed integrations spanning databases, version control systems, internal wikis, and now domain-specific documentation corpuses. Sherlock exemplifies the pattern of specialists — in this case, Apple platform developers — identifying gaps in general-purpose model knowledge and filling them with targeted, open-source infrastructure rather than waiting for model providers to expand training data coverage. The plugin marketplace distribution mechanism within Claude Code further lowers the barrier to adoption, enabling the broader Apple developer community to benefit from the contribution without manual repository setup.

The long-term significance of projects like Sherlock lies in their demonstration that useful AI-assisted development does not require larger models or broader training — it requires better-scoped, higher-fidelity context at the moment of inference. As MCP adoption grows and the Claude Code plugin ecosystem matures, purpose-built documentation indexes of this kind may become standard components of professional development environments, effectively functioning as live reference compilers that keep model outputs synchronized with the actual state of fast-moving SDKs. Sherlock's open-source release under a public GitHub repository invites community contributions that could extend coverage to additional Apple frameworks, maintain symbol currency across SDK versions, or adapt the architecture to other platform documentation sets entirely.

Read original article →