← Back to directory
C

Context7

Community
Up-to-date code docs for any prompt
Category
Dev Tools #339 of 438
Stars
★ 5.8k Very popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js · Hosted (no local runtime)
Credentials
Optional API key
License
Apache-2.0
Last commit
42FMRS · D

The supplied material identifies Context7 as a server for up-to-date code documentation in prompts, with npm, MCPB, and remote Streamable HTTP options. It is not marked official because the server is maintained by Upstash rather than Klavis. No concrete tools or client compatibility details are provided, so those fields remain empty.

Strongest · Setup experience 10/20 Weakest · Documentation 5/20

Reliability
7/20
Security and permissions
10/20
Maintenance
10/20
Documentation
5/20
Setup experience
10/20
Why each score
Reliability 7/20
The manifest clearly provides npm, mcpb, and streamable-http transports, but it declares no tools, parameters, error behavior, or dependency constraints. The supplied README mainly documents the Klavis platform and provides no Context7 tests, CI, or reviewable execution evidence, so a basic handshake is plausible but a higher score is not justified.
Security and permissions 10/20
The API key is marked optional and secret, and the remote endpoint and transport are explicit, providing basic credential-handling and data-flow visibility. However, there is no evidence of permission scopes, data boundaries, network behavior, logging treatment, or confirmation for dangerous operations. No stated security red line is present, so points are deducted for the missing controls.
Maintenance 10/20
The repository is not archived, has an Apache-2.0 license, and the object metadata shows substantial attention and open issues; the manifest also includes explicit versions and an upstream repository. However, there is no evidence of commit history, release cadence, dependency updates, issue response, or a security-response channel, so sustained maintenance is not sufficiently demonstrated.
Documentation 5/20
The manifest supplies the server name, description, versions, installation identifiers, remote URL, and API-key fields. However, the README concerns other Klavis platform capabilities and provides no Context7 tool descriptions, parameters, limits, costs, authentication configuration, or troubleshooting. Documentation is therefore weak for this specific server.
Setup experience 10/20
The npm, mcpb, and remote HTTP entry points cover common deployment modes, and the transport types are explicit. However, there is no complete configuration example for a mainstream client, runtime requirement, authentication procedure, or platform-compatibility guidance. The README examples are also not for Context7, supporting only a middling score.

Static review · not runListed 2026-07-30

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Developers who need current code documentation
  • Teams using MCP-capable AI agents or clients
  • Users who want to connect through stdio or Streamable HTTP

Not for

  • Users seeking other MCP server capabilities from the Klavis repository
  • Users requiring a documented tool list or documented client compatibility
  • Offline workflows that cannot depend on the external Context7 service

Required permissions

  • If authentication is used, provide CONTEXT7_API_KEY
  • Remote usage requires network access to https://mcp.context7.com/mcp
  • Local stdio or MCPB usage requires the appropriate local runtime environment

Risks and side effects

  • The API key is secret and should not be exposed
  • Remote usage depends on network connectivity and Context7 service availability
  • The supplied sources do not specify the tool list, data handling scope, or detailed permissions

Setup

Before you start

Runtime:Node.js · Hosted (no local runtime)

CONTEXT7_API_KEY optionalsecret Optional API key for authentication (isSecret=true), obtainable from context7.com / Upstash; the server runs without it.

Run the @upstash/context7-mcp npm package over stdio, use the version 2.0.2 MCPB package, or connect to https://mcp.context7.com/mcp. CONTEXT7_API_KEY is optional, used for authentication, and marked as secret.

Check that it works

Confirm the Context7 server appears connected in your MCP client's tool list, then ask it to retrieve up-to-date docs for a known library; a real documentation snippet proves the connection works.

Troubleshooting

  1. Verify that the MCP client supports stdio or Streamable HTTP
  2. Check that the npm package or MCPB package uses version 2.0.2
  3. If authentication is needed, confirm that CONTEXT7_API_KEY is configured correctly and kept secret
  4. For remote usage, verify access to https://mcp.context7.com/mcp

Things to try

Once connected, you can ask your AI assistant things like:

  • Look up the latest official docs for React useEffect
  • Show me the current FastAPI dependency injection usage from its docs
  • How do route handlers work in Next.js App Router according to up-to-date docs?
  • Fetch the latest useQuery API reference for TanStack Query

Use cases

Providing up-to-date code documentation in AI prompts
Supporting developer-tool and code-related workflows
Giving MCP-capable AI clients access to Context7 documentation services

Overview

Context7 is an MCP server provided by Upstash that supplies up-to-date code documentation for prompts. It is available through an npm package, a local MCPB package, or a remote Streamable HTTP service. The server is referenced from the Klavis repository, but its upstream repository is Upstash/context7.

Similar servers

Context7 80 · B

Upstash's official server providing up-to-date third-party library docs for AI coding assistants

★ 63.3k · Tools 2 Compare with this →

More servers from this repository

Source revision 45c9f7da83d1 Data synced 2026-10-19 Read the FMRS scoring method