FormingMCP servercli_toolclaude-codecodexcursorgemini-clipublished fresh until

Context7 or GitMCP: how do I give my agent current library docs?

Summary Context7 (hosted index) and Grounded Docs MCP Server (local index you build) feed version-specific library documentation into the agent's context; GitMCP serves docs straight from a GitHub repo. Pick by whether you want a hosted index, a private local one, or docs from the repo.

Not for publishing llms.txt for your own docs; see llms-txt-v2-docs-index-for-agents

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The options

Same job, different trade-offs. Pick one in Try it.

Option
AMCP server · v3.2.1Grounded Docs local documentation index (MCP server)
BMCP server · v4.4.2+wwfix.1Context7 MCP (Upstash)
Ccli_tool · v0.8.1Context7 ctx7 CLI
DMCP server · v4.4.4Context7 MCP
How you use itYour agent calls its toolsYour agent calls its toolscli_toolYour agent calls its tools
What it can doinstalls software · writes files · network · runs shellinstalls software · writes files · network · secrets access · runs shellinstalls software · networkinstalls software · network
What's inside
AMCP server · v3.2.1Grounded Docs local documentation index (MCP server)
How you use it
Your agent calls its tools
What it can do
installs software · writes files · network · runs shell
What's inside
BMCP server · v4.4.2+wwfix.1Context7 MCP (Upstash)
How you use it
Your agent calls its tools
What it can do
installs software · writes files · network · secrets access · runs shell
What's inside
Ccli_tool · v0.8.1Context7 ctx7 CLI
How you use it
cli_tool
What it can do
installs software · network
What's inside
DMCP server · v4.4.4Context7 MCP
How you use it
Your agent calls its tools
What it can do
installs software · network
What's inside

What this thread does

These servers fetch real docs at question time. The need. Agents write code against APIs that changed after their training cutoff.

As of November 2026; checked 2026-11-24. Upstash’s Context7 MCP 4.7.3, November 17, treats unset stdio key placeholders as absent and falls back to CONTEXT7_API_KEY; optional submit-docs-feedback is now an experimental tool selected per user in Settings → MCP Tools. The legacy research-preview flags (--research-preview, CONTEXT7_RESEARCH_PREVIEW=1, or hosted ?research_preview=1) still enable all experimental tools, so the default remains the two tools below.

  • Context7 (upstash, @upstash/context7-mcp 4.7.3, 2026-11-17): hosted at https://mcp.context7.com/mcp with two tools, resolve-library-id and query-docs. A free API key is recommended for higher rate limits. npx ctx7 setup can install either an MCP server or a CLI plus skill. The repository includes the MCP server and other Context7 packages; its API backend, parser and crawler are private. Library entries are community-contributed, which the README flags as unverified.
  • Grounded Docs MCP Server (arabold, as of November 2026, v3.5.0, 2026-11-22): runs on your machine and indexes the sources you choose (websites, GitHub, npm, PyPI, local folders). It checks for llms.txt before crawling. Embeddings are optional (OpenAI, Ollama, Gemini and others) and improve search. Node.js 22.14+. Web UI on localhost:6280.
  • GitMCP (idosal, unversioned, last commit 2026-05-08): free hosted endpoint per repo (gitmcp.io/{owner}/{repo}) or generic (gitmcp.io/docs). It prefers a repo's llms.txt, then AI-optimized documentation, then the README. The README's setup covers Cursor, Windsurf, VS Code and Claude Desktop, and says it works with any MCP client. Not packaged here: no commits since May and no Claude Code-specific steps in the README; add the URL as a remote MCP server if you want it.

For an older pinned version (the request behind this thread: upgrading an old Streamlit + LangChain app): index the exact version you pin in Grounded Docs and ask the agent to search it before each edit, or name the version when you ask Context7. Without any tool, the installed package's own source and changelog are the ground truth for that version.

Caveat. Hosted options send your library questions to a third party; Grounded Docs keeps them local unless you configure a remote embedding provider.

Related: llms-txt-v2-docs-index-for-agents (the docs index these servers read first).

Sources: context7, docs-mcp-server, git-mcp.

Reports from users

  • @bartventer, 2026-09-24: "no change in behaviour witnessed since I reported it" — Context7 #3243. A selected Claude Code documentation version stayed in processing, reproduced across browsers. On 2026-10-05, @enesgules confirmed v2.1.274 was available and closed the issue. Historical indexing failure, not evidence that every pinned version is unavailable.

Reports verified against the linked sources on 2026-10-28.

Primary source

Primary sources: the READMEs of upstash/context7, arabold/docs-mcp-server and idosal/git-mcp, plus GitHub and npm release data. Checked: @upstash/context7-mcp 4.7.3 (2026-11-17), hosted endpoint, the resolve-library-id and query-docs tools, API key recommendation, ctx7 setup, private backend and unverified community entries; Grounded Docs v3.5.0 (2026-11-22), sources, llms.txt probing, optional embeddings, Node.js 22.14+, port 6280; GitMCP URL forms, llms.txt preference and the last push on 2026-05-08.

Started from a post by @upstash, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Context7 or GitMCP: how do I give my agent current library docs?
Summary: Context7 (hosted index) and Grounded Docs MCP Server (local index you build) feed version-specific library documentation into the agent's context; GitMCP serves docs straight from a GitHub repo. Pick by whether you want a hosted index, a private local one, or docs from the repo.

## Options
- A · Grounded Docs local documentation index (MCP server) · early, no verdict yet · installs software · writes files · network · runs shell
- B · Context7 MCP (Upstash) · early, no verdict yet · installs software · writes files · network · secrets access · runs shell
- C · Context7 ctx7 CLI · early, no verdict yet · installs software · network
- D · Context7 MCP · early, no verdict yet · installs software · network
Copy for agent
get the whatworks thread current-library-docs-for-agents and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread current-library-docs-for-agents

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Grounded Docs local documentation index (MCP server)

Open-source, local documentation index. You choose what to scrape (websites, GitHub, npm, PyPI, local files, many document formats) and the agent searches it for the exact versions you use. Optional embedding providers (OpenAI, Ollama, Gemini and others) improve search; those need their own API keys. Node.js 22+.

Format
MCP server
Source
github:arabold/docs-mcp-server
Pinned
v3.2.1 · f2938c47bb89
Content hash
f2938c47bb8937c6
Audit
scan passed
Can do
installs software · writes files · network · runs shell
Works with
claude-code · codex · cursor · gemini-cli · github-copilot
Check
Server is registered for this project, pinned to 3.2.1; The registered Grounded Docs server starts over stdio and answers an MCP tools/list; Node.js 22 or newer
Author
@arabold
Kudos
0
Are you @arabold? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package grounded-docs-mcp-server before installing

B · Context7 MCP (Upstash)

Hosted MCP server that resolves a library name to a Context7 ID and returns up-to-date, version-specific docs and code examples. Remote endpoint https://mcp.context7.com/mcp; an API key from context7.com/dashboard is recommended for higher rate limits. Index and crawler are closed source.

Format
MCP server
Source
github:upstash/context7#packages/mcp
Pinned
v4.4.2+wwfix.1 · a57359dc12bf
Content hash
a57359dc12bf41fa
Audit
scan passed
Can do
installs software · writes files · network · secrets access · runs shell
Works with
claude-code · codex · cursor
Check
Every installed client configuration registers the anonymous hosted endpoint; exits 0. No hosted call is made.
Author
@upstash
Kudos
0
Are you @upstash? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package context7-mcp before installing

C · Context7 ctx7 CLI

Looks up current library documentation from the terminal. Pinned ctx7@0.8.1 from npm, run from a locked install: WhatWorks checks only its --version and --help.

Format
cli_tool
Source
—
Pinned
v0.8.1 · npm:ctx7@0.8
Content hash
sha256:6aa9f58fa
Audit
scan warned
Can do
installs software · network
Check
node_modules/.bin/ctx7 --version; node_modules/.bin/ctx7 --help
Author
editor
Kudos
0

This package has no public source link yet.

Ask your agent
show me the whatworks package ctx7-cli-tool before installing

D · Context7 MCP

MCP server that fetches current library documentation for an agent. Pinned @upstash/context7-mcp@4.4.4 from npm, run from a locked install: WhatWorks only started it and listed its tools.

Format
MCP server
Source
—
Pinned
v4.4.4 · npm:@upstash
Content hash
sha256:f677e09bc
Audit
scan warned
Can do
installs software · network
Author
editor
Kudos
0

This package has no public source link yet.

Ask your agent
show me the whatworks package context7-mcp-server before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package grounded-docs-mcp-server

B · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package context7-mcp
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp