G
Google Maps MCP Server
Connects AI assistants to the Google Maps Platform through MCP, enabling geocoding, directions, and place search using the Google Maps API.
stdioLocalApiKeynpm
What This Server Exposes
Tools
geocodedirectionssearch_places
Resources
- •location data
- •route information
- •place details
Setup Instructions
- 1Create a Google Cloud project and enable the Geocoding, Directions, and Places APIs
- 2Generate an API key with appropriate restrictions
- 3Add the Google Maps server config to your Claude Desktop configuration
- 4Set the GOOGLE_MAPS_API_KEY environment variable
- 5Restart Claude Desktop
Configuration
Claude Desktop Configuration
claude_desktop_config.json
{
"mcpServers": {
"google-maps": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-maps"
],
"env": {
"GOOGLE_MAPS_API_KEY": "your-api-key"
}
}
}
}Environment Variables
| Name | Required | Secret | Description |
|---|---|---|---|
| GOOGLE_MAPS_API_KEY | ✓ | 🔒 | Google Maps Platform API key with the required APIs enabled (Geocoding, Directions, Places) |
GOOGLE_MAPS_API_KEY
Google Maps Platform API key with the required APIs enabled (Geocoding, Directions, Places)
Required🔒 Secret
Server Manifest
No official server.json manifest found. Generate one with our MCP server.json Generator →
Compatibility
Claude DesktopClaude Code
⚠
Safety Notes
Keep your Google Maps API key secret and restrict it by IP address and API scope in the Google Cloud Console. Unrestricted keys can lead to unexpected billing charges if exposed.
This listing is for informational purposes only. CodexSpot is not affiliated with Google Maps MCP Server.