@upstash/context7-mcp weekly downloads statistics
By upstash (8 listings) · npm · MCP servers
MCP server for Context7
@upstash/context7-mcp has 1,286,211 recorded weekly downloads on npm, an increase of 55.4% over the past 30 days, ranking #271 of 3,247 tracked listings.
About @upstash/context7-mcp

<img alt="Install in VS Code (npx)" src="https://img.shields.io/badge/Install%20in%20VS%20Code-0098FF?style=for-the-badge&logo=visualstudiocode&logoColor=white">
Context7 MCP - Up-to-date Docs for AI Agents
❌ Without Context7
LLMs rely on outdated or generic information about the libraries you use. You get:
- ❌ Code examples are outdated and based on year-old training data
- ❌ Hallucinated APIs that don't even exist
- ❌ Generic answers for old package versions
✅ With Context7
Context7 MCP pulls up-to-date, version-specific documentation and code examples straight from the source — and gives them to your coding agent.
Add use context7 to your prompt (or set up a rule to auto-invoke):
Create a Next.js proxy that checks for a valid JWT in cookies
and redirects unauthenticated users to `/login`. use context7
Configure a Cloudflare Worker script to cache
JSON API responses for five minutes. use context7
Context7 fetches up-to-date code examples and documentation right into your coding agent's context.
- 1️⃣ Write your prompt naturally
- 2️⃣ Tell the LLM to
use context7(or set up a rule once) - 3️⃣ Get working code answers
No tab-switching, no hallucinated APIs that don't exist, no outdated code generation.
[!NOTE] This repository hosts the source code of Context7 MCP server. The supporting components — API backend, parsing engine, and crawling engine — are private and not part of this release.
📚 Adding Projects
Check out our project addition guide to learn how to add (or update) your favorite libraries to Context7.
🛠️ Installation
Requirements
- Node.js >= v20.18.1
- Cursor, Claude Code, VSCode, Devin Desktop or another MCP Client
- Context7 API Key (Optional) for higher rate limits and private repositories (Get yours by creating an account at context7.com/dashboard)
<details> <summary><b>Installing via Smithery</b></summary>[!TIP] Recommended Post-Setup: Add a Rule to Auto-Invoke Context7
After installing Context7 (see instructions below), enhance your workflow by adding a rule so you don't have to type
use context7in every prompt. Define a simple rule in your MCP client's rule section to automatically invoke Context7 on any code question:
- For Devin Desktop, in
.devin/rules/directory- For Cursor, from
Cursor Settings > Rulessection- For Claude Code, in
CLAUDE.mdfile- Or the equivalent in your MCP client
Example Rule:
Always use context7 when I need code generation, setup or configuration steps, or library/API documentation. This means you should automatically use the Context7 MCP tools to resolve library id and get library docs without me having to explicitly ask.From then on, you'll get Context7's docs in any related conversation without typing anything extra. You can alter the rule to match your use cases.
To install Context7 MCP Server for any client automatically via Smithery:
npx -y @smithery/cli@latest install @upstash/context7-mcp --client <CLIENT_NAME> --key <YOUR_SMITHERY_KEY>
You can find your Smithery key in the Smithery.ai webpage.
</details> <details> <summary><b>Install in Cursor</b></summary>Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server…
Description from the npm listing.
- modelcontextprotocol
- mcp
- context7
- vibe-coding
- developer tools
- documentation
- context
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm MCP servers plugins
All 20 @upstash/context7-mcp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@upstash/context7-mcp. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.