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

# Polar docs MCP

MCP server

- 3 callable tools
- Read only
- 4 capabilities

[Installation guide](https://polar.sh/docs/mcp)

## Overview

Polar publishes this hosted MCP server, which gives AI agents access to Polar's documentation, code examples, API references and OpenAPI specs.

### Capabilities

- Search Polar documentation, guides and code examples
- Look up Polar API references and OpenAPI specs
- Browse Polar documentation pages with read-only shell-like queries
- Report problems with the Polar documentation site to the docs team

## Works with

The products your agent can work with through this server.

- [Polar](/tools/polar.md): Open-source merchant of record

## Tools

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

### `search_polar`

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

### `query_docs_filesystem_polar`

Run a read-only shell-like query against a virtualized, in-memory filesystem rooted at `/` that contains ONLY the Polar documentation pages and OpenAPI specs.

### `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 Polar docs MCP to Claude Code

Run this in your terminal:

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

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

### Add Polar 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=polar-docs&config=eyJ1cmwiOiJodHRwczovL3BvbGFyLnNoL2RvY3MvbWNwIn0%3D)

```json
{
  "mcpServers": {
    "polar-docs": {
      "url": "https://polar.sh/docs/mcp"
    }
  }
}
```

### Add Polar 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": {
    "polar-docs": {
      "type": "http",
      "url": "https://polar.sh/docs/mcp"
    }
  }
}
```

### Add Polar docs MCP to Codex

Run this in your terminal:

```sh
codex mcp add polar-docs --url https://polar.sh/docs/mcp
```

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

```toml
[mcp_servers.polar-docs]
url = "https://polar.sh/docs/mcp"
```

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

### Add Polar docs MCP to Claude

Add it as a custom connector with this URL:

```
https://polar.sh/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 Polar docs MCP to other clients

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

```
https://polar.sh/docs/mcp
```

[Read the installation guide](https://polar.sh/docs/mcp)

## Related MCP servers

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

- [Polar MCP server](/mcp/polar.md)
