directions_matrix
ActiveTool of Mapbox MCP Server
"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.
Parameters schema
{
"type": "object",
"examples": [
{
"coordinates": [
[
-122.4194,
37.7749
],
[
-118.2437,
34.0522
],
[
-87.6298,
41.8781
]
]
},
{
"profile": "driving",
"sources": "0",
"coordinates": [
[
-74.006,
40.7128
],
[
-73.9352,
40.7306
],
[
-74.006,
40.758
]
],
"destinations": "1;2"
}
],
"required": [
"coordinates"
],
"properties": {
"profile": {
"type": "string"
},
"sources": {
"type": "string"
},
"annotations": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
"destinations": {
"type": "string"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Mapbox MCP Server
https://github.com/pipeworx-io/mcp-mapbox
2/7 registries