Context7
by upstash
Retrieves version-aware library documentation and code examples for AI coding agents through Context7.
Install Context7
Run the project’s own setup commands, in order.
Setup steps from the project
upstash/context7 installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com
npx ctx7 setupnpm install -g ctx7
Overview
Use cases
- Retrieve current framework documentation before generating code
- Match a library name to its Context7 identifier
- Query version-specific API examples
- Configure an MCP client to fetch library docs
- Add an automatic documentation lookup rule to a coding agent
Key features
- Resolves library names to Context7 IDs
- Queries library documentation and code examples
- Supports version-aware documentation requests
- Accepts direct library IDs
- Provides a streamable MCP endpoint
- Offers CLI-guided MCP setup
Tools2
What Context7 lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 8d ago via OSV.dev
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Context7 works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Context7
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/upstash-context7)<a href="https://allmcps.com/mcp/upstash-context7"><img src="https://allmcps.com/api/badge/upstash-context7?style=directory" alt="Context7 on AllMCPs" /></a>