Context7 MCP Server

Up-to-date code docs for any prompt

People who work with vibe coding and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-18 · ★ 62,152 · #1 OF 208 MAINTAINED DOCUMENTATION · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Context7

Claude Code

claude mcp add upstash-context7 --transport http https://mcp.context7.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "upstash-context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://mcp.context7.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-09-17

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · Claude Desktop extension (.mcpb bundle) · remote - your agent's requests go to mcp.context7.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license MIT - declared in the repository

npm package @upstash/context7-mcp - published under the repo owner's npm scope (@upstash)

registry namespace io.github.upstash is GitHub-verified and matches the repo owner

03 · What Context7 can do

What it does

LLMs rely on outdated or generic information about the libraries you use.

From the project's README.

What you can build

With this server connected, an agent can resolve a general library name into a Context7-compatible library ID, and retrieve documentation for a library using a Context7-compatible library ID.

The 2 tools it gives your agent

Extracted from the project's README - what Context7 lets an agent do.

resolve-library-id
- Resolves a general library name into a Context7-compatible library ID.
query-docs
- Retrieves documentation for a library using a Context7-compatible library ID.

Limitations (from the README)

If you already know exactly which library you want to use, add its Context7 ID to your prompt. That way, Context7 can skip the library-matching step and directly retrieve docs. The slash syntax tells Context7 exactly which library to load docs for.

Latest releases

@upstash/context7-mcp@4.1.1 · 2026-09-14

Disable unused MCP notification subscriptions so clients do not hold open SSE streams for static tool, prompt, and resource collections.

mcpb-v4.1.1 · 2026-09-14

MCP Bundle for @upstash/context7-mcp@4.1.1

@upstash/context7-mcp@4.1.0 · 2026-09-11

Add bounded OpenTelemetry metrics for MCP requests, tools, authentication, and upstream API calls, exposed for Prometheus on the HTTP server's internal telemetry port.

In the wild · how people use Context7

Public posts that name a concrete use case. Linked source posts - not MCPhq reviews, ratings, or endorsements.

04 · Who maintains Context7

Context7 is maintained by upstash. We track 3 MCP servers from upstash - 3 actively maintained, 62,211 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from upstash.

  1. mcp-server Manage Upstash databases and resources through the Upstash Developer API. ★ 59

05 · Facts

category
documentation - ranked #1 of 208 actively-maintained documentation servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-14)
registry
io.github.upstash/context7 (active, first published 2025-10-22 · 9 versions)
packages
npm:@upstash/context7-mcp · mcpb:https://github.com/upstash/context7/releases/download/mcpb-v4.1.1/context7.mcpb

06 · Context7 FAQ

Is Context7 still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-18 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Context7?

Run `npx -y @upstash/context7-mcp`. You can also paste the ready-made client config above.

Does Context7 require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-09-17; you can connect without credentials.

07 · Alternatives to Context7

head to head · Context7 vs GitLab MCP · Svelte MCP vs Context7 · Appwrite MCP Server vs Context7