context7: a Claude Code plugin by Upstash
Official
For developers who want Claude to read current, version-matched library docs before writing code. Skip it if your queries may not go to an outside service.
- Score
- 75of 100
- Rank
- #8of 25
- Stars
- 46.1Kon GitHub
- Updated
- 2026
Install
/plugin install context7@claude-plugins-official Type it in Claude Code. View the source
What does context7 do?
context7 is a Claude Code plugin that connects Claude to the Context7 MCP server hosted by Upstash, so nothing has to run locally. The server offers two tools. resolve-library-id finds a library by name and returns its Context7 ID, such as /vercel/next.js, along with the versions on file. query-docs then pulls documentation and code examples for that library, ranked by your question. Claude reaches for them when you ask about a library, for example Next.js authentication or Prisma relations. Add a version to the ID to get the docs for that release. It works anonymously, and a CONTEXT7_API_KEY raises the rate limit.
When should you use context7?
Use it when
- Writing code against a library that changed recently
- You need examples for one exact library version
- Claude keeps suggesting APIs that no longer exist
Skip it when
- Your queries may not be sent to outside services
- You only use internal libraries that are not public
What it needs and what it can touch
You need
- Optional: a Context7 API key for higher rate limits
It can
- Sends library names and questions to an outside service (Context7 by Upstash)
From reading its instructions, not from running it.
Why it scores 75
Strongest on upkeep (100 of 100), weakest on adoption (61).
Details
- Repository stars
- 46,058
- Last repository change
- License
- Not stated
- Data confidence
- Medium
Did it do the job for you?
Alternatives to context7
-
Get claude-md-managementclaude-md-management
For Claude Code users who want their CLAUDE.md files to stay accurate as the project changes.