Upstash (Context7) · Vendor

Context7 MCP

Look up current, version-specific library documentation and code examples from Context7's index, via the hosted endpoint (keyless, API key or OAuth) or a local npm server.

Is it a fit?

Suitable for

  • Fetching up-to-date docs and code snippets for public libraries while coding.
  • Resolving a library name to a Context7 library ID, then querying a topic or version.
  • Private repository docs on a Pro/Enterprise teamspace.

Choose another option when

  • Offline use or self-contained indexing; the API backend, parser and crawler are private Context7 services.
  • Treating returned docs as vetted; Context7 says library content is community-contributed and not guaranteed accurate or secure.
  • Private repositories on the Free plan.

Vendor cloud

Read only · no declared code execution. `Authorization: Bearer <CONTEXT7_API_KEY>` header (key prefix ctx7sk) from a free Context7 account. How the header secret is stored depends on the client. Keys are issued in the Context7 dashboard (context7.com/dashboard).

Software: Not applicable; hosting: Not applicable; external API: Free tier.

Vendor cloud

Read only · no declared code execution. MCP OAuth spec flow; the /mcp/oauth endpoint asks every request without a sign-in to sign in. User picks a teamspace during authorization. Most clients need an explicit authenticate step after adding the URL (e.g. /mcp in Claude Code). Remote only; not available over stdio.

Software: Not applicable; hosting: Not applicable; external API: Free tier.

No setup recipe published

This is a reference entry. The catalog has no published setup recipe for this server and does not generate one.

Use the publisher’s own instructions in the sources on this page. A listing here is not a compatibility test.

Check client compatibility · Troubleshoot a setup

What the record establishes

Publisher identity
Source matched; this is not a general safety certification.
Editorial record
Human review recorded ·
Last content review
Next review due
License
MIT
Network observation
No network check is inferred from this directory record. A client test, a recipe test, and your own task result are separate evidence.

Runtime variants, permissions, and costs

Vendor cloud · Streamable HTTP · fixed endpoint mcp.context7.com

Reference only
Version
Not recorded
Authentication
API key
Account and credentials
`Authorization: Bearer <CONTEXT7_API_KEY>` header (key prefix ctx7sk) from a free Context7 account. How the header secret is stored depends on the client. Keys are issued in the Context7 dashboard (context7.com/dashboard).
Runtime
Hosted service (version not recorded)
Data contact
Public web content, Private knowledge, Account information
Access and execution
Read only · no declared code execution
Permissions
Same tools as hosted-keyless; with a key, the teamspace's private sources (Pro/Enterprise) are reachable and dashboard-enabled experimental tools are listed. Usage is attributed to the key's member and teamspace. Source declared
External destinations
mcp.context7.com

Three layers of cost

Software
Not applicable

Vendor-hosted endpoint.

Checked
Review due

raw.githubusercontent.com
Hosting
Not applicable

Runs on Context7 infrastructure.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Free: 1,000 API calls/month (MCP, CLI, Search and REST API share it), then blocked with 20 bonus calls per day until the month resets; per-minute rate limit also applies. Pro: $10 per seat/month, 2,000 calls per seat/month, then $5 per 1,000; private repo parsing $5 per 1M tokens. Enterprise: custom.

Checked
Review due

context7.com · context7.com · context7.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

Vendor cloud · Streamable HTTP · fixed endpoint mcp.context7.com

Reference only
Version
Not recorded
Authentication
OAuth
Account and credentials
MCP OAuth spec flow; the /mcp/oauth endpoint asks every request without a sign-in to sign in. User picks a teamspace during authorization. Most clients need an explicit authenticate step after adding the URL (e.g. /mcp in Claude Code). Remote only; not available over stdio.
Runtime
Hosted service (version not recorded)
Data contact
Public web content, Private knowledge, Account information
Access and execution
Read only · no declared code execution
Permissions
Same tools and data flow as hosted-api-key, scoped to the teamspace chosen at sign-in. Source declared
External destinations
mcp.context7.com

Three layers of cost

Software
Not applicable

Vendor-hosted endpoint.

Checked
Review due

context7.com
Hosting
Not applicable

Runs on Context7 infrastructure.

Checked
Review due

context7.com
External API
Free tier

Same plan model as hosted-api-key; OAuth is included on Free.

Checked
Review due

context7.com
Variant sources and lifecycle

Source lifecycle: Unknown · observed Not recorded. This is not a live connection check.

Your client host · Local process · stdio · npm @upstash/context7-mcp 4.7.3

Reference only
Version
4.7.3
Authentication
API key
Account and credentials
CONTEXT7_API_KEY environment variable, or --api-key flag (flag wins). Key optional per Requirements (higher limits, private repos). Nearly every vendor client example passes the key as a command-line argument (`--api-key YOUR_API_KEY`), which exposes it in process listings and config args; a recipe should use the env var. OAuth not supported over stdio. Honors HTTPS_PROXY.
Runtime
Node.js >=20.18.1
Data contact
Public web content, Private knowledge, Account information
Access and execution
Read only · no declared code execution
Permissions
Same tools; --experimental / CONTEXT7_EXPERIMENTAL=1 lists all experimental code tools. Local server calls the Context7 API (REST base https://context7.com/api/... per API guide; the exact host the package calls is inferred, not quoted). Package depends on OpenTelemetry exporters; whether the stdio server emits telemetry by default is not stated. Source declared
External destinations
context7.com · additional destinations are unknown

Three layers of cost

Software
Free

MIT-licensed npm package.

Checked
Review due

raw.githubusercontent.com · registry.npmjs.org
Hosting
Not applicable

Runs on the client host.

Checked
Review due

raw.githubusercontent.com
External API
Free tier

Same Context7 plan model as hosted-api-key (Free 1,000 calls/month; keyless low limits).

Checked
Review due

context7.com · raw.githubusercontent.com
Variant sources and lifecycle

Source lifecycle: active · observed . This is not a live connection check.

Exact published recipes

Reference entry

No supported recipe is published for this server. The sources below and client compatibility guide remain available.

Decision notes

Hosted endpoint offers API-key and OAuth access; the local npm server uses an API key or runs keyless.

Conditions: The vendor also describes keyless use of the hosted endpoint, but its pages disagree on whether a credential is required and it has not been observed, so it is not listed. Keyless limits are unpublished.

Checked

Free plan includes 1,000 API calls per month; Pro is $10 per seat per month with 2,000 calls per seat.

Conditions: Prices on the plans page and plans-pricing doc when checked.

Checked

Tools only read documentation; no write or host effects are documented.

Conditions: Per vendor docs; not observed.

Checked

Context7's documentation pages (the .md pages under context7.com/docs) open with instructions addressed to AI agents: fetch a documentation index, query a docs 'ask' endpoint, and send page ratings with comments to a feedback URL.

Conditions: Seen on the vendor's documentation pages when checked. This is text on the documentation site, not output of the MCP server's tools; an agent that reads those pages may act on it.

Checked

Sources and corrections

Report a factual correction · How evidence is labeled

Browse more servers