# Fetch current library documentation before writing code

> Fetch current library documentation before writing code: 0 companies fully do it, 5 with a limit, 11 carry the tag. Every listing in Code & developer platforms with the reason and a source.

- Canonical: https://www.anchorterminal.com/niches/code.library-docs/
- Markdown: https://www.anchorterminal.com/niches/code.library-docs/index.md (~1,500 tokens)
- Slim: https://www.anchorterminal.com/niches/code.library-docs/index.min.md (~280 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/niches/code.library-docs/index.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-15

No company's docs show a full fit yet. The listings below do the job with a limit, or not at all.

| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |
| --- | --- | --- | --- | --- |
| 0 | 5 | 11 | 22 | 18 |

## What counts as done

A doc excerpt for the right library and version, by resolve then query, showing the API as it exists in the version in use, with a not-found result that is distinguishable from an error.

Measured, for our own tests: the excerpt is under 4,000 tokens and comes in at most two calls.

How agents ask for it: use context7; check the docs for this library's latest version; how do I call X in version 6.1; find a code sample for this Azure API

## Does the job, with a limit

It does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.

- **amCharts 5 MCP Server (amCharts)**: get_doc, get_api_reference and search_docs return amCharts 5 pages and class references with no key, but only for amCharts 5, with no version parameter, no size cap and no documented error shape.
- **Context7 (Upstash)**: resolve-library-id then query-docs, version-suffixed ids such as /vercel/next.js/v16.2.9, 404 version_not_found and isError on failures; but no size parameter, ESP-IDF 6.1 missing three months after release (#3753), and a free user was told to create a key mid-session.
- **GitMCP (Ido Salomon (GitMCP open-source project))**: fetch and search documentation tools per public repository with no key; but public repositories only (#248), no version parameter, a tool-name mismatch in search results (#258), and no commit or maintainer reply since 8 May 2026.
- **Microsoft Learn MCP Server (Microsoft Corporation)**: microsoft_docs_search, microsoft_docs_fetch and microsoft_code_sample_search with language, no key, and ?maxTokenBudget caps search; but fetch returns whole pages that hit the model's limit (#109), search served a stale chunk (#228), and there is no version parameter.
- **Ref (Ref Software, Inc)**: ref_search_documentation then ref_read_url is two calls, pages are trimmed to relevant sections and ref_src=private reaches a team's repositories and PDFs; but a key needs a browser sign-up, the free 200 credits never renew, and there is no version or size parameter.

## Couldn't check

The docs were closed to us, or silent. These carry no mark either way.

- **ModusToolbox AI Assistant (Infineon Technologies AG)**: The listing describes a library catalogue, board discovery and code examples for Infineon devices, but no tool names, schemas or limits are published and the implementation source is private, so the two-call, 4,000-token criterion cannot be read.

- not this job: Azure DevOps MCP Server (Microsoft Corporation): No documentation tools; Microsoft Learn MCP is the docs server.
- not this job: Entire (Entire Inc): No documentation tools.
- not this job: Git (MCP reference server) (Model Context Protocol, a Series of LF Projects, LLC): No documentation tools.
- not this job: GitHub MCP Server (GitHub, Inc.): github_support_docs_search answers GitHub product questions only; no library documentation.
- not this job: GitLab MCP Server (GitLab Inc.): No documentation tools.
- not this job: graft (Vishisht Choudhary (individual)): No documentation tools.
- not this job: Graphify (Graphify Labs): Indexes the repository's own docs and PDFs, not library documentation by version.
- not this job: Jam MCP (Jam): No documentation tools.
- not this job: Momentic MCP server (Momentic): momentic_search_docs searches Momentic's own docs only.
- not this job: REA (morluto): No documentation tools.
- not this job: Salesforce DX MCP Server (Salesforce, Inc.): LWC guidance tools return fixed documentation prompts; not a versioned library docs lookup.
- not this job: Sourcegraph MCP Server (Sourcegraph, Inc.): Searches the company's indexed code, not library documentation.
- not this job: Superpowers (Prime Radiant (no legal form or registration found on its pages); the MIT LICENSE names Jesse Vincent): No documentation tools.
- not this job: TokenEconomizer (Microsoft Corporation (repository in the microsoft GitHub organisation with Microsoft's SECURITY.md); co-authors at UC Berkeley): No documentation tools.
- not this job: Void (Cloudflare, Inc. (VoidZero)): Ships its own docs in node_modules/void/docs for agents; not a library docs tool.

## What stops agents finishing

- index lags the release (ESP-IDF 6.1 missing three months after release)
- anonymous rate limit hit mid-session and the model asked to create a key
- fetch of a long page exceeds the model's token budget with no size parameter
- the model's own safety layer flags fetched docs as injection
- public repositories only, no private docs (GitMCP)

## Around it

Before: agent-harnesses.pair-in-terminal. After: code.commit-from-sandbox.

## Where this comes from

Weight 22 of 100 in Code & developer platforms: 18 of 65 accounts (Context7 10, GitMCP 3, DeepWiki 3, Microsoft Learn 2); the largest single cluster found and the one users most often call out as the MCP server they keep

As data: https://www.anchorterminal.com/api/v1/use-cases/code.library-docs.json, or the MCP tool get_use_case with id code.library-docs. Draft, read 2026-11-12 from public docs and first-hand accounts, not yet reviewed by a person.

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
