Unlock geospatial intelligence through Mapbox APIs like geocoding, POI search, directions, isochrones and more.
Node.js server implementing Model Context Protocol (MCP) for Mapbox APIs.
The Mapbox MCP Server transforms any AI agent or application into a geospatially-aware system by providing seamless access to Mapbox's comprehensive location intelligence platform. With this server, your AI can understand and reason about places, navigate the physical world, and access rich geospatial data including:
Whether you're building an AI travel assistant, logistics optimizer, location-based recommender, or any application that needs to understand "where", the Mapbox MCP Server provides the spatial intelligence to make it possible. You can also enable it on popular clients like Claude Desktop and VS Code. See below for details
A Mapbox access token is required to use this MCP server.
To get a Mapbox access token:
For more information about Mapbox access tokens, see the Mapbox documentation on access tokens.
For detailed setup instructions for different integrations, refer to the following guides:
Calculates travel times and distances between multiple points using Mapbox Matrix API. Features include:
Generates static map images using the Mapbox static image API. Features include:
Finds specific points of interest or brand locations by name using the Mapbox Search Box forward search API. Features include:
Performs a category search using the Mapbox Search Box category search API. Features include:
Performs forward geocoding using the Mapbox geocoding V6 API. Features include:
Performs reverse geocoding using the Mapbox geocoding V6 API. Features include:
Fetches routing directions using the Mapbox Directions API. Features include:
depart_at
) for driving and driving-traffic profilesarrive_by
) for driving profile onlyComputes areas that are reachable within a specified amount of times from a location using Mapbox Isochrone API. Features include:
# Build
npm run build
# Inspect
npx @modelcontextprotocol/inspector node dist/index.js
# Build the Docker image
docker build -t mapbox-mcp-server .
# Run and inspect the server
npx @modelcontextprotocol/inspector docker run -i --rm --env MAPBOX_ACCESS_TOKEN="YOUR_TOKEN" mapbox-mcp-server
npx plop create-tool
# provide tool name without suffix (e.g. Search)
Set VERBOSE_ERRORS=true
to get detailed error messages from the MCP server. This is useful for debugging issues when integrating with MCP clients.
By default, the server returns generic error messages. With verbose errors enabled, you'll receive the actual error details, which can help diagnose API connection issues, invalid parameters, or other problems.
Query Amazon Bedrock Knowledge Bases using natural language to retrieve relevant information from your data sources.
Fetch, convert, and search AWS documentation pages, with recommendations for related content.
Search campgrounds around the world on campertunity, check availability, and provide booking links.
Lightning-Fast, High-Accuracy Deep Research Agent 👉 8–10x faster 👉 Greater depth & accuracy 👉 Unlimited parallel runs
Search Engine made for AIs by Exa
Search dashboards, investigate incidents and query datasources in your Grafana instance
RAG Search over your content powered by Inkeep
Search the web using Kagi's search API
Interact & query with Meilisearch (Full-text & semantic search API)
Production-ready RAG out of the box to search and retrieve data from your own documents.