# mapbox

> mapbox is an open-source MCP server for maps and travel. Mapbox geocoding, directions, isochrones and map rendering for AI assistants. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Repository:** https://github.com/mapbox/mcp-server
- **MCP Registry name:** io.github.mapbox/mcp-server
- **Categories:** [maps and travel](https://ai-powered.com/categories/maps-and-travel)
- **Listing updated:** 2026-11-23

## About

This is Mapbox's location-intelligence server, aimed at agents that need to reason about where things are. A Mapbox access token is required; the hosted endpoint is at mcp.mapbox.com/mcp, and an npm package runs it locally over stdio.

The README groups what it can do into geocoding in both directions, POI search, multi-modal routing for driving, walking and cycling with live traffic, travel-time matrices, route optimisation for multi-stop visits, map matching of GPS traces and isochrones for areas reachable within a time or distance. Offline tools compute distance, area, bearing, buffers, centroids and point-in-polygon checks without any API calls.

Two tools stand out. `render_map_tool` draws routes, search results or your own GeoJSON on an interactive Mapbox GL JS map inside the chat, and can be used on its own. `ground_location_tool` handles coordinate-first questions such as what is near a point or what is reachable in 15 minutes, by combining reverse geocoding, category search and isochrones in one call and returning typed records with citations. Static map images are also available.

When a place or route is ambiguous, `search_and_geocode_tool` and `directions_tool` can ask the user to disambiguate if the client supports elicitation, and fall back gracefully if not. Guides cover Claude Desktop, Goose, VS Code, Cursor and Smolagents, and the tools can be imported directly into your own applications.

## Features

- **Geocoding and POI search:** Convert addresses to coordinates and back, and search businesses and landmarks.
- **Routing and matrices:** Driving, walking and cycling directions with traffic, plus travel-time matrices.
- **Route optimisation:** Finds a good visiting order for several stops.
- **Isochrones:** Draws areas reachable within a set time or distance.
- **Map matching:** Snaps GPS traces to the road network.
- **In-chat maps:** Renders routes and custom GeoJSON on an interactive map.
- **Offline calculations:** Distance, area, bearing, buffer and containment checks need no API calls.

## Good for

- Find coffee shops within a 10-minute walk of a point
- Plan an eight-stop delivery route
- Clean up a recorded cycling GPS trace
- Show the area reachable in 30 minutes by car
- Build a travel assistant that draws its routes on a map

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp-server https://mcp.mapbox.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.mapbox.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.mapbox.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-server --url https://mcp.mapbox.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-server]
url = "https://mcp.mapbox.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "httpUrl": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp-server https://mcp.mapbox.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.mapbox.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "streamableHttp",
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-server": {
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.mapbox.com/mcp
```

Enter a Name (for example "mapbox"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.mapbox.com/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 1 of 4 tools reads data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `render_map_tool`: Renders routes, search results or custom GeoJSON on an interactive Mapbox GL JS map in the chat.
- `ground_location_tool`: Combines reverse geocoding, category search and isochrones to answer coordinate-first questions.
- `search_and_geocode_tool` (name suggests: reads): Searches places and geocodes, asking the user to disambiguate when supported.
- `directions_tool`: Gets directions, asking the user to pick a route when supported.

## FAQ

### Do I need a Mapbox token?

Yes. Sign up for a free Mapbox account and create or reuse a token.

### Is there a hosted endpoint?

Yes, https://mcp.mapbox.com/mcp, as well as the npm stdio package.

### Can I use the tools without the MCP server?

Yes. A guide explains importing the tools directly into your own application.

### Which clients are documented?

Claude Desktop, Goose, VS Code, Cursor and Smolagents.

### Is mapbox free?

Yes. mapbox is open source, so you can use and self-host it for free.

### How do I add mapbox to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://mcp.mapbox.com/mcp

### What are the best alternatives to mapbox?

The closest alternatives to mapbox are Atli, CAD2GIS, Mighty Travels historical deals, DACHmap Geo & Routing and City Contacts.

## Where this comes from

- Description: written from the project's README.
- Status: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Atli](https://ai-powered.com/mcp/atli): Atli is a free MCP server for maps and travel.
- [CAD2GIS](https://ai-powered.com/mcp/cad2gis): CAD2GIS is an open-source MCP server for engineering simulation.
- [Mighty Travels historical deals](https://ai-powered.com/mcp/mighty-travels-historical-deals): Mighty Travels historical deals is a free MCP server for maps and travel.
- [DACHmap Geo & Routing](https://ai-powered.com/mcp/dachmap-geo-and-routing): DACHmap Geo & Routing is an MCP server for maps and travel.
- [City Contacts](https://ai-powered.com/mcp/city-contacts): City Contacts is a freemium MCP server for maps and travel.
- [Parking MCP](https://ai-powered.com/mcp/parking-mcp): Parking MCP is an MCP server for maps and travel.
- [CTC Stays](https://ai-powered.com/mcp/ctc-stays): CTC Stays is a free MCP server for maps and travel.
- [Keyset booking pages](https://ai-powered.com/mcp/keyset-booking-pages): Keyset booking pages is a free MCP server for maps and travel.

---
Source: https://ai-powered.com/mcp/mapbox-2
