Mapbox MCP Server
Lets your AI agent geocode places, search businesses, get directions and travel times, and render live maps.
367 stars on GitHubby MapboxLicense MITUpdated 18 days ago
How to install
This MCP has two ways to run: local or remote.
Pick one below. Local runs on your computer; remote runs in the cloud and needs nothing installed.
Paste in the terminal:
claude mcp add mapbox -e MAPBOX_ACCESS_TOKEN="<your value>" -- npx -y @mapbox/mcp-server
What to fill in
| Name | What it is | Required |
|---|---|---|
MAPBOX_ACCESS_TOKEN | Your Mapbox access token | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Get driving directions from LAX to Hollywood with current traffic.
Show me areas reachable within 30 minutes of downtown Portland by car.
What it is
The Mapbox MCP Server connects your agent to Mapbox location services. It can turn addresses into coordinates, search points of interest, plan routes, build travel time matrices, optimize multi-stop routes and draw maps in the chat. Some distance and area calculations run offline.
What it can do
search_and_geocode_tool: find places and addressesdirections_tool: routes for driving, walking and cyclingisochrone_tool: areas reachable in a set time or distanceground_location_tool: reverse geocode, nearby search and reachability in one callrender_map_tool: live interactive map in the chatstatic_map_image_tool: map images as PNG or JPEG- Offline tools for distance, area, bearing and buffers
- Hosted endpoint at https://mcp.mapbox.com/mcp
When to use
- βΊWhen you want driving directions with traffic or walking times.
- βΊWhen you want to see coffee shops near a landmark on a map.
- βΊWhen you want the best order to visit several delivery stops.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
mapsHelps your agent find places, get directions, travel times and timezones using free open map data, with no API key.mapbox-automationHelps your agent automate tasks in Mapbox. It can generate maps, analyze geospatial data, and integrate location functionalities.kakao-bar-nearbyHelps your agent find bars near a location in Korea using Kakao's official map search, then look up open hours and seating details.Frequently asked questions
Do I need a token?
Yes. A Mapbox access token is required. The readme says you can sign up for a free account to get one.
Is there a hosted version?
Yes, at https://mcp.mapbox.com/mcp.
Which clients show the live map?
Claude Desktop, VS Code with GitHub Copilot, Claude Code and Goose. Other clients can use static_map_image_tool.
Do all tools need internet?
No. The offline geospatial tools use Turf.js for distance, area and similar calculations without Mapbox API calls.
What about clients without resources support?
Set CLIENT_NEEDS_RESOURCE_FALLBACK=true to enable resource_reader_tool and category_list_tool.
Can I use the tools in my own app?
Yes, the readme has a guide for importing the tools directly without running the server.
If it does not work
- βΊCheck that your Mapbox access token is set and copied in full.
- βΊIf a client does not support MCP resources, set CLIENT_NEEDS_RESOURCE_FALLBACK=true.
- βΊUse static_map_image_tool if your client cannot show the live map.
5 new skills a week. 1 minute to read.