Context7 pulls up-to-date, version-specific documentation and code examples directly from the source, get better answers when generating and debuging codes.
An implementation of the Model Context Protocol (MCP) server that integrates Context7, providing up-to-date, version-specific documentation and code examples.
Source Code: https://github.com/upstash/context7
On the MCP Server interface, log in and enter the API-KEY to generate the URL.
On the user's MCP Client interface, add the generated SSE URL to the MCP Server list.
"mcpServers": {
"context7": {
"url": "https://mcp.higress.ai/mcp-context7/{generate_key}",
}
}
Resolves a general package name into a Context7-compatible library ID. This is a required first step before using the get-library-docs tool.
Parameters:
Fetches up-to-date documentation for a library. You must call resolve-library-id first to obtain the exact Context7-compatible library ID.
Parameters: