Mapbox MCP: geocoding and directions in your AI app
Turn addresses into coordinates, plan directions or work out drive times between stores from a chat. Mapbox's MCP server brings geocoding, POI search, directions, travel-time matrices and isochrones to your AI app. Through ContextGate, Claude, ChatGPT and Cursor share it, and a policy can keep customers' home addresses out of geocoding requests.
- Ready to connect
- Free
- 13 example tools
How to connect Mapbox to Claude, ChatGPT or Cursor
- 1Click Connect Mapbox free and sign in with your Mapbox account.
- 2Permanent geocoding needs extra account privileges. Switch it off if your account doesn't have them, along with any style and tileset tools your team won't use.
- 3Add ContextGate to your AI app as a connector or MCP server. The steps for each app are on the Works with page.
- 4Ask Cursor for the drive time between two of your offices, then open Activity to see the directions call.
Maps and routing questions for your AI app
- Geocode an address into coordinates, or reverse geocode coordinates into a place name.
- Geocode up to 50 places in one batch.
- Get directions between waypoints, with turn-by-turn steps if you want them.
- Build a travel time and distance matrix across several locations.
- Fetch a map style or a tileset's metadata while you build a map.
Location data with oversight
- Switch off permanent geocoding and other tools your account doesn't use; they're hidden and refused.
- Policies can hide personal data, such as a customer's home address, before a geocoding request goes out.
- Activity records every Mapbox call, so you can see which places your AI apps looked up.
What you get with Mapbox and ContextGate
- Your AI apps can use MapboxClaude, Cursor, ChatGPT and other AI apps reach Mapbox through the one ContextGate connection you add to them.
- You choose which tools they can useSwitch off any Mapbox tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recordedYour policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Mapbox tools
Examples of what your AI apps can do in Mapbox. You'll see the exact list of tools after you connect it.