# MCP Docs Server

> MCP Docs Server is an open-source MCP server for developer tools. Search and read Mapbox documentation, API references and style specs without a token. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Repository:** https://github.com/mapbox/mcp-docs-server
- **MCP Registry name:** io.github.mapbox/mcp-docs-server
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [maps and travel](https://ai-powered.com/categories/maps-and-travel)
- **Listing updated:** 2026-11-23

## About

The Mapbox docs server is the lookup half of Mapbox's two MCP servers. It works without an access token, so an assistant can answer questions about Mapbox APIs and SDKs without any account setup. It pairs with the separate developer-tools server when you need to actually change styles or tokens.

Three tools handle retrieval. One searches across API reference, GL JS, the Help Center, the Style Spec, Studio, Search JS, the iOS and Android Maps and Navigation SDKs and Tilesets, returning ranked page URLs and descriptions. A second fetches a page by URL, and a third fetches up to 20 pages in one call, reporting failed pages individually instead of failing the whole batch.

Nine resources hold reference data an assistant can read on demand: REST API reference, SDK docs for iOS, Android, Flutter and web, guides, examples, tileset and pricing reference, style layer properties, Streets v8 fields, token scopes and layer type mapping. HTTP requests use a shared pipeline with one-hour caching.

Connect to the hosted endpoint, run it with npx, in Docker, or from source. It needs Node.js 22 or newer for development and is MIT licensed.

## Features

- **Docs search:** Searches across Mapbox API, SDK, Help Center and style spec documentation.
- **Batch page fetch:** Retrieves up to 20 documentation pages in one call.
- **Reference resources:** Nine resources cover API, SDK, guides, examples, styles and token scopes.
- **No token needed:** Documentation tools work without a Mapbox access token.
- **Hosted or local:** Use the hosted endpoint, npx, Docker or a source build.

## Good for

- Ask how to add a custom layer to a Mapbox style
- Find geocoding API examples
- Check the latest Mapbox GL JS version
- Pull several docs pages into one answer
- Look up Streets v8 fields when writing filters

## Install

### Claude Code: Add with the CLI (Terminal)

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

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "type": "http",
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp-docs.mapbox.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "type": "http",
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp-docs.mapbox.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-docs-server --url https://mcp-docs.mapbox.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "httpUrl": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp-docs-server https://mcp-docs.mapbox.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "serverUrl": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "type": "streamableHttp",
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp-docs.mapbox.com/mcp
```

Enter a Name (for example "MCP Docs Server"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-docs-server": {
      "type": "http",
      "url": "https://mcp-docs.mapbox.com/mcp"
    }
  }
}
```

## Tools

The server marks all 3 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `get_document_tool` (says read-only): Fetch the full content of a specific Mapbox documentation page by URL. Use this after search_mapbox_docs_tool to follow a link from the search results and retrieve the complete page content. For fetching multiple pages at once, use batch_get_documents_tool instead.
- `batch_get_documents_tool` (says read-only): Fetch the full content of multiple Mapbox documentation pages in a single call (max 20). More efficient than calling get_document_tool multiple times. Returns an array of results — failed pages include an error message rather than failing the whole batch.
- `search_mapbox_docs_tool` (says read-only): Search Mapbox documentation by keyword or natural language query. Searches across API reference, GL JS, Help Center, Style Spec, Studio, Search JS, iOS/Android Maps and Navigation SDKs, and Tilesets. Returns ranked results with titles, URLs, and descriptions. Use get_document_tool to fetch the full content of a result page.

## FAQ

### Do I need a Mapbox account?

No. The docs tools work without an access token.

### How many pages can be fetched at once?

Up to 20 per batch call.

### Which licence applies?

MIT.

### How is MCP Docs Server different from the devkit server?

This one reads documentation; the devkit server manages styles and tokens and needs a token.

### Is MCP Docs Server free?

Yes. MCP Docs Server is open source, so you can use and self-host it for free.

### How do I add MCP Docs Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-docs-server https://mcp-docs.mapbox.com/mcp

### What are the best alternatives to MCP Docs Server?

The closest alternatives to MCP Docs Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/mcp-docs-server
