Context7 MCP Server

Up-to-date, version-specific documentation for any library, injected on demand.

Developer Tools MIT license Added Jul 13, 2026 Hosted / remote ✓ Verified Oct 31 2 tools Featured

Context7 is a Developer Tools MCP (Model Context Protocol) server: Up-to-date, version-specific documentation for any library, injected on demand. It is MIT-licensed and available as a hosted endpoint, so it works with no local install. It exposes 2 tools including resolve-library-id, query-docs. Listed on MCP Collection since July 2026.

About Context7

Upstash's Context7 feeds agents current docs and code examples for the exact library version in use — kills hallucinated APIs.

Context7 tools (2)

Read from the live server on Oct 31, 2026. These are the tools your AI assistant can call once connected.

resolve-library-id
Resolves a package/product name to a Context7-compatible library ID and returns matching libraries. You MUST call this function before 'Query Documentation' tool to obtain a valid Context7-compatible library ID UNLESS the user explicitly pr
query-docs
Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. You must call 'Resolve Context7 Library ID' tool first to obtain the exact Context7-compatible library ID required to u

How to connect Context7 to Claude, Cursor or VS Code

Context7 runs as a hosted remote MCP server at https://mcp.context7.com/mcp. Add that URL to your MCP client's config (Claude Code, Cursor, Windsurf or VS Code) and the tools appear immediately, no install required.

{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

Claude Code: claude mcp add --transport http context7 https://mcp.context7.com/mcp. Servers that require OAuth or an API key will prompt on first use.

Context7 FAQ

What is Context7?

Context7 is a Model Context Protocol (MCP) server in the Developer Tools category. Up-to-date, version-specific documentation for any library, injected on demand. MCP servers expose tools that AI assistants like Claude can call during a conversation.

How do I use Context7 with Claude or Cursor?

Context7 runs as a hosted remote MCP server at https://mcp.context7.com/mcp. Add that URL to your MCP client's config (Claude Code, Cursor, Windsurf or VS Code) and the tools appear immediately, no install required.

Is Context7 free to use?

Context7 is published under the MIT license, so the software itself is free to run. Hosted or API-backed servers may have their own usage tiers; check the project homepage.

What tools does Context7 provide?

Context7 exposes 2 MCP tools: resolve-library-id, query-docs. This list is read from the live server (last verified Oct 31, 2026).

Is the Context7 MCP server online?

Yes. MCP Collection checks the endpoint every day; it last answered on Oct 31, 2026.

Where is the source code for Context7?

The source is at github.com/upstash/context7.

More Developer Tools MCP servers