osfeed.dev
Projects/upstash / context7

Context7

Library documentation for coding agents

Get it on GitHub
Unclaimed

Written by @iluxav from the project's code and releases, not by its maintainers. Last updated for @upstash/[email protected] (2026-10-09), so it may lag behind newer releases.

Are you @upstash?Claim it, and your coding agent keeps it current with each release
@upstash/[email protected] · 21 things you can do 35 changes to know before upgrading
Follow GitHub

Look up library documentation and code examples for coding tasks through MCP, a command-line tool, or TypeScript integrations.

What you can do with Context7

Retrieve library documentation and code examples in an MCP coding client.

Present at v1.0.21
Good to know

Requires access to the Context7 service; documentation availability depends on the indexed library and version.

Connect coding clients to a locally run documentation server over stdio or HTTP.

Present at v1.0.21
Good to know

Requires Node.js 20.18.1+ and the Context7 service. HTTP requires credentials by default; legacy SSE transport is unavailable and subscriptions provide no change notifications.

Retrieve documentation through an HTTPS proxy.

Present at v1.0.21
Good to know

Requires a reachable proxy and any required CA file configured through Node's environment.

Load Context7 documentation tools through a Gemini CLI extension.

Since v1.0.26
Good to know

Requires Gemini CLI, Node.js and `CONTEXT7_API_KEY`.

Give Vercel AI SDK applications tools for finding libraries and retrieving documentation.

Since @upstash/[email protected]
Good to know

Requires a Context7 API key and compatible AI SDK and Zod packages.

Sign in to a Context7 MCP connection using OAuth.

Since @upstash/[email protected]
Good to know

HTTP MCP requires credentials by default. OAuth needs a compatible client and a valid access token; `/mcp/oauth` remains a compatibility alias.

Sign in, inspect the active identity and sign out through the CLI.

Good to know

Requires access to the Context7 authentication service.

Configure Context7 documentation access and rules for coding agents.

Since @upstash/[email protected]
Good to know

Requires a supported installed agent and access to authentication and skill downloads.

Show all 21

Search for libraries and retrieve their documentation from the terminal.

Good to know

Requires access to Context7; results depend on indexed libraries and account access.

Remove Context7-generated agent configuration while preserving unrelated MCP entries.

Since @upstash/[email protected]
Good to know

Only supported agent artifacts are detected; a globally installed CLI package needs separate uninstallation.

Check for CLI updates and get package-manager-aware upgrade guidance.

Since @upstash/[email protected]
Good to know

Upgrade handling depends on whether the CLI is installed globally or run through an ephemeral runner.

Retrieve library documentation within the pi coding agent.

Since @upstash/[email protected]
Good to know

Requires pi and Context7 access; anonymous access has IP-based limits and an API key enables higher limits.

Authenticate MCP documentation access through an enterprise identity provider.

Since @upstash/[email protected]
Good to know

Requires enterprise configuration; Entra ID uses teamspace tenant/audience settings and pre-provisioned user mappings; enterprise-managed authorization requires a compatible client.

Register Context7 documentation access through an OpenCode plugin.

Since @upstash/[email protected]
Good to know

Requires OpenCode v1 or v2; authentication uses OAuth or a configured API key.

Connect a coding agent to an on-premise Context7 MCP deployment.

Since @upstash/[email protected]
Good to know

Requires a reachable deployment; setup follows its authentication discovery and can request a personal API key.

Authenticate MCP requests with a Vercel Marketplace resource OIDC token.

Since @upstash/[email protected]
Good to know

Requires a valid Vercel Marketplace resource OIDC token and matching resource configuration.

Rank documentation examples in the programming language you use.

Since @upstash/[email protected]
Good to know

Optional preference that ranks code examples in the requested language first.

Search libraries and retrieve documentation from a TypeScript application.

ExperimentalSince @upstash/[email protected]
Good to know

Requires a Context7 API key; the SDK is work in progress and its API may change.

Search relevant documentation without first resolving a library ID.

ExperimentalSince @upstash/[email protected]
Good to know

Requires a Context7 API key; the SDK is documented as work in progress.

Find, install, list and remove skills for coding agents.

DeprecatedSince [email protected]
Good to know

Requires access to the skills service and source repositories; installation targets depend on the agent.

Generate a coding-agent skill from a description and selected library sources.

DeprecatedSince [email protected]
Good to know

Requires authentication; weekly generation quotas apply.

Before you upgrade Context7

Newest first

Remove `MCP_MAX_SUBSCRIPTIONS`; HTTP `subscriptions/listen` now acknowledges and completes immediately, with no change notifications. Use valid `observe` or `required` values for authentication enforcement settings.

Action requiredInferredAffects: HTTP deployments configuring subscriptions or authentication enforcement.
Read the evidence
Show 32 older
v1.0.29

Replace `tokens` with `page` (integer 1–10, default 1) in `get-library-docs` calls; search results now use source reputation and benchmark scores.

Action requiredInferredAffects: Custom MCP tool callers and consumers of library-search text.
Read the evidence
v1.0.29

Replace legacy `/sse` connections with HTTP `/mcp` or stdio; the SSE routes have been removed.

Action requiredInferredAffects: Clients still configured with the legacy SSE endpoint.
Read the evidence
Context7 release history 23
@upstash/[email protected]
with @upstash/[email protected], [email protected], mcpb-v4.1.2, [email protected], @upstash/[email protected], mcpb-v4.1.3, @upstash/[email protected], mcpb-v4.2.0, @upstash/[email protected], [email protected], mcpb-v4.2.1, [email protected], @upstash/[email protected], @upstash/[email protected], mcpb-v4.3.0, [email protected]

Prioritize documentation examples in your programming language.

Details

MCP `query-docs` adds `language`, and CLI `docs` adds `--language`. HTTP credentials are required by default, OAuth tokens are validated more strictly, and the CLI declares Node.js 22.13+.

MCP 4.1.2–4.3.0; CLI 0.5.13–0.6.0; SDK 0.5.1; OpenCode plugin 0.2.0.

Added: Rank documentation examples in the programming lang…Action required / inferredAction required: Sign in to a Context7 MCP connection using OAuth.Action required / inferred: Connect coding clients to a locally run documentati…Now works: Retrieve library documentation and code examples in…Now works: Configure Context7 documentation access and rules f…Now works: Remove Context7-generated agent configuration while…Now works: Search libraries and retrieve documentation from a…Limit lifted: Register Context7 documentation access through an O…Behavior changed

Seeded by @iluxav with Codex

Read the evidence

Search documentation without first resolving a library ID.

Details

The TypeScript SDK adds a typed `search` method. CLI identity errors distinguish rejected sessions from other lookup failures.

SDK 0.5.0 and CLI 0.5.12; AI SDK tools 1.0.2 retain their API.

Added: Search relevant documentation without first resolvi…Behavior changed: Sign in, inspect the active identity and sign out t…

Seeded by @iluxav with Codex

Read the evidence
@upstash/[email protected]
with mcpb-v4.0.5, [email protected], @upstash/[email protected], @upstash/[email protected], mcpb-v4.0.6, [email protected], @upstash/[email protected], @upstash/[email protected], @upstash/[email protected], mcpb-v4.0.7, @upstash/[email protected], mcpb-v4.1.0, @upstash/[email protected], mcpb-v4.1.1

Configure an on-premise Context7 MCP endpoint from the CLI.

Details

Setup accepts `--base-url` with personal API-key entry or anonymous-auth discovery. The SDK adds HTTP controls and token providers, with a new default request timeout.

CLI 0.5.10–0.5.11; SDK 0.4.0–0.4.1; MCP 4.0.5–4.1.1.

Added: Connect a coding agent to an on-premise Context7 MC…Now works: Configure Context7 documentation access and rules f…Action required: Search libraries and retrieve documentation from a…Action required: Sign in to a Context7 MCP connection using OAuth.Behavior changed: Connect coding clients to a locally run documentati…Added / inferred: Authenticate MCP requests with a Vercel Marketplace…

Seeded by @iluxav with Codex

Read the evidence

Install Context7 directly as an OpenCode plugin.

Details

The OpenCode plugin registers MCP and its documentation skill. HTTP authentication recognizes the advertised API-key header and publishes the correct OAuth issuer.

OpenCode plugin 0.1.0; MCP 4.0.3–4.0.4; CLI 0.5.9.

Added: Register Context7 documentation access through an O…Now works: Sign in to a Context7 MCP connection using OAuth.Now works: Retrieve library documentation and code examples in…Now works: Search for libraries and retrieve their documentati…Now works: Configure Context7 documentation access and rules f…

Seeded by @iluxav with Codex

Read the evidence

Use HTTP documentation calls without accumulating idle response streams.

Details

MCP HTTP serving becomes stateless and uses JSON responses unless an exchange needs SSE. Upstream calls time out after 60 seconds, and CLI documentation commands refresh expired login credentials.

MCP 4.0.0–4.0.2 requires Node.js 20.18.1+; CLI 0.5.8.

Limit lifted: Connect coding clients to a locally run documentati…Now works: Sign in, inspect the active identity and sign out t…

Seeded by @iluxav with Codex

Read the evidence

Retrieve documentation through CONNECT proxies on Node.js 26 and later.

Details

MCP restores proxy and custom-CA support on newer Node.js and raises its minimum runtime. CLI setup gains a fallback for skill downloads and writes standard bearer headers.

MCP 3.2.5 requires Node.js 20.18.1+; CLI 0.5.6–0.5.7.

Now works: Retrieve documentation through an HTTPS proxy.Action required: Connect coding clients to a locally run documentati…Now works: Configure Context7 documentation access and rules f…

Seeded by @iluxav with Codex

Read the evidence

Diagnose CLI sign-in failures from the underlying network error.

Details

OAuth failures now report network causes and HTTP response details rather than only generic errors.

CLI 0.5.5; MCP 3.2.4 only updates a dependency.

Behavior changed: Sign in, inspect the active identity and sign out t…

Seeded by @iluxav with Codex

Read the evidence

Get documentation queries scoped to individual concepts.

Details

Tool descriptions across MCP, CLI, pi and AI SDK tools now request separate queries for distinct concepts, except when asking how the concepts interact.

MCP 3.2.3, CLI 0.5.4, pi 0.1.1 and AI SDK tools 0.2.4.

Behavior changed: Retrieve library documentation and code examples in…

Seeded by @iluxav with Codex

Read the evidence

Sign in from remote terminals using a device code.

Details

CLI login adopts device authorization; enterprise MCP supports Entra ID and enterprise-managed authorization. Skills commands are deprecated, and CLI files move to XDG directories.

CLI 0.4.5–0.5.3, MCP 3.1.0–3.2.2, and SDK 0.3.1.

Behavior changed: Sign in, inspect the active identity and sign out t…Action requiredNow works: Configure Context7 documentation access and rules f…Deprecated: Find, install, list and remove skills for coding ag…Deprecated / inferred: Generate a coding-agent skill from a description an…Now works: Search for libraries and retrieve their documentati…Added: Authenticate MCP documentation access through an en…Now works: Connect coding clients to a locally run documentati…Behavior changed: Retrieve library documentation and code examples in…Now works: Search libraries and retrieve documentation from a…

Seeded by @iluxav with Codex

Read the evidence

Retrieve documentation inside the pi coding agent.

Details

The pi extension provides documentation tools and `/c7-docs`. CLI setup gains a stdio mode, while HTTP server deployments now need Redis credentials for sessions.

pi extension 0.1.0; MCP 2.3.0–3.0.0; CLI 0.4.3–0.4.4.

Added: Retrieve library documentation within the pi coding…Now works: Configure Context7 documentation access and rules f…Behavior changed: Find, install, list and remove skills for coding ag…Action required / inferred: Connect coding clients to a locally run documentati…Behavior changed: Retrieve library documentation and code examples in…

Seeded by @iluxav with Codex

Read the evidence

Keep using MCP when a client supplies common alternative argument names.

Details

MCP accepts specific aliases for query and library arguments and exits when its stdio parent closes. CLI cleanup skips malformed agent configs instead of crashing.

MCP 2.2.5 and CLI 0.4.2.

Now works: Retrieve library documentation and code examples in…Now works: Connect coding clients to a locally run documentati…Now works: Remove Context7-generated agent configuration while…Now works: Configure Context7 documentation access and rules f…

Seeded by @iluxav with Codex

Read the evidence

Remove generated Context7 setup without deleting unrelated MCP entries.

Details

The CLI adds setup cleanup and upgrade commands. Research mode appears in MCP 2.2.0 and CLI 0.4.0, then is withdrawn by MCP 2.2.4 and CLI 0.4.1.

CLI 0.4.0–0.4.1; MCP 2.2.0–2.2.4.

Added: Remove Context7-generated agent configuration while…Added: Check for CLI updates and get package-manager-aware…Action required: Retrieve library documentation and code examples in…Action required: Search for libraries and retrieve their documentati…Now works: Connect coding clients to a locally run documentati…

Seeded by @iluxav with Codex

Read the evidence

Install documentation skills on Windows without path-validation failures.

Details

CLI setup adds Gemini CLI and GitHub authentication for downloads; skill installs gain noninteractive options. MCP preserves default certificate authorities when extra ones are configured.

CLI 0.3.10–0.3.13 and MCP 2.1.7–2.1.8.

Now works: Configure Context7 documentation access and rules f…Behavior changed: Find, install, list and remove skills for coding ag…Now works: Retrieve documentation through an HTTPS proxy.Behavior changed: Connect coding clients to a locally run documentati…

Seeded by @iluxav with Codex

Read the evidence

Reconfigure existing coding-agent connections through setup.

Details

Setup can overwrite existing MCP entries, recognizes OpenCode JSON and JSONC variants, and installs rules alongside skills, including Codex rules.

CLI 0.3.8–0.3.9; MCP 2.1.6 is included.

Now works: Configure Context7 documentation access and rules f…Behavior changed: Find, install, list and remove skills for coding ag…Now works: Retrieve documentation through an HTTPS proxy.

Seeded by @iluxav with Codex

Read the evidence

Look up library documentation directly from a terminal.

Details

The CLI adds `library` and `docs` commands and a CLI-plus-skills setup mode. MCP search results include sources and filtering warnings.

CLI 0.3.2–0.3.6 and MCP 2.1.3–2.1.4.

Added: Search for libraries and retrieve their documentati…Behavior changed: Configure Context7 documentation access and rules f…Now works: Sign in, inspect the active identity and sign out t…Behavior changed: Retrieve library documentation and code examples in…Behavior changed: Connect coding clients to a locally run documentati…Behavior changed: Find, install, list and remove skills for coding ag…

Seeded by @iluxav with Codex

Read the evidence

Set up Context7 across Claude Code, Cursor and OpenCode.

Details

`ctx7 setup` configures MCP and rules and installs a documentation lookup skill. Skill installation consolidates universal agent targets.

CLI 0.3.0–0.3.1; skill target changes start in 0.2.4.

Added: Configure Context7 documentation access and rules f…Action required: Find, install, list and remove skills for coding ag…

Seeded by @iluxav with Codex

Read the evidence

Find and install coding-agent skills from the terminal.

Details

The CLI can search, install, list and generate skills, authenticate with OAuth, and suggest skills from project dependencies. Usage telemetry is enabled with an opt-out.

Install `ctx7` 0.2.0–0.2.3; skill generation requires authentication and has weekly quotas.

Added: Find, install, list and remove skills for coding ag…Added: Generate a coding-agent skill from a description an…Added: Sign in, inspect the active identity and sign out t…Behavior changed

Seeded by @iluxav with Codex

Read the evidence

Authenticate an MCP connection through OAuth.

Details

MCP switches to query-based retrieval and adds OAuth discovery at `/mcp/oauth`. TypeScript and AI SDK callers must update method names and arguments.

MCP 2.0.0–2.1.0; SDK 0.2.0–0.3.0 and AI SDK tools through 0.2.1.

Action required: Retrieve library documentation and code examples in…Action required: Search libraries and retrieve documentation from a…Action required: Give Vercel AI SDK applications tools for finding l…Added: Sign in to a Context7 MCP connection using OAuth.

Seeded by @iluxav with Codex

Read the evidence

Add documentation lookup to a TypeScript application.

Details

The repository provides a TypeScript client and Vercel AI SDK tools. The MCP search tool also regains API-key forwarding over stdio.

MCP 1.0.33; TypeScript SDK documented as work in progress; AI SDK tools 0.1.0 require an API key and AI SDK 5+.

Added: Search libraries and retrieve documentation from a…Added: Give Vercel AI SDK applications tools for finding l…Now works: Retrieve library documentation and code examples in…

Seeded by @iluxav with Codex

Read the evidence
@upstash/[email protected]
with v1.0.30

Choose conceptual guides as well as code examples.

Details

`get-library-docs` adds `mode`, with `code` as the default and `info` for conceptual documentation.

MCP v1.0.30; also covered by the 1.0.31 tag.

Behavior changed: Retrieve library documentation and code examples in…

Seeded by @iluxav with Codex

Read the evidence
v1.0.29
with v1.0.27, v1.0.28

Retrieve additional pages of library documentation.

Details

Documentation fetching replaces the token budget with a page number. Library results expose source reputation and benchmark scores, and the legacy SSE endpoint is removed.

MCP v1.0.27–v1.0.29; use HTTP `/mcp` or stdio.

Action required / inferred: Retrieve library documentation and code examples in…Action required / inferred: Connect coding clients to a locally run documentati…

Seeded by @iluxav with Codex

Read the evidence
v1.0.26
with v1.0.22, v1.0.23, v1.0.24, v1.0.25

Configure Context7 through a Gemini CLI extension.

Details

The repository adds a Gemini extension manifest using an API key from the environment. SSE users receive a transport deprecation notice.

MCP v1.0.22–v1.0.26; the Gemini extension uses Node.js and `CONTEXT7_API_KEY`.

Added / inferred: Load Context7 documentation tools through a Gemini…Action required: Connect coding clients to a locally run documentati…

Seeded by @iluxav with Codex

Read the evidence
v1.0.21
Starting point

Bring version-specific library documentation into an MCP coding client.

Details

The existing MCP tools resolve library names and retrieve documentation by library ID, with optional topic and token controls. Clients can connect over HTTP or start a local stdio server.

Context7 MCP v1.0.21; local execution needs Node.js 18+ and an MCP client. API keys are optional for higher limits and private repositories.

Added: Retrieve library documentation and code examples in…Added: Connect coding clients to a locally run documentati…Added: Retrieve documentation through an HTTPS proxy.

Seeded by @iluxav with Codex

Read the evidence