Servers › Docs & Knowledge › Context7

● MaintainedDocs & Knowledge

Context7 MCP Server

Upstash Context7: up-to-date library documentation for AI coding agents (local @upstash/context7-mcp or hosted mcp.context7.com/mcp). Version 4.9.0 (Nov 26, 2026) lets the hosted server also serve the Agent Skills your team installed in the Context7 dashboard, next to the context7-mcp skill; 4.9.1 (Nov 27) is a small efficiency fix for the hosted server. Version 4.8.0 (Nov 24, 2026) serves the context7-mcp skill through the MCP Skills extension (SEP-2640), and query-docs now takes the version a project uses as its own version input instead of a suffix on the library ID (resolve-library-id no longer lists versions). Version 4.7.3 (Nov 17, 2026) replaces the experimental query-code tool with grep-code, glob-code, read-code and find-symbol, which search and read a library's source the way coding agents search a local project; a dashboard choice that turned query-code on now turns on the new tools. Version 4.6.0 (Nov 9, 2026) added the research-preview get-upgrade-guide tool (what changes between two versions of a library). Version 4.7.0 (Nov 12, 2026) gives get-upgrade-guide a page argument so long guides arrive in complete pages, with migration essentials (breaking changes, codemods, deprecations) first. Research-preview tools only appear with --research-preview, CONTEXT7_RESEARCH_PREVIEW=1 or ?research_preview=1 on the hosted URL. Version 4.5.0 (Nov 3, 2026) fixed 401s in Gemini CLI from an unset ${CONTEXT7_API_KEY} placeholder being treated as a real key.

Setup command

npx ctx7 setup

Source: official setup docs

Remote server (hosted)

Point your client at this URL. Depending on the provider, you sign in with OAuth or send an API key header (see the source docs).

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

Example for Cursor mcp.json. Other apps use slightly different fields; see the setup guide for your app.

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

At a glance

Repositoryupstash/context7
GitHub stars65,682
Last commit2026-11-30 (today)
Statusmaintained
Security advisoriesNo published advisories found as of 2026-11-30. Details
Clients mentioned in READMEClaude Code, Cursor, VS Code, Cline
AuthOAuth
Language / LicenseTypeScript / MIT
Official MCP registryListed ✓

Security advisories

No published advisories found as of 2026-11-30.

Checked 2026-11-30 in the repo's GitHub security advisories and OSV.dev for @upstash/context7-mcp (npm). No advisory doesn't prove a server is safe. How to stay updated.

Common problems

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.