Context7 MCP
In 0 active stacks
Be the first to add Context7 MCP to your stack
Playbooks
Learn how people use Context7 MCP
Context7 is an MIT-licensed project from Upstash that feeds current, version-specific documentation and code examples from library sources into AI coding agents. It tackles a common problem: models trained on older data often produce outdated code, invent APIs or answer for the wrong package version. Context7 fetches fresh documentation and places it in the agent's context, so developers get accurate answers without leaving their editor to look things up.
It works in two modes: a CLI paired with installable skills that guide an agent to run its commands, or an MCP server that exposes native tools. The MCP tools are resolve-library-id, which maps a library name to a Context7 ID, and query-docs, which retrieves documentation for that ID and can rank examples by programming language. A single npx command handles setup, including OAuth sign-in and API-key generation, and can target Cursor, Claude or OpenCode; manual configuration uses a hosted endpoint with a bearer-token header.
Context7 works with Claude, ChatGPT, Cursor and VS Code, with guides for more than thirty MCP clients. A free API key is recommended for higher rate limits. Because library content is community-contributed, accuracy isn't guaranteed, and the backend services are private and outside the open-source repository.
Playbooks with Context7 MCP
Stacks with Context7 MCP
People and companies who have Context7 MCP in their active stack.
Ask for your personal affiliate link and earn when people sign up through your stack or playbooks.
Work at Context7 MCP? Take over this page to adapt the content and logo.