Mapbox MCP Documentation Server
MCP serverDev toolsThis gives your AI access to Mapbox's official documentation, API references, style specs, and guides. Once added, your AI can look up how Mapbox products work and answer questions using accurate reference material. No token is required to use it.
Use Mapbox MCP Documentation Server in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Mapbox MCP Documentation Server and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use Mapbox MCP Documentation Server to get document tool
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
After adding it, ask your AI a question about Mapbox and it will pull the answer from the official documentation. No token or extra setup is needed.
What your AI can do with it
- Look up Mapbox documentation
- Search API references
- Check style specs
- Read Mapbox guides
- Answer Mapbox questions using official docs
Install Mapbox MCP Documentation Server
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user mapbox-mcp-documentation-server 'https://mcp-docs.mapbox.com/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://mcp-docs.mapbox.com/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=mapbox-mcp-documentation-server&config=eyJ1cmwiOiJodHRwczovL21jcC1kb2NzLm1hcGJveC5jb20vbWNwIn0=Open the link and Cursor adds the server at that address.
ChatGPT
https://mcp-docs.mapbox.com/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add mapbox-mcp-documentation-server --url 'https://mcp-docs.mapbox.com/mcp'Run it once, then sign in with codex mcp login mapbox-mcp-documentation-server if the server asks for an account.
From the project's README
As published by mapbox/mcp-docs-server in README.md.
A Model Context Protocol (MCP) server that gives AI assistants instant access to Mapbox documentation and reference materials — no Mapbox access token required.
Quick Start
Hosted (no install required)
Connect directly to the hosted endpoint — nothing to install or maintain:
Claude Code / Claude Desktop / Cursor / VS Code
{
"mcpServers": {
"mapbox-docs": {
"url": "https://mcp-docs.mapbox.com/mcp"
}
}
}
npx (runs locally, no install)
Claude Code — run claude mcp add:
claude mcp add mapbox-docs -- npx -y @mapbox/mcp-docs-server
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"mapbox-docs": {
"command": "npx",
"args": ["-y", "@mapbox/mcp-docs-server"]
}
}
}
Cursor / VS Code — add the same mcpServers block to your editor's MCP settings file.
Docker
Build the image:
docker build -t mapbox/mcp-docs-server .
Or pull from the registry:
docker pull mapbox/mcp-docs-server
Claude Desktop / Cursor / VS Code — configure your MCP client to run the container:
{
"mcpServers": {
"mapbox-docs": {
"command": "docker",
"args": ["run", "--rm", "-i", "mapbox/mcp-docs-server"]
}
}
}
Local (from source)
git clone https://github.com/mapbox/mcp-docs-server.git
cd mcp-docs-server
npm install
npm run build
Claude Desktop / Cursor / VS Code:
{
"mcpServers": {
"mapbox-docs": {
"command": "node",
"args": ["/absolute/path/to/mcp-docs-server/dist/esm/index.js"]
}
}
}
Tools
get_document_tool — Fetches the full content of a specific Mapbox documentation page by URL. Use this to follow a link from a resource and retrieve the complete page content.
Example prompts:
- "What Mapbox APIs are available?"
- "How do I add a custom layer to a Mapbox style?"
- "What's the latest Mapbox GL JS version?"
batch_get_documents_tool — Fetches multiple Mapbox documentation pages in a single call (max 20). More efficient than calling get_document_tool multiple times. Failed pages include an error message rather than failing the whole batch.
search_mapbox_docs_tool — Searches Mapbox documentation across API reference, GL JS, Help Center, Style Spec, Studio, Search JS, iOS/Android Maps and Navigation SDKs, and Tilesets, returning ranked page URLs and descriptions. Use this to find relevant documentation before fetching full pages with get_document_tool or batch_get_documents_tool.
Example prompts:
- "Find docs about camera animation"
- "Search for geocoding API examples"
- "What documentation exists for custom layers?"
Resources
MCP resources expose reference data that AI assistants can read on demand:
| Resource URI | Contents |
|---|---|
resource://mapbox-api-reference | REST API reference docs (endpoints, parameters, rate limits) |
resource://mapbox-sdk-docs | SDK and client library docs (iOS, Android, Flutter, web) |
resource://mapbox-guides | Tutorials, how-tos, and guides |
resource://mapbox-examples | Code examples, API playgrounds, and interactive demos |
resource://mapbox-reference | Tilesets, data products, accounts, and pricing reference |
resource://mapbox-style-layers | Style layer reference (paint/layout properties for all layer types) |
resource://mapbox-streets-v8-fields | Mapbox Streets v8 tileset field reference |
resource://mapbox-token-scopes | All available Mapbox token scopes with descriptions |
resource://mapbox-layer-type-mapping | Mapping of Mapbox layer types to their properties |
Development
Prerequisites
- Node.js >= 22
- npm
Setup
git clone https://github.com/mapbox/mcp-docs-server.git
cd mcp-docs-server
npm install
Commands
npm run build # Compile TypeScript (ESM + CJS)
npm test # Run test suite (vitest)
npm run lint # ESLint
npm run format # Prettier check
npm run format:fix # Prettier auto-fix
npm run inspect:build # Launch MCP Inspector against built server
npm run inspect:dev # Launch MCP Inspector against source (tsx)
Architecture
The server is a TypeScript MCP server using @modelcontextprotocol/sdk with a dual ESM/CJS build via tshy.
- Tools extend
BaseTool<InputSchema, OutputSchema>insrc/tools/ - Resources extend
BaseResourceinsrc/resources/ - No Mapbox access token required for documentation tools
- HTTP requests use a shared
httpPipelinewith 1-hour caching
Creating a New Tool
- Create a directory
src/tools/my-tool/ - Add
MyTool.input.schema.ts(Zod schema),MyTool.output.schema.ts, andMyTool.ts(extendsBaseTool) - Register in
src/tools/toolRegistry.ts - Add tests in
test/tools/my-tool/
Contributing
Please read CONTRIBUTING.md and VISION.md before submitting a pull request. Contributors using AI coding assistants should also review:
- CLAUDE.md — for Claude Code
- AGENTS.md — for other AI coding assistants (Cursor, Copilot, Aider, etc.)
License
MIT — see LICENSE
Tools it offers (3)
What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
get_document_toolbatch_get_documents_toolsearch_mapbox_docs_tool
Signals
- GitHub stars
- 1
- Forks
- 1
- Last commit
- Sep 2026
Advanced
- Delivery
- mcp-docs-server MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-mapbox-mcp-docs-server- Source
- github.com/mapbox/mcp-docs-server
- Hosted endpoint
https://mcp-docs.mapbox.com/mcp
github.com/mapbox/mcp-docs-server