Context7
Current Spec Verified Confidence: High (0.95)Context7 is an MCP server published by Upstash with verified support for the current MCP specification revision (2026-07-28). It is the first-party server from Upstash. Last verified 2026-08-07.
Does Context7 support the current MCP specification (2026-07-28)?
Yes. Context7 has verified support for MCP revision 2026-07-28, the current stable specification (last verified 2026-08-07).
Is Context7 a first-party (official) MCP server?
Yes. Context7 is the first-party MCP server published by Upstash (last verified 2026-08-07).
How do I connect to Context7?
Context7 is available via a hosted remote endpoint at https://mcp.context7.com/mcp, the package npm:@upstash/context7-mcp, the official MCP Registry under io.github.upstash/context7, the source repository at https://github.com/upstash/context7. Authentication: api_key. Transports: streamable-http, stdio.
Does Context7 support MCP revision 2026-07-28?
Yes. Context7 supports MCP revision 2026-07-28 (checked 2026-08-07).
When were Context7's facts last verified?
2026-08-07. Each fact on this page links to the sources used to verify it.
Which MCP concepts apply to Context7?
- Stateless core - The 2026-07-28 revision's redesign of MCP from a bidirectional stateful protocol into a request/response stateless one: the initialize handshake and protocol-level session are removed, every request carries its protocol version, client identity, and capabilities in _meta, and any request can land on any server instance behind a plain load balancer.
- Streamable HTTP - MCP's HTTP transport, introduced in the 2025-03-26 revision as the replacement for the original HTTP+SSE transport. A single endpoint accepts JSON-RPC POST requests; since 2026-07-28, requests must carry the Mcp-Method and Mcp-Name headers for header-based routing, and the legacy HTTP+SSE transport is formally deprecated.
Context7 is Upstash's documentation server for coding agents. It pulls current, version-specific library documentation and code examples into a prompt, addressing stale training data; the README's framing is that it places docs "straight from the source" into context. The open-source repository contains the MCP server only. Upstash discloses that the supporting API backend, parsing engine, and crawling engine are private.
The primary deployment is Upstash's hosted endpoint at
https://mcp.context7.com/mcp, authorized with a bearer API key (free
keys issue from context7.com/dashboard; anonymous use works at lower
rate limits) with an OAuth variant at /mcp/oauth. A local stdio
install via npm remains available, and the docs describe enterprise
SSO paths alongside the API-key model.
Spec support is current, confirmed two ways on the same day. The
@upstash/context7-mcp@4.0.0 release of 2026-08-07 states it migrated
the server to the v2 SDK packages and "the 2026-07-28 protocol
revision", with stateless HTTP for modern and legacy clients and
Redis-backed sessions removed. A probe of the hosted endpoint that
afternoon answered server/discover unauthenticated, reporting
supportedVersions ["2026-07-28"] and serverInfo Context7 4.0.0.
One catalog caveat: the official MCP Registry record for
io.github.upstash/context7 still describes version 1.0.31, published
2025-11-28, with no remote endpoint listed. The npm package and the
hosted service are three major versions ahead of the registry record.
Which MCP spec revisions does Context7 support?
Context7 has 1 verified spec-support record. Each row lists the revision, the verified status, the evidence URL, and the date that fact was last checked.
| Spec revision | Status | Last checked | Evidence |
|---|---|---|---|
| MCP 2026-07-28 | Supported | Source |
How widely adopted is Context7?
Ranked #5 in The MCP 500 with Adoption Index 93.18 (snapshot , methodology v1).
| Measurement | Value | Source |
|---|---|---|
| Official MCP Registry | yes | API · |
| npm downloads (weekly) | 1,005,327 | API · |
| GitHub stars | 60,757 | API · |
| GitHub forks | 2,927 | API · |
| Last push | 2026-08-14T16:44:27Z | API · |
| Repository archived | no | API · |
How was this verified, and what are the sources?
Verified · method: endpoint-probe
· confidence 0.95 (High).
- Official MCP Registry record io.github.upstash/context7 version 1.0.31 (published 2025-11-28) - npm package @upstash/context7-mcp, stdio transport, no remote endpoint listed; the record is three major versions behind the current npm release - accessed
- @upstash/context7-mcp@4.0.0 release notes (published 2026-08-07) - "Migrate the MCP server to the v2 SDK (@modelcontextprotocol/{node, server,client} 2.0.0) and the 2026-07-28 protocol revision. HTTP serving is now stateless for both modern and legacy clients, and Redis-backed sessions are removed." - accessed
- Endpoint probe of https://mcp.context7.com/mcp - answered server/discover unauthenticated with supportedVersions ["2026-07-28"] and serverInfo Context7 4.0.0, over a streamable-http POST with an SSE-framed response; response headers advertise a Bearer WWW-Authenticate challenge with an RFC 9728 resource_metadata URL - accessed
- upstash/context7 README - "Context7 pulls up-to-date, version-specific documentation and code examples straight from the source"; documents the hosted server URL https://mcp.context7.com/mcp with an Authorization Bearer API key, a free key at context7.com/dashboard for higher rate limits, and discloses that the API backend, parsing engine, and crawling engine are private and not part of the repository - accessed
- Context7 client setup docs - document the remote endpoint https://mcp.context7.com/mcp with bearer-token auth and an OAuth 2.0 variant at https://mcp.context7.com/mcp/oauth; context7.com's footer states "Context7 is an Upstash project" - accessed