Context7
io.github.upstash/context7
MCP server OK 2 tools
Up-to-date docs for AI agents
Technical sheet
- Author
- upstash (registry namespace)
- Repository
- github.com/upstash/context7
- Site
- context7.com
- Version
- 4.9.1
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://mcp.context7.com/mcp Streamable HTTP
- Packages
- @upstash/context7-mcp 4.9.1 npm stdio
https://github.com/upstash/context7/releases/download/mcpb-v4.9.1/context7.mcpb 4.9.1 mcpb stdio - Tools
- 2
- Categories
- AI, agents and memory
- Last updated
- 27 Nov 2026
- Published
- 27 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.upstash/context7)<a href="https://latlas.dev/en/mcp/io.github.upstash/context7"><img src="https://latlas.dev/badge/fiche/io.github.upstash/context7.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.context7.com/mcp
- Last result
- OK 28 Nov 2026, 09:29
- Response time
- 1,311 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- Context7 4.9.1
- Tools
- 2
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:29 | OK | 1,311 ms | 2 |
Exposed tools (2, from tools/list, 28 Nov 2026)
resolve-library-id
Resolve Context7 Library ID
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) 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 w…
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What to look up in the library's documentation. This is used to rank library results by relevance to what the user is trying to accomplish. The query is sent to the Context7 API for processing. Do not include any sensitive or confidential information such as API keys, passwords, credentials, person… |
| libraryName | string | yes | Library name to search for and retrieve a Context7-compatible library ID. Use the official library name with proper punctuation — e.g., 'Next.js' instead of 'nextjs', 'Customer.io' instead of 'customerio', 'Three.js' instead of 'threejs'. |
query-docs
Query Documentation
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. If the user's project or question names a version of the library (package.json, a lockfile, "Next.js 14"), pass it as `version`. Context7 serves that version's documentation, or the closest version it has, and says which one it served.
| Parameter | Type | Required | Description |
|---|---|---|---|
| libraryId | string | yes | Exact Context7-compatible library ID (e.g., '/mongodb/docs', '/vercel/next.js', '/supabase/supabase') retrieved from 'resolve-library-id' or directly from user query in the format '/org/project' or '/org/project/version'. |
| query | string | yes | What to look up in the library's documentation, scoped to a single concept. Be specific and include relevant details, but keep each query to one topic — if the user's question spans multiple distinct concepts, make a separate call per concept instead of combining them, unless the question is about… |
| language | string | no | Programming language the user is writing code in, such as 'Python', 'TypeScript', 'Go', or 'C#'. Ranks code examples in that language first. Leave it out when the language is unknown or does not apply. |
| version | string | no | Version of the library the user's project uses or the question names, as written there, such as '15.4.3', '^15.4.3' or '14'. Pass it here, not as a suffix of libraryId. Leave it out for the latest documentation. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.context7.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http context7 https://mcp.context7.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : context7 ; URL : https://mcp.context7.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : context7 ; Server URL : https://mcp.context7.com/mcp ; Create as a plugin{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}{
"mcpServers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}{
"mcpServers": {
"context7": {
"httpUrl": "https://mcp.context7.com/mcp"
}
}
}[mcp_servers.context7]
url = "https://mcp.context7.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Context7 · L’Atlas · Tested on
[Context7 — L’Atlas](https://latlas.dev/en/mcp/io.github.upstash/context7)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.