Context7 Versioned Docs MCP

Inject current version-specific library documentation directly into prompts

Resolves exact library IDs and fetches clean, version-accurate code snippets for Next.js, Tailwind, React, and cloud SDKs with only two tools.

Install & Client JSON Configurations

All client configuration manifests are exposed directly below without hidden tabs for zero-click copying.

CLI Install Command
npx -y @upstash/context7-mcp
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
VS Code · .vscode/mcp.json
{
  "servers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}

Ending Stale Training-Data Hallucinations

Rapidly evolving frameworks introduce breaking API signatures between minor releases. Context7 Versioned Docs MCP fetches fresh, version-pinned documentation snippets straight from official sources using only two schema tools, keeping overhead at roughly 740 tokens.

Why It Belongs In Every Coding Stack

  • Resolves canonical package identifiers before retrieving exact API examples.
  • Prevents deprecated React, Next.js App Router, or Tailwind v4 syntax errors during generation.
  • Supports both local stdio execution and zero-install remote Streamable HTTP.

Alternative Servers in This Category

Search & Web
Rising Stack

Tavily Grounded Search MCP

Citation-ready AI search and clean page content extraction API

stdiohttpapi-keyfreemium
Tool Surface4 tools
Reliability Score93 / 100
1050 tok · 3,100 starsInspect config
Search & Web
Long-Tail Niche

Exa Semantic Web Search MCP

Neural embedding web search for GitHub repos, papers, and startups

httpstdioapi-keyfreemium
Tool Surface5 tools
Reliability Score91 / 100
1180 tok · 2,150 starsInspect config
Search & Web
Long-Tail Niche

Jina Reader Markdown MCP

Convert complex web pages and PDFs into clean LLM-ready markdown

httpstdioapi-keyfreemium
Tool Surface6 tools
Reliability Score89 / 100
1320 tok · 1,290 starsInspect config