Skip to content

Context7

  • MCP server
  • 2 callable tools
  • Read only
  • 4 capabilities
Installation guide

Overview

Upstash's MCP server that gives AI agents access to up-to-date, version-specific documentation and code examples for programming libraries and frameworks.

Capabilities:

  • Resolve a library name to a Context7-compatible library ID
  • Retrieve up-to-date documentation for a library
  • Get code examples for programming libraries and frameworks
  • Rank code examples by the programming language being used

Works with

The products your agent can work with through this server.

Tools

The callable functions your agent uses to work with this server.

Context7 tools
ToolWhat it does
resolve-library-idResolves a package/product name to a Context7-compatible library ID and returns matching libraries.
query-docsRetrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework.

Installation

Add Context7 to Claude Code

Run this in your terminal:

claude mcp add --transport http context7-2 https://mcp.context7.com/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.

Other servers for the same products, or from the same vendor.

Sources

Documentation and source code reviewed on 19 November 2026.