#1212th of 190 in MCP servers for developers
context7
MCP server and CLI that feed current library docs to coding agents
- Stars
- 65.5k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
49,420 on 24 Mar 202665,507 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Context7 retrieves version-specific documentation and code examples for libraries and injects them into a coding agent's context. It works either as an MCP server exposing resolve-library-id and query-docs, or as a ctx7 CLI plus an installed skill. The repository holds the MCP server source; the API backend, parsing and crawling engines are private.
Who it is for: Developers using AI coding agents who want current library docs in context
Strengths
- One command, npx ctx7 setup, configures the skill or MCP for Cursor, Claude Code or OpenCode
- Two modes: MCP tools or CLI with skill, so MCP support is optional
- Version-aware lookup, and library IDs like /vercel/next.js skip the matching step
- Also ships a TypeScript SDK and Vercel AI SDK tools as npm packages
Weaknesses
- Docs index, API backend, parsing and crawling engines are private; not self-hostable from this repo
- Needs network access to mcp.context7.com; the README gives no offline mode
- Free API key recommended for higher rate limits; limits are not stated
- Docs are community-contributed; accuracy and security are not guaranteed
What it needs
- no GPU
- Needs Node.js 22.13+ (ctx7 CLI), Context7 hosted API (mcp.context7.com), Context7 API key (recommended)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- [Bug]: plugin-based install is not documented and seems like doesn't support the API keys ↗ (opens in a new tab)3 reactions · closed 11 Jun 2026Fixed by feat: update plugin version to 1.0.2 and add API key usage instructions in documentation ↗ (opens in a new tab)
- [Bug]: CLI fails to recover Git Bash-mangled library ID when Git is installed via Scoop ↗ (opens in a new tab)1 reactions · closed 27 Aug 2026Fixed by fix(cli): recover Scoop Git Bash library IDs ↗ (opens in a new tab)
- [Bug]: Stopped working for Node 18 ↗ (opens in a new tab)1 reactions · closed 13 Jun 2026Fixed by fix: restore Node 18 support for context7 mcp ↗ (opens in a new tab)
- [Bug]: GitHub Copilot is claimed to be supported, but isn't with global setup ↗ (opens in a new tab)1 reactions · closed 19 Mar 2026Fixed by fix(cli): use ~/.agents/skills for global universal skill installs ↗ (opens in a new tab)
- [Bug]: setup --cli --universal --project` silently ignores `--universal` and installs to auto-detected agent dir ↗ (opens in a new tab)0 reactions · closed 2 Jun 2026Fixed by fix(cli): wire --antigravity and remove broken --universal in setup ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Safety checks
Checks passed: 15 of 17 (23 Nov 2026)
Checked commit 11cb18d ↗ (opens in a new tab) · npm ctx7 0.12.2 · npm @upstash/context7-mcp 4.7.3 · npm @upstash/context7-opencode 0.2.2 · content sha256:2c040aeb5df2…
- Pass
Package points back to this repo
npm ctx7@0.12.2, npm @upstash/context7-mcp@4.7.3, npm @upstash/context7-opencode@0.2.2 names this repo
npm ctx7 ↗ (opens in a new tab), npm @upstash/context7-mcp ↗ (opens in a new tab), npm @upstash/context7-opencode ↗ (opens in a new tab)
- Pass
Listed in the official MCP Registry under the owner's name
Listed as io.github.upstash/context7
MCP Registry: io.github.upstash ↗ (opens in a new tab), MCP Registry: context7 ↗ (opens in a new tab)
- Fail
Latest release has build provenance
No build provenance on npm ctx7@0.12.2, npm @upstash/context7-mcp@4.7.3, npm @upstash/context7-opencode@0.2.2
npm ctx7 ↗ (opens in a new tab), npm @upstash/context7-mcp ↗ (opens in a new tab), npm @upstash/context7-opencode ↗ (opens in a new tab)
- Pass
No advisories at CVSS 7 or higher
No advisory at CVSS ≥ 7 in npm ctx7@0.12.2, npm @upstash/context7-mcp@4.7.3, npm @upstash/context7-opencode@0.2.2, own GitHub advisories (partial: dependencies of npm ctx7@0.12.2 not read; dependencies of npm @upstash/context7-mcp@4.7.3 not read; dependencies of npm @upstash/context7-opencode@0.2.2 not read)
api.deps.dev ↗ (opens in a new tab), api.deps.dev ↗ (opens in a new tab), api.deps.dev ↗ (opens in a new tab)
- Pass
No install-time scripts
No install scripts in npm ctx7@0.12.2, npm @upstash/context7-mcp@4.7.3, npm @upstash/context7-opencode@0.2.2
npm ctx7 ↗ (opens in a new tab), npm @upstash/context7-mcp ↗ (opens in a new tab), npm @upstash/context7-opencode ↗ (opens in a new tab)
- Pass
No hardcoded keys or tokens
No key matching a known secret format in 641 files
- Pass
No binaries or archives in agent or server folders
No binary or archive in 280 files
- Pass
No dangerous CI workflow
No dangerous workflow pattern and no write-all token in 6 workflows. Note: 3 of 6 workflows set no top-level permissions
- Pass
- Pass
HTTPS endpoints, no credentials in shipped config
No plain-http endpoint or literal credential in 10 files
- Pass
No hidden Unicode in agent-facing text
No hidden Unicode in 171 files
- Pass
No override, concealment or secret-file instructions
No override, concealment or sensitive-path instruction in 21 files
- Pass
A private way to report a vulnerability
Security policy published
- Pass
- Pass
No fake prerequisite or installer steps
No installer or prerequisite step in 33 files; read: commit 11cb18d, npm ctx7@0.12.2, npm @upstash/context7-mcp@4.7.3, npm @upstash/context7-opencode@0.2.2
- Pass
No email recipients added since the last checked version, no hidden BCC
No address added since the check on 2026-11-16 (commit 72844e5) (0 in the code); npm ctx7@0.12.2: no address added since ctx7@0.12.0 (0 in the code); npm @upstash/context7-mcp@4.7.3: no address added since @upstash/context7-mcp@4.7.1 (0 in the code); npm @upstash/context7-opencode@0.2.2: no address added since @upstash/context7-opencode@0.2.1 (0 in the code); read: commit 11cb18d, npm ctx7@0.12.2, npm @upstash/context7-mcp@4.7.3, npm @upstash/context7-opencode@0.2.2
- Fail
No shell commands built from input, no unchecked URL opening
1 × opens a URL without checking its scheme (packages/cli/src/commands/auth.ts); read: commit 11cb18d
N/A: 1 check does not apply here or had no data
- N/A
HTTP endpoints check auth or stay on localhost
No HTTP or SSE transport in the code (stdio only)
Facts, not pass or fail
- Bundles scripts
- No
- Hooks
- No
- A bin folder
- No
- MCP config file
- Yes
- Calls other MCP tools
- No
- Domains its agent files link to
- context7.com, github.com, mcp.context7.com, upstash.com, www.w3.org
- Hosts in its code new since the last check
- None
Read on 23 Nov 2026 from the repo's files, npm, PyPI, deps.dev, OSV and the MCP Registry. We ran nothing from the project. N/A means the check does not apply or we could not read its data. Not part of the score: what each check looks at and what it cannot see. A result looks wrong? Tell us on GitHub (opens in a new tab).
Also in MCP servers for developers
See all 190| Rank | Project | Score |
|---|---|---|
| #10 | chrome-devtools-mcpMCP server and CLI that lets coding agents control and debug live Chrome | 90 out of 100 |
| #11 | open-seoSEO toolkit for keyword research, rank tracking and audits, with an MCP server | 90 out of 100 |
| #13 | cli/cliOfficial GitHub command-line client for pull requests, issues and repos | 89 out of 100 |
| #14 | mcp-toolboxMCP server that exposes databases to agents through prebuilt and custom SQL tools | 89 out of 100 |
| #15 | python-sdkOfficial Python SDK for building MCP servers and clients | 88 out of 100 |