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

@upstash/context7-mcp

MCP server for Context7

57k stars1.1M/wkupdated 0d agogithub ↗
58poor
▣ 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 live sources and injects them directly into the LLM's context. Rather than relying on training data, it resolves library names to their Context7 IDs and retrieves current API documentation on demand. This addresses the core problem of LLMs hallucinating APIs and generating code based on outdated patterns.

Who it's for

Backend engineers, library maintainers, and developers writing integration code who need accurate, current API signatures. Particularly valuable when working with frequently updated libraries or when version-specific behavior matters.

Common use cases

  • Fetch current authentication patterns from Supabase docs before implementing email/password sign-up flows
  • Retrieve version-specific Next.js middleware APIs to avoid deprecated patterns
  • Query live MongoDB or Postgres client library docs before generating database queries
  • Look up Cloudflare Worker API signatures for current cache and request handling
  • Resolve library names to Context7 IDs for targeted documentation retrieval

Setup pitfalls

  • Requires a free Context7 API key from context7.com/dashboard; passed via CONTEXT7_API_KEY environment variable
  • Reads and writes local filesystem and makes outbound HTTPS calls to context7.com for documentation retrieval—sandbox network access or audit responses
  • Six secrets found in the codebase; review the repository's credential handling before use in shared environments
  • No continuous integration (has_ci: False)—validate integration with your specific libraries before relying on it in production workflows
6 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%
80
8.0
Trust
10%
50
5.0
Total
58.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 30 snapshots
4/30/20266/6/2026 · 30 snapshots
⚙ Maintenance health
52/ 100 · is this project alive?
contributors (1y)93
top contributor share42%
releases (1y)75
last release0d ago
median issue response63.1d
ci✗ none
⛁ Raw data
weekly downloads1.1M
github stars57k
forks3k
open issues132
license✓ present
readme length9651 chars
last publish0d ago
last commit0d ago
last updated7h ago
install verified✓ pass · 21d 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