mcp-docs-server

v0.4.0
io.github.mapbox/mcp-docs-server Checked 5 hours ago Published 19 days ago

AI access to Mapbox docs, API references, style specs, and guides.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_document_tool Get Mapbox Document Tool

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.

ParameterTypeDescription
url *stringURL of a Mapbox documentation page to fetch. Must be an https://docs.mapbox.com URL (e.g. https://docs.mapbox.com/api/search/geocoding/).

batch_get_documents_tool Batch Get Mapbox 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.

ParameterTypeDescription
urls *arrayArray of Mapbox documentation page URLs to fetch (max 20). All must be https://docs.mapbox.com URLs.

search_mapbox_docs_tool 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.

ParameterTypeDescription
query *stringSearch query for Mapbox documentation (e.g. "add a marker", "camera animation", "geocoding API").
limitintegerMaximum number of results to return (1–20, default 5).