$ timeahead.in
/ servers/npm/@upstash/context7-mcp
npm

@upstash/context7-mcp

MCP server for Context7

60k stars1.1M/wkupdated 0d agogithub ↗
59poor
▣ Overview
WebsiteNPM VersionMIT licensed繁體中文简体中文日本語한국어 문서Documentación en EspañolDocumentation en FrançaisDocumentazione in italianoDokumentasi Bahasa IndonesiaDokumentation auf DeutschДокументация на русском языкеУкраїнська документаціяTürkçe DokümanArabic DocumentationTiếng ViệtDocumentação em Português (Brasil)

What it does

Context7 fetches up-to-date, version-specific documentation and code examples from library sources and injects them directly into your LLM prompt. Instead of relying on training-data documentation or generating hallucinated APIs, it retrieves current docs for the exact library and version you're using. Works via CLI + Skills integration or as an MCP server. Specify a library ID or version in your prompt, and Context7 resolves it and returns relevant code samples and documentation snippets.

Who it's for

Backend and fullstack engineers using Claude Code, Cursor, or other LLM agents to generate code that must match current library APIs. Ideal for anyone working with frequently-updated libraries or unfamiliar versions, and anyone tired of dealing with outdated code examples or hallucinated function names in LLM output.

Common use cases

  • Look up correct API signatures and setup patterns for frameworks like Next.js, Supabase, or Cloudflare Workers
  • Get version-specific code examples that match your project's dependencies
  • Query library-specific configuration without leaving your IDE or agent
  • Prevent hallucinated APIs by grounding requests in current source documentation

Setup pitfalls

  • Detected 6 secrets in code — audit before using in shared or production environments
  • Requires API key from context7.com/dashboard for higher rate limits (free tier available)
  • Manual MCP setup requires passing CONTEXT7_API_KEY via environment variable or header
  • Needs Node.js 18+ for CLI tool; MCP server compatible with any MCP client
  • Makes network calls to Context7 servers — ensure firewall rules allow HTTPS to mcp.context7.com
10 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
100
20.0
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
59.0
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "upstashcontext7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
📈 Score historylast 49 snapshots
4/30/20267/21/2026 · 49 snapshots
⚙ Maintenance health
76/ 100 · is this project alive?
contributors (1y)75
top contributor share40%
releases (1y)85
last release3d ago
median issue response1.6d
ci✗ none
⛁ Raw data
weekly downloads1.1M
github stars60k
forks3k
open issues23
license✓ present
readme length9651 chars
last publish0d ago
last commit0d ago
last updated7d ago
install verified✓ pass · 73d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points