Mapbox MCP Server
Mapbox's official MCP server: geocoding, place search, routing, isochrones, in-chat maps and offline geo calculations
Install
claude mcp add --transport http mapbox-mcp-production https://mcp.mapbox.com/mcpHosted server with Mapbox account sign-in.
This is third-party code. Review the repository files before installing.
What it does
The server gives the agent Mapbox geo services worldwide. It converts addresses to coordinates and back, searches places by category and along a route, plans driving, walking and cycling routes with traffic, and computes travel time matrices and optimal stop order. It snaps GPS traces to roads, builds isochrones and static map images. render_map_tool shows an interactive map inside supporting clients, and distance, area, buffers and point-in-polygon checks run locally without API calls.
Who it is for. For developers of delivery, travel and geo analytics products who need maps and routing in an agent.
Good fit when
- You need to optimize a delivery route across several addresses
- You want to show a reachability area or route on a map
- You need geometry calculations on coordinates and polygons
Not a fit when
- You need detailed data for Russian cities: Yandex Maps or 2GIS are usually more accurate
- You cannot create a Mapbox account and token
Example request
Find the best order to visit these eight addresses and show the route on a mapLimitations
Requires a Mapbox account and access token; API usage is billed per Mapbox pricing. Interactive maps work only in clients with MCP Apps support; others get static images. Clients without MCP resource support need CLIENT_NEEDS_RESOURCE_FALLBACK.
How to disable. Run claude mcp remove mapbox-mcp-production or delete the client config entry, and revoke the token in your Mapbox account if needed.
MCP
- Transport
- stdio, http
- Authentication
- OAuth
| Environment variables | |
|---|---|
| MAPBOX_ACCESS_TOKEN required, secret | Mapbox access token for the local server |
| CLIENT_NEEDS_RESOURCE_FALLBACK | Enables fallback tools for clients without MCP resource support |
Security check
- Sends addresses and coordinates to an external API
- Consumes billable Mapbox token quota
README in short
The README lists server capabilities with sample prompts for discovery, navigation, visualization, analysis and offline calculations. It covers the hosted Mapbox endpoint and guides for Claude Desktop, Goose, VS Code, Cursor and smolagents. It details the interactive map tool, MCP resources with place categories and a fallback mode for clients without resources. Docker builds and an npm package are available. MIT licensed.
FAQ
Can I draw my own data on the map?
Yes, render_map_tool accepts hand-made GeoJSON with polygons, markers and lines without calling other Mapbox tools.
What is the easiest Claude Desktop setup?
Download mcp-server.dxt from Releases, open it in Claude Desktop and enter your Mapbox token.
Related
166 skills for scientific work: bioinformatics, cheminformatics, clinical data, geospatial analysis and 100+ databases
Google's open-source MCP server for databases: ready tools for Postgres, MySQL, BigQuery, Spanner and more, plus custom tools in tools.yaml
Official Hugging Face skills: Hub operations via the hf CLI, datasets, model training, Spaces, evals and deployment
A token-lean MCP server for PostgreSQL, MySQL, MariaDB, SQL Server and SQLite with a read-only mode