Context7
Plugin by anthropics · updated · ★ 44k
Context7 is a Claude Code plugin that connects to Context7's hosted MCP server. It pulls version-specific documentation and code examples from source repositories into the assistant's context. It is aimed at developers who want up-to-date library docs while they work. Context7 is published by anthropics on GitHub.
Install Context7
Built from the published package, never by AI/plugin marketplace add anthropics/claude-plugins-official
/plugin install context7@claude-plugins-officialType both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.
Skills can run scripts on your machine. Some need an API key: check the README.
Last commit 2 days ago
Apache-2.0: permissive, fine for commercial use
Clear description, 43,811 stars, original repository
No risky patterns in the files we checked
About Context7
Context7 is an Upstash MCP server for looking up current documentation. The plugin connects to Context7's hosted remote MCP server at https://mcp.context7.com/mcp. According to the listing, no local Node.js or npx is required.
The server pulls version-specific documentation and code examples directly from source repositories into the LLM context. It works anonymously out of the box. Setting the CONTEXT7_API_KEY environment variable gives higher rate limits. The listing is aimed at developers who want their assistant to use current library documentation.
Written from the project's README and checked against it.
Weekly newsletter
Like Context7? Get the best new plugins every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Try asking
- Look up the current docs for a library's latest version
- Show me a code example for this API from its source repository
- Find version-specific documentation for the framework I am using
Good to know
- Anonymous use has lower rate limits than use with an API key.
- Anthropic does not control or verify the MCP servers included in plugins.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Look up current library documentation
- Find version-specific code examples
- Check API usage from source repositories
Alternatives to Context7
All alternatives →Solve competition math (IMO, Putnam, USAMO) with adversarial verification that catches what self-verification misses. Fresh-context verifiers attack proofs with specific failure patterns. Calibrated abstention over bluffing.
Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Persistent cross-session memory: hooks, MCP tools, recall/handoff skills
Context7 is an MCP server that pulls version-specific documentation and code examples from source repositories into an AI coding agent's context. It is for developers who want current library docs instead of outdated training data.
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI, and injects relevant context back into future sessions.
Persistent memory system for Claude Code. Captures what your agent does during a session, compresses it, and injects relevant context back into future sessions.
Context7: common questions
Does Context7 need Node.js or npx to run?
The listing says no local Node.js or npx is required, because the plugin connects to Context7's hosted remote MCP server.
Do I need an API key to use Context7?
No. The listing says it works anonymously out of the box. Setting CONTEXT7_API_KEY gives higher rate limits.
What kind of documentation does Context7 provide?
The listing says it pulls version-specific documentation and code examples directly from source repositories into the LLM context.
How do I install Context7?
Inside Claude Code, add the marketplace with /plugin marketplace add anthropics/claude-plugins-official, then install the plugin with the second command shown above.
Is Context7 free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Context7 safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Context7?
Similar plugins: Math olympiad, Context7, Agentmemory, Context7.
