io.github.mapbox/mcp-docs-server
Official3 toolsby mapbox · TypeScript
AI access to Mapbox docs, API references, style specs, and guides. No token required.
Provides AI access to Mapbox documentation, API references, and style specifications.
Captured live from the server via tools/list.
get_document_tool
Fetch the full content of a specific Mapbox documentation page by URL. Use this after get_latest_mapbox_docs_tool to follow a link from the index and retrieve the complete page content. For fetching multiple pages at once, use batch_get_documents_tool instead.
Parameters (1)
- urlstringrequired
URL of a Mapbox documentation page to fetch. Must be a mapbox.com URL (e.g. https://docs.mapbox.com/api/search/geocoding/).
batch_get_documents_tool
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.
Parameters (1)
- urlsarrayrequired
Array of Mapbox documentation page URLs to fetch (max 20). All must be mapbox.com URLs.
search_mapbox_docs_tool
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.
Parameters (2)
- querystringrequired
Search query for Mapbox documentation (e.g. "add a marker", "camera animation", "geocoding API").
- limitinteger
Maximum number of results to return (1–20, default 5).
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"mcp-docs-server": {
"command": "npx",
"args": [
"-y",
"@mapbox/mcp-docs-server@0.3.1"
]
}
}
}