Context7 MCP Server

Real-time library documentation for AI coding assistants via MCP

By Upstash ★ 12.4K stars third-party docs coding

Context7 fetches up-to-date, version-specific documentation for thousands of libraries and injects it into your AI coding sessions. Instead of hallucinating deprecated APIs, Claude gets real documentation for the exact package version you're using.

Installation & Configuration

Add this block to your claude_desktop_config.json (or your agent framework's MCP config file):

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    }
  }
}

Config file location:

Available Tools (2)

Use Cases

Source & Documentation

GitHub Repository: https://github.com/upstash/context7

Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io

← Back to MCP Server Directory