# Mapbox Docs MCP server

> Provides AI assistants with instant access to Mapbox documentation, API references, style specifications, and SDK guides.

- Repository: https://github.com/mapbox/mcp-docs-server
- Page: https://hostedmcp.org/servers/mapbox/mcp-docs-server
- Official: yes
- Transport: stdio, remote
- Stars: 1
- License: MIT
- Latest version: 0.4.0

## Install

### Claude Code

```sh
claude mcp add mcp-docs-server -- npx -y @mapbox/mcp-docs-server
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-docs-server"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp-docs-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-docs-server"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-docs-server"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp-docs-server]
command = "npx"
args = ["-y", "@mapbox/mcp-docs-server"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mapbox/mcp-docs-server"
      ]
    }
  }
}
```

## FAQ

### How can I search for specific Mapbox documentation?

You can use the search_mapbox_docs_tool to search across API references, GL JS, Help Center, Style Spec, and more.

### Can I fetch multiple documentation pages at once?

Yes, the batch_get_documents_tool allows you to fetch up to 20 Mapbox documentation pages in a single call.
