Search / io.github.upstash/context7
Context7
R0· no sign-inUp-to-date docs for AI agents
v4.4.4 · active · repository · website · descriptor JSON · versions
Search / io.github.upstash/context7
R0· no sign-inUp-to-date docs for AI agents
v4.4.4 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "Bearer ${CONTEXT7_TOKEN}"
}
}
}
}claude mcp add --transport http context7 https://mcp.context7.com/mcp --header "Authorization: Bearer ${CONTEXT7_TOKEN}"[mcp_servers.context7]
url = "https://mcp.context7.com/mcp"
bearer_token_env_var = "CONTEXT7_TOKEN"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer {env:CONTEXT7_TOKEN}"
}
}
}
}{
"mcpServers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "Bearer ${CONTEXT7_TOKEN}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=context7&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLmNvbnRleHQ3LmNvbS9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgJHtDT05URVhUN19UT0tFTn0ifX0%3D"
}{
"servers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "Bearer ${CONTEXT7_TOKEN}"
}
}
}
}{
"mcpServers": {
"context7": {
"httpUrl": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "Bearer ${CONTEXT7_TOKEN}"
}
}
}
}extensions:
"context7":
enabled: true
name: "context7"
type: streamable_http
uri: "https://mcp.context7.com/mcp"
headers:
"Authorization": "Bearer ${CONTEXT7_TOKEN}"
timeout: 300
Placeholders to fill from your own secret store: ${CONTEXT7_TOKEN}. The registry never accepts secret values.
protocol.modernsupports 2026-07-28 (server/discover)protocol.statelessanswers without a sessionprotocol.transportstreamable HTTPprotocol.list_ttltool list is cacheable (ttlMs 3600000)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_length1 tools have descriptions over 1,024 characters, which crowds the contexttools.schemasevery tool has an object input schematools.annotations2 of 2 tools declare readOnlyHint or destructiveHinttools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHinttools.token_costabout 1,248 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changes2 tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvabledependencies not resolved yetquery-docschangedinput schemaquery-docschangeddescription, input schemaRetrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. You must call 'Resolve Context7 Library ID' tool first to obtain the exact Context7-compatible library ID required to use this tool, UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query. Do not call this tool more than 3 times per question.
Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. You must call 'Resolve Context7 Library ID' tool first to obtain the exact Context7-compatible library ID required to use this tool, UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query. Do not call this tool more than 3 times per question. If you know the programming language the user is working in, pass it as `language` so the results match their setup.
Full history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website -thin-description +reachable +uptime-100% +updated-0d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
@upstash/[email protected] npmnot resolved yet; dependencies are read once a day
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://mcp.context7.com/mcp streamable-http | none | yes | 100% | 147 ms | 2026-07-28 | 2026-10-19 |
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
@upstash/context7-mcp | npm | 4.4.4 | – | CONTEXT7_API_KEY |
https://github.com/upstash/context7/releases/download/mcpb-v4.4.4/context7.mcpb | mcpb | 4.4.4 | – | CONTEXT7_API_KEY |
query-docsread-only | Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. You must call 'Resolve Context7 Library ID' tool first to obtain the exact Context7-compatible library ID required to use this tool, UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query. Do not call this tool more than 3 times per question. If you know the programming language the user is working in, pass it as `language` so the results match their setup. |
resolve-library-idread-only | Resolves a package/product name to a Context7-compatible library ID and returns matching libraries. You MUST call this function before 'Query Documentation' tool to obtain a valid Context7-compatible library ID UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query. Each result includes: - Library ID: Context7-compatible identifier (format: /org/project) - Name: Library or package name - Description: Short summary - Code Snippets: Number of available code examples - Source Reputation: Authority indicator (High, Medium, Low, or Unknown) - Benchmark Score: Quality indicator (100 is the highest score) - Versions: List of versions if available. Use one of those versions if the user provides a version in their query. The format of the version is /org/project/version. For best results, select libraries based on name match, source reputation, snippet coverage, benchmark score, and relevance to your use case. Selection Process: 1. Analyze the query to understand what library/package the user is looking for 2. Return the most relevant match based on: - Name similarity to the query (exact matches prioritized) - Description relevance to the query's intent - Documentation coverage (prioritize libraries with higher Code Snippet counts) - Source reputation (consider libraries with High or Medium reputation more authoritative) - Benchmark Score: Quality indicator (100 is the highest score) Response Format: - Return the selected library ID in a clearly marked section - Provide a brief explanation for why this library was chosen - If multiple good matches exist, acknowledge this but proceed with the most relevant one - If no good matches exist, clearly state this and suggest query refinements For ambiguous queries, request clarification before proceeding with a best-guess match. IMPORTANT: Do not call this tool more than 3 times per question. If you cannot find what you need after 3 calls, use the best result you have. |
Schemas: list_tools.
{
"name": "io.github.upstash/context7",
"icons": [
{
"src": "https://raw.githubusercontent.com/upstash/context7/master/public/icon.png",
"mimeType": "image/png"
}
],
"title": "Context7",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://mcp.context7.com/mcp",
"type": "streamable-http",
"headers": [
{
"name": "Authorization",
"isSecret": true,
"description": "API key for authentication. Accepts \"Bearer <key>\" or the raw key."
}
]
}
],
"version": "4.4.4",
"packages": [
{
"version": "4.4.4",
"transport": {
"type": "stdio"
},
"identifier": "@upstash/context7-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "CONTEXT7_API_KEY",
"isSecret": true,
"description": "API key for authentication"
}
]
},
{
"version": "4.4.4",
"transport": {
"type": "stdio"
},
"fileSha256": "25cabf3767cc61171e3435c4ce5427e03ffe7ab671cc0e2d5b89e04eef246949",
"identifier": "https://github.com/upstash/context7/releases/download/mcpb-v4.4.4/context7.mcpb",
"registryType": "mcpb",
"environmentVariables": [
{
"name": "CONTEXT7_API_KEY",
"isSecret": true,
"description": "API key for authentication"
}
]
}
],
"repository": {
"url": "https://github.com/upstash/context7",
"source": "github"
},
"websiteUrl": "https://context7.com",
"description": "Up-to-date docs for AI agents"
}