Context7

Retrieve current library documentation into a coding agent’s context.

Project

Publisher update ·

Context7 MCP 4.7.3

The MCP package replaces the opt-in query-code tool with grep-code, glob-code, read-code and find-symbol to navigate indexed library source.

Context7 supplies coding agents with library documentation and code examples matched to the requested library version.

Read the publisher’s release ↗

Coverage record

Stories on file
0
Monitoring target
Every 12 hours across 5 sources
Last completed check
Facts checked

Builder facts

Fact sheet.

Lookup model
The MCP tools resolve a library name to an index ID and query documentation by that ID. A language hint ranks matching code examples first. Source ↗
Delivery
Context7 provides a hosted MCP endpoint and a local npm server package. Its separate ctx7 CLI and skills can retrieve documentation without MCP. Source ↗
Service plans
Context7 offers a free API key with higher limits. The Free plan covers public repositories, and Pro adds private repositories with separately billed parsing. Source ↗
Source scope
The MIT repository publishes the MCP server code. Context7 keeps the API backend, parsing engine and crawler private. Source ↗
Coverage and catalog details
Project publisher
Context7
Kind
Project
Coverage class
Active coverage · 193 repository commits in 30 days · 27 stable releases in 30 days (checked 2026-11-19) Repository ↗
Catalog
Verified catalog entry · Active coverage · checked every 12 hours
Monitoring
Checked every 12 hours
Target
Every 12 hours across 5 sources
Sources checked
Last published change
None yet
Last completed check

Source posts

Capability

MCP availability.

Context7 MCP

Type
Server · Official
Hosting
Local or hosted
Access
Read only
Authentication
API key, OAuth
Transports
stdio, Streamable HTTP
Documented clients
Claude Code, Claude Desktop, Cursor, VS Code, Codex, Gemini CLI, OpenCode, Zed, Cline, Kiro
Tools
find a library by name · fetch version-matched docs · rank code examples by language

Publisher and ecosystem

Change history.

29 releases · 0 stories
  1. to

    ctx7@0.12.0@upstash/context7-mcp@4.7.1@upstash/context7-sdk@0.7.1ctx7@0.12.1@upstash/context7-mcp@4.7.2ctx7@0.12.2@upstash/context7-mcp@4.7.3@upstash/context7-opencode@0.2.2

    CLI upgrade guides, code search tools and MCP tool picks

    • The CLI prints upgrade guides between two versions of a library, with pagination for long guides and JSON output.
    • Experimental code search is now four MCP tools for grep, glob, read and symbol lookup, so agents search the library instead of the local project.
    • Signed-in users pick which experimental MCP tools to list in the Context7 dashboard, and the old and new experimental flags still turn on every one.
  2. to

    ctx7@0.11.0@upstash/context7-mcp@4.6.0mcpb-v4.6.0ctx7@0.11.1@upstash/context7-mcp@4.7.0@upstash/context7-sdk@0.7.0@upstash/context7-tools-ai-sdk@1.0.4mcpb-v4.7.0

    Library source code search and paginated upgrade guides

    • Context7 can search and read a library's source code at the version its docs describe, including definitions, references and outlines.
    • Source code search and the new upgrade guide tool are part of the research preview and are listed only when the research preview is turned on.
    • The upgrade guide tool, in research preview, now returns long guides in full-detail pages that start with what is needed to migrate.
  3. to

    ctx7@0.9.0@upstash/context7-mcp@4.5.0mcpb-v4.5.0ctx7@0.10.0@upstash/context7-mcp@4.5.1mcpb-v4.5.1

    Cross-library search, doc feedback, Pi and T3 Code setup

    • The CLI can search documentation across all libraries without a library ID, with optional filters for library, version, language and JSON output.
    • Agents can rate returned docs from 0 to 5 with issue details and a comment in research preview, which must be turned on and asks agents to send feedback.
    • The CLI setup and remove commands now support Pi, configuring the MCP server, adding the Context7 rule to Pi's context file and installing the skill.
    • The CLI setup and remove commands now support T3 Code, configuring its Claude Code and Codex providers.
  4. to

    @upstash/context7-mcp@4.4.3mcpb-v4.4.3ctx7@0.8.1@upstash/context7-mcp@4.4.4mcpb-v4.4.4ctx7@0.8.2@upstash/context7-sdk@0.6.0

    Ranked search snippets, code porting and cached MCP lists

    • SDK JSON search results now include a shared rank on each code and info snippet, so apps can sort both lists together in the same order as the text response.
    • Server instructions and rule templates now guide agents to use Context7 when porting code between libraries, platforms or SQL dialects.
    • MCP clients on the 2026-07-28 protocol can reuse tool, prompt and resource lists for an hour instead of listing them on every request.

Primary evidence

Sources.

All tracked projects
  1. Official source for Context7 ↗
  2. Lookup model ↗
  3. Service plans ↗
  4. Source scope ↗
  5. Context7 MCP 4.7.3 ↗
Track or sponsor a project