← statichum.studio

Auto-Refreshing Library Documentation MCP Server Because Training Data Is Stale and Stack Overflow Is Dead

dev tool real project •• multiple requests

AI coding agents (Claude Code, Cursor, Copilot) keep generating plausible-but-wrong code that calls removed APIs, uses deprecated parameters, or invents syntax. Core reason: their training data is months-to-years old, and Stack Overflow's decline means there's no fresh human-written corrective signal. Builders are scrambling to fill the gap — Context7, Instagit, Ref Tools each attack a slice — but coverage is fragmented and each supports a different subset of ecosystems. The universal version: a single MCP server that auto-pulls latest docs for every npm/PyPI/crates.io/Go module, version-resolves to the user's lockfile, and serves fresh documentation to any agent.

builder note

Don't try to index the whole internet. Index docs of packages on PyPI / npm / crates.io / Go proxy, keyed by version. When an agent asks, parse the user's lockfile first, return THAT version's docs. That alone eats 80% of 'agent hallucinated a removed API' failures. The moat is the fetch+parse pipeline for 20+ docs site formats, not the MCP wrapper.

landscape (5 existing solutions)

Everyone agrees the problem is real — stale training data produces broken code. The category exploded in Q1 2026 but every entrant attacks one ecosystem. The 'universal' version (one MCP server, resolves to your lockfile, pulls fresh from every package registry) is the consolidation play nobody has landed yet. Harder than it sounds because package-level docs are in a dozen different formats (README, docs sites, Sphinx, mkdocs, TSDoc, rustdoc).

Context7 (Upstash) The most-starred player. Covers a subset of popular JS/Python libs. Doesn't version-resolve against your lockfile — can send you docs for the latest version while your project is pinned to an older one.
Ref Tools Structured search over docs, but not lockfile-aware and sells pricing per-lookup which burns tokens fast on agentic usage.
Instagit (instalabsai) Pitches 'repo-level understanding' for agents. More about giving agents source code than serving canonical docs.
Google Developer Knowledge MCP Google's own APIs and docs. Obvious coverage gap: 99% of the ecosystem isn't Google.
llms.txt convention Ad-hoc site-level convention. Works when the library maintainer opts in, which most don't.

sources (4)

other https://context7.com/ "up-to-date documentation for LLMs and AI code editors" 2026-04-01
hn https://news.ycombinator.com/item?id=46937696 "Docs are stale, StackOverflow is dead, training data is outdated" 2026-02-10
other https://developers.googleblog.com/introducing-the-developer-... "Introducing the Developer Knowledge API and MCP Server" 2026-03-18
other https://developer.espressif.com/blog/2026/04/doc-mcp-server/ "Espressif Documentation MCP Server: Power Your AI Agents with Espressif Docs" 2026-04-08
mcpai-codingdocumentationstale-training-dataclaude-code