MCP server for the Google Maps API. Location services, routes, and place details
artifact
maps_geocode- Converting addresses to coordinates
- Input:
address(String) - Returns: location, formatted_address, place_id
maps_reverse_geocode- Converting coordinates to addresses
- Input:
latitude(figures)longitude(figures)
- Returns: formatted_address, place_id, address_components
maps_search_places- Search for locations using text queries
- Input:
query(String)location(optional): {latitude: number, longitude: number}radius(optional): digital (meters, max. 50,000)
- Returns: an array of locations containing names, addresses, and locations
maps_place_details- Get detailed information about a location
- Input:
place_id(String) - Returns: name, address, contact info, ratings, reviews, hours of operation
maps_distance_matrix- Calculate the distance and time between points
- Input:
origins(String [])destinations(String [])mode(Optional): "Drive" | "Walk" | "Bike" | "Transit"
- Return: Distance and Duration Matrix
maps_elevation- Get elevation data for the location
- Input:
locations({latitude, longitude} array) - Return: Elevation data for each point
maps_directions- Route between acquisition points
- Input:
origin(String)destination(String)mode(Optional): "Drive" | "Walk" | "Bike" | "Transit"
- Back: Route details with steps, distance, duration
set up
API key
on the basis ofGet a Google Maps API key here. The
Use with Claude Desktop
Add the following to your claude_desktop_config.json ::
{
"mcpServers": {
"google-maps": {
"command": "docker",
"args": [
"run",
"-i".
"--rm".
"-e".
"GOOGLE_MAPS_API_KEY".
"mcp/google-maps"
],.
"env": {
"GOOGLE_MAPS_API_KEY":""
}
}
}
}
a license
This MCP server is licensed under the MIT License. This means that you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT license. For more details, see the LICENSE file in the project repository.
- ¥Download for freeDownload after commentDownload after login
- {{attr.name}}: