#1212th of 190 in MCP servers for developers

context7

MCP server and CLI that feed current library docs to coding agents

Releases and problems feed (RSS)

Stars
65.5k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 35 weeks+16,087
24 Mar 2026: 49,420 stars31 Mar 2026: 50,223 stars7 Apr 2026: 50,935 stars14 Apr 2026: 51,766 stars21 Apr 2026: 52,475 stars28 Apr 2026: 53,140 stars5 May 2026: 53,691 stars12 May 2026: 54,342 stars19 May 2026: 54,867 stars26 May 2026: 55,384 stars2 Jun 2026: 55,862 stars9 Jun 2026: 56,363 stars16 Jun 2026: 56,820 stars23 Jun 2026: 57,276 stars30 Jun 2026: 57,753 stars7 Jul 2026: 58,141 stars14 Jul 2026: 58,541 stars21 Jul 2026: 59,015 stars28 Jul 2026: 59,412 stars4 Aug 2026: 59,780 stars11 Aug 2026: 60,163 stars18 Aug 2026: 60,521 stars25 Aug 2026: 60,825 stars1 Sept 2026: 61,125 stars8 Sept 2026: 61,451 stars15 Sept 2026: 61,763 stars22 Sept 2026: 62,071 stars29 Sept 2026: 62,304 stars6 Oct 2026: 62,559 stars13 Oct 2026: 62,861 stars20 Oct 2026: 63,291 stars27 Oct 2026: 63,730 stars3 Nov 2026: 64,123 stars10 Nov 2026: 64,566 stars17 Nov 2026: 65,091 stars24 Nov 2026: 65,507 stars

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

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…

  1. 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)

  2. 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)

  3. 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)

  4. 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)

  5. 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)

  6. Pass

    No hardcoded keys or tokens

    No key matching a known secret format in 641 files

    repo files ↗ (opens in a new tab)

  7. Pass

    No binaries or archives in agent or server folders

    No binary or archive in 280 files

    repo files ↗ (opens in a new tab)

  8. 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

    workflows ↗ (opens in a new tab)

  9. Pass

    No download-and-run lines

    No download-and-run line in 33 files

    repo files ↗ (opens in a new tab)

  10. Pass

    HTTPS endpoints, no credentials in shipped config

    No plain-http endpoint or literal credential in 10 files

    repo files ↗ (opens in a new tab)

  11. Pass

    No hidden Unicode in agent-facing text

    No hidden Unicode in 171 files

    repo files ↗ (opens in a new tab)

  12. Pass

    No override, concealment or secret-file instructions

    No override, concealment or sensitive-path instruction in 21 files

    repo files ↗ (opens in a new tab)

  13. Pass

    A private way to report a vulnerability

    Security policy published

    security policy ↗ (opens in a new tab)

  14. Pass

    Maintained

    Last activity 2026-11-23 (window 90 days)

    commit 11cb18d ↗ (opens in a new tab)

  15. 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

    repo files ↗ (opens in a new tab)

  16. 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

    github.com ↗ (opens in a new tab)

  17. 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

    auth.ts:135 ↗ (opens in a new tab)

N/A: 1 check does not apply here or had no data
  1. 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
Also in MCP servers for developers
RankProjectScore
#10chrome-devtools-mcpMCP server and CLI that lets coding agents control and debug live Chrome59.5k stars+5,194 (+9.6%) in 30 daysApache-2.090 out of 100
#11open-seoSEO toolkit for keyword research, rank tracking and audits, with an MCP server29k stars+3,831 (+15%) in 30 daysMIT90 out of 100
#13cli/cliOfficial GitHub command-line client for pull requests, issues and repos47.2k starsMIT89 out of 100
#14mcp-toolboxMCP server that exposes databases to agents through prebuilt and custom SQL tools17k starsApache-2.089 out of 100
#15python-sdkOfficial Python SDK for building MCP servers and clients25k stars+335 (+1.4%) in 30 daysMIT88 out of 100