Search
Context7
Pulls up-to-date documentation for libraries and frameworks into your AI client, so it stops guessing at outdated APIs. It exposes two tools: resolve-library-id and query-docs. The project's README also offers a guided setup with npx ctx7 setup.
Beginner by Upstash Claude CodeClaude DesktopCursorOpenAI Codex
Install
Claude Codeclaude mcp add context7 -- npx -y @upstash/context7-mcp Claude Desktop Add the JSON config below to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop.
CursorAdd the JSON config below to .cursor/mcp.json (this project) or ~/.cursor/mcp.json (all projects).
OpenAI Codexcodex mcp add context7 -- npx -y @upstash/context7-mcp
JSON config
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
}