Context7 is an MCP server that connects an AI assistant to Context7's library documentation service. It lets the assistant look up a library's Context7-compatible ID, then fetch documentation and code examples relevant to a specific question. This gives people a way to bring library reference material into an assistant conversation when asking about a particular library, rather than asking the assistant to work from documentation lookup tools that are not connected to Context7.
What can Context7 do?
Context7 exposes two documented tools for finding and retrieving library documentation. One resolves a library name to the ID Context7 uses. The other fetches documentation and code examples for a library and a specific question. The documented functions concern retrieving reference material, not modifying a project.
- Resolve a library name to a Context7-compatible library ID.
- Fetch current documentation for a library and a specific question.
- Retrieve code examples alongside the documentation.
How Context7 connects and authenticates
The official client guide documents a local stdio connection and a remote HTTP connection. Local stdio uses API-key authentication. Remote HTTP clients can authenticate with OAuth 2.0 or an API key. The guide includes configuration guidance for Claude Code, Cursor, VS Code, ChatGPT, Claude Desktop, Codex, and Smithery. It does not enumerate filesystem, network, or>GitHub Official MCP Server is a related option for work involving GitHub, while Docker MCP Server is another MCP server in this directory. The verified facts here do not establish their specific capabilities, so compare their listings before choosing one. Context7's documented focus is retrieving library documentation and code examples for an assistant.
