# Mapbox [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/pipeworx-io/mcp-mapbox  
**GitHub Stars:** 0  
**npm Downloads (last month):** 966  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mapbox

## Description
Mapbox geocode, directions, matrix, isochrones, map-matching, tilequery, static URL.

## Tools
Capabilities this server exposes over MCP:

- **geocode_forward** — "What are the coordinates of [address]" / "geocode [place]" / "lat lng for [location]" / "find [city] on a map" — convert a street address, city, or place name to GPS coordinates (longitude / latitude) using Mapbox's global geocoder. Works on any street, intersection, POI, or administrative area worldwide. Example: geocode_forward({ query: "1600 Pennsylvania Ave, Washington DC" }).
- **geocode_reverse** — "What's at [lat,lng]" / "reverse geocode coordinates" / "what address is at these coords" / "what place is at this GPS point" — convert longitude / latitude into the nearest street address, neighborhood, city, region, or country via Mapbox's global geocoder. Works worldwide.
- **directions** — "Directions from A to B" / "how long does it take to drive from X to Y" / "how far is [A] from [B]" / "walking / cycling / driving directions" / "navigation between points" / "shortest route" — turn-by-turn routing between two or more coordinates. Returns geometry, distance (meters), duration (seconds), voice + banner instructions, and alternatives. Profile: driving, driving-traffic, walking, or cycling. Backed by Mapbox's commercial-grade traffic data and global road network.
- **directions_matrix** — "Distance matrix" / "drive times between multiple points" / "travel times grid" / "all-to-all distances" — N×M distance and duration matrix between many coordinates. Use for traveling-salesman, delivery routing, nearest-warehouse, or "which of these N stores is closest to each of these M customers" questions.
- **isochrone** — "How far can I get in [N] minutes from [point]" / "reachable area in [time]" / "drive-time / walk-time / cycle-time polygons" / "delivery zone within [radius]" / "service area around [location]" — isochrone polygons (reachable area within X minutes or meters) from a starting coordinate by car, walking, or cycling. Use for site-selection, delivery-zone, commute-shed, and "how big a catchment do I have" questions.
- **map_matching** — "Snap GPS trace to roads" / "clean up noisy GPS coordinates" / "match track to road network" — takes a sequence of GPS points and returns the most likely path along the road network. Use for vehicle telematics, fitness-tracker cleanup, or "what road did this driver actually take" questions.
- **tilequery** — Query features inside a Mapbox vector tile around a coordinate — what POIs / roads / boundaries / buildings are within a radius of a point. Specialized GIS query against a specific tileset_id; most users want geocode_reverse or directions instead.
- **static_image_url** — "Static map image of [location]" / "embed a map of [coords]" / "screenshot a map" / "thumbnail map" — generates a Mapbox static-tile image URL for embedding in slack, docs, emails, or dashboards. Pass style + coords + zoom + width/height; returns a fetchable PNG URL. No client-side JS or interactivity required.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mapbox": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-mapbox"]
  }
}
```

## Documentation

## What Mapbox MCP server does

Mapbox exposes location and mapping operations through MCP, using the Mapbox API at `https://api.mapbox.com` through the Pipeworx gateway. The server is suited to agents that need to turn place descriptions into coordinates, interpret coordinates as addresses, compare travel times, calculate routes, analyze reachable areas, process GPS traces, inspect vector-tile features, or produce URLs for static map images.

The integration is unofficial and independent of Mapbox. Its location capabilities are global, covering addresses, intersections, points of interest, cities, administrative areas, roads, and other geographic features supported by the Mapbox services.

## How it works

A hosted connection uses the scoped endpoint:

`https://gateway.pipeworx.io/mapbox/mcp`

The same gateway can also be accessed at `https://gateway.pipeworx.io/mcp`, which lists the broader catalog directly. The pack endpoint includes the Mapbox tools and shared Pipeworx meta-tools. `ask_pipeworx` can route a plain-language question to an appropriate tool across the catalog.

For local MCP clients, `@pipeworx/mcp-mapbox` runs with `npx` as a stdio bridge. It forwards requests to the hosted gateway, so it requires network access and has no offline mode. The bridge lists the Mapbox pack tools by default; setting `PIPEWORX_META_TOOLS=1` also exposes the gateway-wide meta-tools.

## Setup and configuration

Add the hosted endpoint to an MCP client:

```json
{
  "mcpServers": {
    "mapbox": {
      "url": "https://gateway.pipeworx.io/mapbox/mcp"
    }
  }
}
```

Alternatively, use the npm bridge:

```json
{
  "mcpServers": {
    "mapbox": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-mapbox"]
    }
  }
}
```

The npm bridge can receive a `PIPEWORX_API_KEY` environment variable for an authenticated Pipeworx account. Unauthenticated use is capped at 50 calls per day, while a free account raises the allowance to 200 calls per day. A Mapbox access token can also be supplied through the gateway request using the `_apiKey` parameter. Calls require network connectivity.

## Tools and capabilities

- `geocode_forward` converts a place or address into longitude and latitude, with filters for country, feature type, proximity, bounding box, language, autocomplete, result count, and fuzzy matching.
- `geocode_reverse` finds the nearest address or geographic area for longitude and latitude.
- `directions` calculates driving, traffic-aware driving, walking, or cycling routes, including distance, duration, geometry, alternatives, and optional navigation instructions.
- `directions_matrix` returns travel distances and durations between multiple coordinate sources and destinations.
- `isochrone` creates reachable-area polygons based on travel time or distance.
- `map_matching` fits GPS coordinates to the likely road path and can return route geometry, steps, annotations, and related details.
- `tilequery` searches features in a Mapbox vector tileset near a coordinate.
- `static_image_url` builds a fetchable PNG URL using a style, center, zoom, dimensions, and optional bearing, pitch, or retina settings. The image itself is not fetched by the server.

Coordinates use `[longitude, latitude]` order. Routing profiles are `driving`, `driving-traffic`, `walking`, and `cycling`.

## Limitations and notes

The static image operation returns a URL rather than image bytes. `tilequery` requires a specific `tileset_id` and is intended for specialized vector-tile inspection; reverse geocoding or directions may better fit common location questions. The scoped gateway endpoint also exposes shared Pipeworx tools, so its reported tool count can exceed the Mapbox-specific list. Proxy users may need `NODE_USE_ENV_PROXY=1` because Node's built-in `fetch` does not automatically read `HTTPS_PROXY`.

_Full upstream README: https://allmcps.com/mcp/mapbox/readme_

