MCP server

Context7 MCP server

Context7 has an official MCP server: Current, version-specific docs and code examples for thousands of libraries, pulled into the prompt. Below is the server with the setup for 13 clients: Claude Code, Claude Desktop, ChatGPT, Cursor, VS Code, Codex, Gemini CLI and more. Checked 2026-10-24 against each project's own repo, docs and the official MCP Registry.

Context7

Official · UpstashRemote + local

Current, version-specific docs and code examples for thousands of libraries, pulled into the prompt.

★ 64kpushed 2026-10-23MIThttps://mcp.context7.com/mcpUpstash on DevHunt

The URL also takes Authorization as a header (see its docs), for clients or setups without OAuth sign-in.

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

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

FAQ

Is there an official Context7 MCP server?+

Yes: Context7, maintained by Upstash.

How do I connect Context7 to Claude?+

In Claude Code run: claude mcp add --transport http context7 https://mcp.context7.com/mcp, then /mcp to sign in. In Claude Desktop or claude.ai, go to Customize > Connectors > Add > Add custom connector and paste https://mcp.context7.com/mcp.

How do I use the Context7 MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab on the server above: it has the exact mcp.json entry and a one-click install link. The same server also works in Claude Code, Claude Desktop / claude.ai, ChatGPT, Cursor, VS Code and Codex.

Can I use the Context7 MCP server in ChatGPT?+

ChatGPT connects to remote MCP servers only. Context7 has a hosted URL: at chatgpt.com/plugins choose + > Add custom MCP server, paste the URL and create it as a plugin.

Is it safe to give an AI agent access to Context7?+

Start with the official server, a read-only or test account and approval prompts on for anything that writes. Content the agent reads from Context7 (tickets, messages, pages) can carry prompt-injection instructions, so don't auto-approve actions.

All documentation MCP servers · Agent skills · How MCP setup works in each client

MCP servers for similar apps: Angular · AWS · Azure · DeepWiki · Microsoft Learn · Mintlify · Next.js · OpenAI · Svelte · SvelteKit