Context7: a Claude connector by Context7
Official
For developers who want Claude to code against current library docs instead of old training data. Skip it if you only use well known, stable APIs.
Add it
Add it from its page in Claude’s connector directory and sign in. In Claude Code you can add it with this command:
claude mcp add --transport http context7 https://mcp.context7.com/mcp Run it in your terminal. Open its page in the directory
context7 is also a Claude Code plugin. See that page
What does Context7 do?
Context7 is a Claude connector that feeds current code examples and documentation for software libraries into Claude's context. It has two tools: resolve-library-id finds the right library from a name, and query-docs fetches the matching docs and examples. The goal is fewer invented APIs and less outdated code. Context7's own docs say adding "use context7" to a prompt calls it, that a free account includes 1,000 calls a month, and that an API key raises limits and opens private repositories.
When should you use Context7?
Use it when
- You are using a library that changed recently
- Claude keeps suggesting functions that no longer exist
- You want examples for a specific library version
Skip it when
- You do not write code
- Your stack is old and stable
What it needs and what it can touch
You need
- A Context7 account
What it can do
- Sends library names and queries to Context7 and reads back documentation
From reading its instructions, not from running it.
Details
Did it do the job for you?
Alternatives to Context7
-
Get StripeStripe
For developers and founders on Stripe who want Claude to read and act on the Stripe API and docs.