← context7.com

INDIVIDUAL MCP TOOL

query-docs

Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework.

context7.comnone authenticationAvailability not checked

Input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent endpoint

context7.com

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.context7-com]
url = "https://mcp.context7.com/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "context7-com": {
      "type": "http",
      "url": "https://mcp.context7.com/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: context7-com
Remote MCP URL: https://mcp.context7.com/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "context7-com": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "context7-com": {
      "type": "http",
      "url": "https://mcp.context7.com/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "context7-com",
  "transport": "streamable-http",
  "url": "https://mcp.context7.com/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • resolve-library-id — Resolves a package/product name to a Context7-compatible library ID and returns matching libraries.