context7-mcp
Use whenever an agent needs current, version-accurate docs for a library, framework, SDK, or API — it fetches live documentation so the agent isn't relying on stale training data.
- Score
- 99.7623 signals
- Evidence
- 62,445 stars · 3,032 forks · 6 mentions
- Last commit
- as last read from GitHub; most reads are from 2 Sep 2026 or later
- Listed
Install
No one-command install. Set it up from its source.
Alternatives · MCPs
- rust-docs47 stars · 11 forks85.960
- lucid75 stars · 3 forks83.342
- laptou-rust-docs31 stars · 11 forks83.134
What it is
An MCP server that pulls up-to-date documentation for libraries and frameworks on demand, resolving a library name to its current docs and returning the relevant sections. It closes the gap between an agent's training cutoff and the actual current API surface.
When to use it
Any time you're about to write or debug code against a library — even a well-known one like React or Next.js — where recent changes might bite you. The trigger is "what does the current API actually look like?"
How to install / invoke
Add @upstash/context7-mcp to your MCP config. Resolve the library, then query its docs as a tool call before
coding against it.
Notes
Prefer this over a generic web search for library docs — it's targeted and current. Not for general programming concepts or business-logic debugging.
Related
Not Indexed
- troubleshoot