Google Maps (Archived) MCP Server
Tools for interacting with the Google Maps API.
What is an MCP Server?
MCP Info
Image Building Info
Available Tools (7)
| Tools provided by this Server |
Short Description |
maps_directions |
Get directions between two points |
maps_distance_matrix |
Calculate travel distance and time for multiple origins and destinations |
maps_elevation |
Get elevation data for locations on the earth |
maps_geocode |
Convert an address into geographic coordinates |
maps_place_details |
Get detailed information about a specific place |
maps_reverse_geocode |
Convert coordinates into an address |
maps_search_places |
Search for places using Google Places API |
Tools Details
Get directions between two points
| Parameters |
Type |
Description |
destination |
string |
Ending point address or coordinates |
origin |
string |
Starting point address or coordinates |
mode |
string optional |
Travel mode (driving, walking, bicycling, transit) |
Calculate travel distance and time for multiple origins and destinations
| Parameters |
Type |
Description |
destinations |
array |
Array of destination addresses or coordinates |
origins |
array |
Array of origin addresses or coordinates |
mode |
string optional |
Travel mode (driving, walking, bicycling, transit) |
Get elevation data for locations on the earth
| Parameters |
Type |
Description |
locations |
array |
Array of locations to get elevation for |
Convert an address into geographic coordinates
| Parameters |
Type |
Description |
address |
string |
The address to geocode |
Get detailed information about a specific place
| Parameters |
Type |
Description |
place_id |
string |
The place ID to get details for |
Convert coordinates into an address
| Parameters |
Type |
Description |
latitude |
number |
Latitude coordinate |
longitude |
number |
Longitude coordinate |
Search for places using Google Places API
| Parameters |
Type |
Description |
query |
string |
Search query |
location |
object optional |
Optional center point for the search |
radius |
number optional |
Search radius in meters (max 50000) |
Use this MCP Server
{
"mcpServers": {
"google-maps": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_MAPS_API_KEY",
"mcp/google-maps"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Why is it safer to run MCP Servers with Docker?