Mapbox MCP

Developmentstdiohttp-streaming
Repository

Mapbox's official Model Context Protocol server, giving AI agents access to Mapbox's geospatial APIs. Supports forward and reverse geocoding, routing and directions, isochrone and matrix travel-time computation, and static map image generation, so assistants can answer location questions and build map-driven workflows from natural language.

Connect

Add this configuration to .claude/mcp.json

Transport:
{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": [],
      "env": {
        "MAPBOX_ACCESS_TOKEN": "<YOUR_MAPBOX_ACCESS_TOKEN>"
      }
    }
  }
}

Tools (2)

geocode

Convert an address or place name into geographic coordinates (or reverse).

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Address, place name, or \"lat,lng\" for reverse geocoding"
    }
  }
}

directions

Compute a route between two or more coordinates for a given travel profile.

{
  "type": "object",
  "required": [
    "coordinates"
  ],
  "properties": {
    "profile": {
      "type": "string",
      "description": "Travel profile (driving, walking, cycling)"
    },
    "coordinates": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ordered list of \"lng,lat\" waypoints"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server information

Author
Mapbox (@mapbox)
Repository
https://github.com/mapbox/mcp-server
License
BSD-3-Clause
Stars
0
Last updated
July 25, 2026