The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Docs Server listing page.
A Model Context Protocol (MCP) server that gives AI assistants instant access to Mapbox documentation and reference materials — no Mapbox access token required.
Connect directly to the hosted endpoint — nothing to install or maintain:
Claude Code / Claude Desktop / Cursor / VS Code
Claude Code — run claude mcp add:
Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor / VS Code — add the same mcpServers block to your editor's MCP settings file.
Build the image:
Or pull from the registry:
Claude Desktop / Cursor / VS Code — configure your MCP client to run the container:
Claude Desktop / Cursor / VS Code:
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:
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 using Algolia full-text search and returns matching page URLs and excerpts. Use this to find relevant documentation before fetching full pages with get_document_tool or batch_get_documents_tool.
Example prompts:
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 |
The server is a TypeScript MCP server using @modelcontextprotocol/sdk with a dual ESM/CJS build via tshy.
BaseTool<InputSchema, OutputSchema> in src/tools/BaseResource in src/resources/httpPipeline with 1-hour cachingsrc/tools/my-tool/MyTool.input.schema.ts (Zod schema), MyTool.output.schema.ts, and MyTool.ts (extends BaseTool)src/tools/toolRegistry.tstest/tools/my-tool/Please read CONTRIBUTING.md and VISION.md before submitting a pull request. Contributors using AI coding assistants should also review:
MIT — see LICENSE