C

context7.com

Context7 provides up-to-date library and documentation context for developers and coding assistants. It indexes documentation sources and serves search, context retrieval, and MCP-based access to that content.

3 integrations · MCP · REST · CLI

Context7 exposes a bearer-authenticated HTTP API at `https://context7.com/api`, a hosted MCP server at `https://mcp.context7.com/mcp` with API-key or MCP OAuth auth, and a `ctx7` npm CLI that can authenticate via OAuth device flow or an API key.

discovered 13h ago
MCP servers1
REST · OpenAPI1
CLI1
Credentials
Context7 API keybearer$ ctx7 setup --api-key YOUR_API_KEY

Acquired by the CLI — running ctx7 setup --api-key YOUR_API_KEY opens the auth flow and stores the credential.

Context7 MCP OAuth authorizationoauth2Set up OAuth

For the hosted MCP server's OAuth mode, your MCP client self-registers with Context7 using Dynamic Client Registration and then opens the browser for you to sign in and approve access. Configure the MCP server at https://mcp.context7.com/mcp/oauth in an MCP client that supports the MCP OAuth spec; then use the client's Authenticate action. Context7 publishes OAuth endpoints at authorize, token, and dynamic client registration. Documented scopes are profile and email.

Context7 CLI login sessionoauth2$ ctx7 setup

Acquired by the CLI — running ctx7 setup opens the auth flow and stores the credential.

conventions · 2/8 published

Publish these signals → /publishing