maps_distance_matrix
Calculate travel distances and times between multiple origins and destinations. Driving mode supports avoidtolls and avoidhighways.
How to use it
maps_distance_matrix is exposed by the MCP Google Map MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the maps_distance_matrix tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Google Map
npx @cablate/mcp-google-map --stdioOther tools in MCP Google Map (17)
Get air quality index, pollutant concentrations, and health recommendations by demographic group.
Geocode up to 50 addresses in one call — returns coordinates for each.
Compare places side-by-side — searches, gets details, and optionally calculates distances.
Get step-by-step navigation between two points with route details. Driving mode supports avoidtolls and avoidhighways.
Get elevation (meters above sea level) for geographic coordinates.
Explore what's around a location — searches multiple place types and gets details in one call.
Convert an address or landmark name into GPS coordinates.
Track a business's local search ranking across a geographic grid — like LocalFalcon. Supports up to 3 keywords for batch scanning. Returns rank at each point, top-3 competitors, and metrics (ARP, ATRP, SoLV).
Get full details for a place by its placeid — reviews, phone, website, hours. Optional maxPhotos param returns photo URLs.
Plan an optimized multi-stop route — uses Routes API waypoint optimization (up to 25 stops) for efficient ordering. Driving mode supports avoidtolls and avoidhighways.
Convert GPS coordinates into a street address.
Search for places along a route between two points — ranked by minimal detour time.
Find places near a location by type (restaurant, cafe, hotel, etc.). Supports filtering by radius, rating, and open status.
Free-text place search (e.g., "sushi restaurants in Tokyo"). Supports location bias, rating, open-now filters.
Generate a map image with markers, paths, or routes — returned inline for the user to see directly.
Get timezone ID, name, UTC/DST offsets, and local time for coordinates.
Get current weather conditions or forecast — temperature, humidity, wind, UV, precipitation.