[Home](/index.md) › [MCP servers](/mcp.md) › Claude Code docs MCP

# Claude Code docs MCP

MCP server

- 3 callable tools
- Read only
- 4 capabilities

[Installation guide](https://code.claude.com/docs/mcp)

## Overview

Anthropic's remote MCP server for searching the Claude Code documentation. It works with the Claude Code Docs knowledge base and lets agents query its pages and send feedback about the docs site.

### Capabilities

- Search Claude Code documentation
- Read documentation pages through a read-only virtual filesystem
- Find code examples and API references
- Report problems with the documentation site

## Works with

The products your agent can work with through this server.

- [Claude Code](/tools/claude-code.md): Terminal-based AI coding agent

## Tools

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

### `search_claude_code_docs`

Search across the Claude Code Docs knowledge base to find relevant information, code examples, API references, and guides.

### `query_docs_filesystem_claude_code_docs`

Run a read-only shell-like query against a virtualized, in-memory filesystem rooted at `/` that contains ONLY the Claude Code Docs documentation pages.

### `submit_feedback`

Report a problem with this documentation site so the docs team can fix it.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Claude Code docs MCP to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp
```

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

### Add Claude Code docs MCP to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=claude-code-docs&config=eyJ1cmwiOiJodHRwczovL2NvZGUuY2xhdWRlLmNvbS9kb2NzL21jcCJ9)

```json
{
  "mcpServers": {
    "claude-code-docs": {
      "url": "https://code.claude.com/docs/mcp"
    }
  }
}
```

### Add Claude Code docs MCP to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "claude-code-docs": {
      "type": "http",
      "url": "https://code.claude.com/docs/mcp"
    }
  }
}
```

### Add Claude Code docs MCP to Codex

Run this in your terminal:

```sh
codex mcp add claude-code-docs --url https://code.claude.com/docs/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.claude-code-docs]
url = "https://code.claude.com/docs/mcp"
```

If the server uses OAuth, sign in with `codex mcp login claude-code-docs`.

### Add Claude Code docs MCP to Claude

Add it as a custom connector with this URL:

```
https://code.claude.com/docs/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Claude Code docs MCP to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://code.claude.com/docs/mcp
```

[Read the installation guide](https://code.claude.com/docs/mcp)
