C

context7.com

Context7 provides up-to-date, version-specific documentation and code examples for software libraries, designed for use by AI coding agents and developers. It indexes sources such as code repositories, websites, llms.txt files, OpenAPI specs, and Confluence, then serves search and documentation snippets on demand.

6 integrations · MCP · REST · CLI

Context7 exposes a REST API at `https://context7.com/api`, a public hosted MCP server at `https://mcp.context7.com/mcp`, a separate admin MCP server at `https://admin.mcp.context7.com/mcp`, and the `ctx7` npm CLI; API keys are the main credential, with OAuth also supported for MCP clients.

discovered 17d ago
MCP servers3
REST · OpenAPI2
CLI1
Credentials
Context7 API keyapi_key$ ctx7 setup

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

OAuth 2.0oauth2
OAuth 2.0 — self-onboarding

Point your MCP client at the server URL and approve access in the browser. The server accepts a Client ID Metadata Document (CIMD), so the client authenticates with its own hosted URL as the client_id — nothing to register.

Context7 API keyapi_key$ ctx7 login

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

Context7 OAuthoauth2

MCP clients can authenticate interactively via OAuth 2.0 instead of an API key. Discovery is standard: the MCP endpoint publishes RFC 9728 metadata at https://mcp.context7.com/.well-known/oauth-protected-resource, pointing new interactive clients at Clerk's authorization server, https://clerk.context7.com. Context7 retains https://context7.com only as a compatibility issuer for previously registered clients and enterprise-managed authorization. See Set Up OAuth.

conventions · 6/8 published

Publish these signals → /publishing