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.
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.
- Context7 MCP Serverdetected
- Context7 Public APIdiscovered
- ctx7 CLIdiscovered
$ ctx7 setup --api-key YOUR_API_KEYAcquired by the CLI — running ctx7 setup --api-key YOUR_API_KEY opens the auth flow and stores the credential.
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.
$ ctx7 setupAcquired by the CLI — running ctx7 setup opens the auth flow and stores the credential.
conventions · 2/8 published
- integrations.json✗
/.well-known/integrations.json - llms.txt✗
/llms.txt - API catalog✗
/.well-known/api-catalog - OpenAPI document✓https://context7.com/openapi.json
- MCP server card✗
/.well-known/mcp/server-card.json - OAuth protected resource✓https://context7.com/.well-known/oauth-protected-resource
- Agent card✗
/.well-known/agent-card.json - Agent skills✗
/.well-known/agent-skills/index.json
Publish these signals → /publishing