Mapbox
v0.2.1Mapbox MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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" }).
| Parameter | Type | Description |
|---|---|---|
query * | string | |
autocomplete | boolean | |
bbox | string | |
country | string | |
fuzzyMatch | boolean | |
language | string | |
limit | number | |
proximity | string | |
types | string |
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.
| Parameter | Type | Description |
|---|---|---|
lat * | number | |
lon * | number | |
country | string | |
language | string | |
limit | number | |
types | string |
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.
| Parameter | Type | Description |
|---|---|---|
coordinates * | array | |
alternatives | boolean | |
annotations | string | |
banner_instructions | boolean | |
geometries | string | |
language | string | |
overview | string | |
profile | string | |
steps | boolean | |
voice_instructions | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
coordinates * | array | |
annotations | string | |
destinations | string | |
profile | string | |
sources | string |
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.
| Parameter | Type | Description |
|---|---|---|
coordinates * | array | [lon, lat] |
profile * | string | |
contours_colors | string | |
contours_meters | string | |
contours_minutes | string | |
denoise | number | |
generalize | number | |
polygons | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
coordinates * | array | |
annotations | string | |
geometries | string | |
overview | string | |
profile | string | |
radiuses | string | |
steps | boolean | |
tidy | boolean | |
timestamps | string |
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.
| Parameter | Type | Description |
|---|---|---|
lat * | number | |
lon * | number | |
tileset_id * | string | |
dedupe | boolean | |
geometry | string | |
layers | string | |
limit | number | |
radius | number |
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.
| Parameter | Type | Description |
|---|---|---|
height * | number | |
lat * | number | |
lon * | number | |
style_id * | string | |
width * | number | |
zoom * | number | |
bearing | number | |
pitch | number | |
retina | boolean |