mapbox-mcp-server

mapbox_matrix_by_places

Calculate travel time and distance matrices between places using their names

Input Schema

NameRequiredDescriptionDefault
annotationsNoType of matrix to returnduration,distance
depart_atNoDeparture time in ISO 8601 format
destinationsNoIndices of destination places
fallback_speedNoSpeed for direct path calculation when no route exists
languageNoLanguage for geocoding results
placesYesArray of place names
profileNoNavigation modedriving
sourcesNoIndices of source places

Input Schema (JSON Schema)

{ "properties": { "annotations": { "default": "duration,distance", "description": "Type of matrix to return", "enum": [ "duration", "distance", "duration,distance" ], "type": "string" }, "depart_at": { "description": "Departure time in ISO 8601 format", "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "type": "string" }, "destinations": { "description": "Indices of destination places", "items": { "minimum": 0, "type": "number" }, "type": "array" }, "fallback_speed": { "description": "Speed for direct path calculation when no route exists", "minimum": 0, "type": "number" }, "language": { "description": "Language for geocoding results", "pattern": "^[a-z]{2}$", "type": "string" }, "places": { "description": "Array of place names", "items": { "type": "string" }, "maxItems": 25, "minItems": 2, "type": "array" }, "profile": { "default": "driving", "description": "Navigation mode", "enum": [ "driving", "walking", "cycling" ], "type": "string" }, "sources": { "description": "Indices of source places", "items": { "minimum": 0, "type": "number" }, "type": "array" } }, "required": [ "places" ], "type": "object" }