Feature your MCP

Context7 MCP

Community

Local and remote · MIT · Updated Nov 6, 2026

RegionGlobal

/Context7 MCP, explained

Context7 is an MCP server by Upstash that gives AI coding agents access to current, version-specific documentation and code examples for software libraries and frameworks. Instead of relying on outdated training data, agents can query Context7 to retrieve docs straight from the source, reducing hallucinated APIs and stale code generation.

It works in two modes: a CLI + Skills mode where an installed skill guides the agent to fetch docs using ctx7 CLI commands, and an MCP mode where the agent calls documentation tools natively. It integrates with clients like Claude, ChatGPT, Cursor, and VS Code, and can be set up with a single npx command.

An API key from context7.com is recommended for higher rate limits, and requests are authenticated via a Bearer token. The MCP server source is open source under the MIT license, while the API backend, parsing engine, and crawling engine are private.

Context7 library projects are community-contributed, and the maintainers note they cannot guarantee the accuracy or security of all documentation.

AI-generated listing based on the project's public information. It may contain errors: check the original source.

/What Context7 MCP is for

Create a Next.js proxy that checks for a valid JWT in cookies and redirects unauthenticated users to /login, using up-to-date docs
Show the Supabase auth API for email/password sign-up with current documentation
Configure a Cloudflare Worker script to cache JSON API responses for five minutes
Find the Context7 library ID for MongoDB and retrieve its latest docs
Get documentation for a specific library version, such as Next.js 16

/What Context7 MCP can do once connected

What your assistant can call once connected.

ToolWhat it does
resolve-library-idResolves a general library name into a Context7-compatible library ID, ranking results by relevance to the user's question or task.
query-docsRetrieves up-to-date documentation and code examples for a library using a Context7-compatible library ID, with optional language ranking.

/Context7 MCP: frequently asked questions

Do I need a key or an account?

No. It connects without a key.

Which assistants does it work with?

Claude, ChatGPT, Gemini, Grok

Which countries does it work in?

Any country.