Google Maps
OfficialMCP server for Google Maps Platform APIs - geocoding, directions, places, and more.
claude mcp add --transport stdio modelcontextprotocol-server-google-maps npx -y @modelcontextprotocol/server-google-maps
How to use
The Google Maps MCP server enables developers to integrate various location-based services from the Google Maps Platform APIs. With capabilities such as geocoding, directions, and place searches, you can enhance your applications with powerful mapping functionalities and location intelligence. This server simplifies access to these services, allowing you to focus on building innovative features for your users.
Once you have connected to the Google Maps MCP server, you can interact with it using the available tools. For instance, you can use maps_geocode to convert an address into geographic coordinates or maps_reverse_geocode to retrieve an address from latitude and longitude. Additionally, tools like maps_search_places allow you to search for locations based on text queries, while maps_directions provides step-by-step navigation between different points. Optimal queries typically include clear and specific location data to ensure accurate responses.
How to install
To get started with the Google Maps MCP server, ensure you have Node.js installed on your system. You can quickly set up the server using one of the following methods:
Option A: Quick start with npx
npx -y @modelcontextprotocol/server-google-maps
Option B: Global install alternative
npm install -g @modelcontextprotocol/server-google-maps
After installing, you can run the server and begin making requests to the available tools.
Additional notes
When configuring the Google Maps MCP server, you will need to set your Google Maps API key as an environment variable. Commonly, this is done by adding GOOGLE_MAPS_API_KEY=your_api_key to your environment. Be cautious of rate limits imposed by the Google Maps API; consider implementing caching strategies to improve performance and reduce redundant API calls.
Available tools
maps_geocode
Convert address to coordinates
maps_reverse_geocode
Convert coordinates to address
maps_search_places
Search for places by text query
maps_place_details
Get detailed place information
maps_directions
Get directions between locations
maps_distance_matrix
Calculate distances between points
maps_elevation
Get elevation data for locations
Related MCP Servers
google-maps
Google Maps Platform MCP server
osmmcp
OpenStreetMap MCP server providing precision geospatial tools for LLMs via Model Context Protocol. Features geocoding, routing, nearby places, neighborhood analysis, EV charging stations, and more.
mcp
MCP server to access free geocoding
google-maps
Google Maps MCP Server: Connect AI Agents to Places, Directions, Geocoding & Roads APIs. Deployed on Kubernetes.
Directions2Music
A SpeedGeeking project for the Esri European Dev & Tech Summit 2025 in Frankfurt 😎 This is not quite a live demo (because usage requires paid accounts), but you can skip through an archive of generated songs from routing instructions. Enjoy!
osmmcp
OpenStreetMap MCP server providing precision geospatial tools for LLMs via Model Context Protocol. Features geocoding, routing, nearby places, neighborhood analysis, EV charging stations, and more.