Skip to content
ai-supply.store
खोजेंश्रेणियाँलीडरबोर्डसमुदायAgent APIFAQ
साइन इनमुफ़्त साइन अप
catalog / Coding / Context7 MCP
◇MCP serverCodingFree

Context7 MCP

MCP server that injects up-to-date, version-specific library documentation and code snippets into an LLM's context.

@ai-supply
इंस्टॉल35k
⟳ upstream @upstash/context7-mcp@4.0.2 · updated 6d ago
↗ सोर्स रिपॉज़िटरी
← More CodingCoding leaderboard →How we grade security →Source ↗
! Grade B · 88/100 · ReviewSecurity assessment
✓No compromise signals27capabilities surfaced1known CVE8of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredExternal endpoints declared
scanned 1d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

Context7 MCP

Context7 pulls current, version-specific documentation and working code examples for thousands of libraries directly into your LLM's context. It targets a common failure mode of coding assistants — stale training data producing hallucinated or outdated APIs — by fetching real docs on demand as an MCP server.

Add "use context7" to a prompt and the model retrieves relevant, pinned documentation before it writes code.

Key features

  • Up-to-date, version-pinned docs and snippets for popular frameworks and libraries
  • resolve-library-id and get-library-docs MCP tools
  • Reduces API hallucinations by grounding generation in real documentation
  • Works with Claude Code / Desktop, Cursor, VS Code, Windsurf, Zed, and other MCP clients
  • Simple npx install, no local index to maintain

Usage note: add the Context7 server to your MCP client config, then reference it in prompts (or let the client auto-invoke it) when generating or debugging library code.

Curated mirror of the open-source Context7 MCP (MIT). Get it from the source.

Rating rank
#1
of 27 in Coding
Install rank
#16
of 27 in Coding
Security score
88/100 · B
review
Security rank
#12
of 27 in Coding
Installs
35k
cat avg 157k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Coding leaderboard →
! Security: Review · 8888/100 · grade Bscanned 1d ago
✓ no compromise signals28 risk-surface · 7/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · high confidence (static)
Tools (5)
resolve-library-idquery-docscontext7-mcpContext7context7
⚑ filesystem⚑ shell⚑ network⚑ secrets
egress → unpkg.com, cursor.com, img.shields.io, context7.com, www.npmjs.com, mcp.context7.com, x.com, upstash.com +32

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chainhigh
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 12 npm dependencies declared · upstash-context7-d27c0f1/package.jsonrisk surface
•Dependency manifest — 19 npm dependencies declared · upstash-context7-d27c0f1/packages/cli/package.jsonrisk surface
•Dependency manifest — 6 npm dependencies declared · upstash-context7-d27c0f1/packages/pi/package.jsonrisk surface
•Dependency manifest — 5 npm dependencies declared · upstash-context7-d27c0f1/packages/sdk/package.jsonrisk surface
•Dependency manifest — 9 npm dependencies declared · upstash-context7-d27c0f1/packages/tools-ai-sdk/package.jsonrisk surface
•Vulnerable dependencies — 91 known vulnerabilities in: @earendil-works/pi-coding-agent@0.78.0, @hono/node-server@1.19.14, ajv@8.17.1, body-parser@2.2.0, body-parser@2.2.2, brace-expansion@1.1.15, brace-expansion@2.0.2, brace-expansion@5.0.6 (CWE-1395)known CVE · -12 pts
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — environment/secret exfiltration · upstash-context7-d27c0f1/docs/api-guide.mdx (CWE-200)risk surface
•Suspicious code patterns — child_process exec · upstash-context7-d27c0f1/packages/cli/src/__tests__/github.test.ts (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · upstash-context7-d27c0f1/packages/cli/src/setup/mcp-writer.ts (CWE-95)risk surface
⚠LLM06Excessive Agencymedium
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · upstash-context7-d27c0f1/.changeset/README.mdrisk surface
•External endpoints declared — 7 distinct host(s) · upstash-context7-d27c0f1/.gitignorerisk surface
•External endpoints declared — 10 distinct host(s) · upstash-context7-d27c0f1/README.mdrisk surface
•External endpoints declared — 2 distinct host(s) · upstash-context7-d27c0f1/docs/adding-libraries.mdxrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · upstash-context7-d27c0f1/docs/clients/claude-code.mdx (CWE-272)risk surface
•External endpoints declared — 3 distinct host(s) · upstash-context7-d27c0f1/docs/clients/codex.mdxrisk surface
•External endpoints declared — 4 distinct host(s) · upstash-context7-d27c0f1/docs/clients/vscode.mdxrisk surface
•External endpoints declared — 5 distinct host(s) · upstash-context7-d27c0f1/docs/docs.jsonrisk surface
•External endpoints declared — 8 distinct host(s) · upstash-context7-d27c0f1/docs/enterprise/enterprise-managed-auth/entra.mdxrisk surface
•External endpoints declared — 6 distinct host(s) · upstash-context7-d27c0f1/docs/enterprise/on-premise.mdxrisk surface
•External endpoints declared — 38 distinct host(s) · upstash-context7-d27c0f1/docs/resources/all-clients.mdxrisk surface
•External endpoints declared — 14 distinct host(s) · upstash-context7-d27c0f1/i18n/README.de.mdrisk surface
•External endpoints declared — 13 distinct host(s) · upstash-context7-d27c0f1/i18n/README.es.mdrisk surface
•External endpoints declared — 15 distinct host(s) · upstash-context7-d27c0f1/i18n/README.fr.mdrisk surface
•External endpoints declared — 31 distinct host(s) · upstash-context7-d27c0f1/i18n/README.id-ID.mdrisk surface
•External endpoints declared — 21 distinct host(s) · upstash-context7-d27c0f1/i18n/README.ja.mdrisk surface
•External endpoints declared — 34 distinct host(s) · upstash-context7-d27c0f1/i18n/README.pt-BR.mdrisk surface
•External endpoints declared — 16 distinct host(s) · upstash-context7-d27c0f1/i18n/README.ru.mdrisk surface
•External endpoints declared — 28 distinct host(s) · upstash-context7-d27c0f1/i18n/README.uk.mdrisk surface
•External endpoints declared — 39 distinct host(s) · upstash-context7-d27c0f1/packages/mcp/README.mdrisk surface
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · upstash-context7-d27c0f1/pnpm-lock.yaml (CWE-272)risk surface
⚠LLM07System Prompt Leakagemedium
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · upstash-context7-d27c0f1/docs/enterprise/on-premise.mdx (CWE-200)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · upstash-context7-d27c0f1/packages/cli/src/commands/generate.ts (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chainhigh
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 12 npm dependencies declared · upstash-context7-d27c0f1/package.jsonrisk surface
•Dependency manifest — 19 npm dependencies declared · upstash-context7-d27c0f1/packages/cli/package.jsonrisk surface
•Dependency manifest — 6 npm dependencies declared · upstash-context7-d27c0f1/packages/pi/package.jsonrisk surface
•Dependency manifest — 5 npm dependencies declared · upstash-context7-d27c0f1/packages/sdk/package.jsonrisk surface
•Dependency manifest — 9 npm dependencies declared · upstash-context7-d27c0f1/packages/tools-ai-sdk/package.jsonrisk surface
•Vulnerable dependencies — 91 known vulnerabilities in: @earendil-works/pi-coding-agent@0.78.0, @hono/node-server@1.19.14, ajv@8.17.1, body-parser@2.2.0, body-parser@2.2.2, brace-expansion@1.1.15, brace-expansion@2.0.2, brace-expansion@5.0.6 (CWE-1395)known CVE · -12 pts
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — environment/secret exfiltration · upstash-context7-d27c0f1/docs/api-guide.mdx (CWE-200)risk surface
•Suspicious code patterns — child_process exec · upstash-context7-d27c0f1/packages/cli/src/__tests__/github.test.ts (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · upstash-context7-d27c0f1/packages/cli/src/setup/mcp-writer.ts (CWE-95)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (10) · hygiene / uncategorized
•Unrecognized file type — '.gitignore' is not on the allowlist · upstash-context7-d27c0f1/.gitignorerisk surface
•Unrecognized file type — '.prettierignore' is not on the allowlist · upstash-context7-d27c0f1/.prettierignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · upstash-context7-d27c0f1/LICENSErisk surface
•Unrecognized file type — '.mdx' is not on the allowlist · upstash-context7-d27c0f1/docs/adding-libraries.mdxrisk surface
•Unrecognized file type — '.mcpbignore' is not on the allowlist · upstash-context7-d27c0f1/packages/mcp/mcpb/.mcpbignorerisk surface
•Unrecognized file type — '.mcpb' is not on the allowlist · upstash-context7-d27c0f1/packages/mcp/mcpb/context7.mcpbrisk surface
•Archive disguised as another type — content is a zip but extension is .mcpb · upstash-context7-d27c0f1/packages/mcp/mcpb/context7.mcpbrisk surface
•Unrecognized file type — '.mjs' is not on the allowlist · upstash-context7-d27c0f1/packages/mcp/prettier.config.mjsrisk surface
•Suspicious network references — raw IP URL (2 URLs) · upstash-context7-d27c0f1/packages/mcp/test/integration.test.tsrisk surface
•Unrecognized file type — '.mdc' is not on the allowlist · upstash-context7-d27c0f1/plugins/cursor/context7/rules/use-context7.mdcrisk surface
✔ verified source · pinned upstash-context7-d27c0f1 · changed since last scan · +egress your-site.atlassian.net, gerrit.example.com, context7.example.com
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/context7-code-docs-mcp/check). Click a policy:

Consume Context7 MCP programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/context7-code-docs-mcp

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/context7-code-docs-mcp/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add context7-code-docs-mcp

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/context7-code-docs-mcp/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "context7-code-docs-mcp" })
OpenAPI spec →
vlatest
! Security: Review · 881mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

मुफ़्त, सुरक्षा-जाँची गई AI क्षमताएँ — skills, MCPs, plugins, agents, datasets और बहुत कुछ, हर एक ग्रेडेड और ताज़गी-ट्रैक्ड, और इंसानों तथा agents दोनों के लिए बनाई गई।

api · v3.1status · all green
संपर्क करें
support@ai-supply.storesecurity@ai-supply.store
कैटलॉग
  • खोजें
  • श्रेणियाँ
  • लीडरबोर्ड
  • बेंचमार्क
  • सुरक्षा
  • Scan a repo
समुदाय
  • समुदाय
  • FAQ
एजेंट के लिए
  • क्विकस्टार्ट (60s)
  • एजेंट अधिकृत करें
  • Agent API
  • OpenAPI स्पेसिफिकेशन
बिल्डर्स के लिए
  • प्रकाशित करें
  • डैशबोर्ड
खाता
  • खाता बनाएँ
  • साइन इन
  • सेटिंग्स
कानूनी
  • नियम व शर्तें
  • प्रकाशक अनुबंध
  • स्वीकार्य उपयोग नीति
  • गोपनीयता