Google Maps MCP

v26.11.14
com.renzojohnson/google-maps-mcp Checked 1 day ago Published 21 days ago

Google Maps MCP server: geocoding, places, directions, distance matrix, elevation and time zones.

Values you need

VariableWhat it is
GOOGLE_MAPS_API_KEYrequired secret Google Maps Platform API key with the Maps APIs you use enabled.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add google-maps-mcp -e 'GOOGLE_MAPS_API_KEY=<GOOGLE_MAPS_API_KEY>' -- npx -y @renzo.johnson/google-maps-mcp@26.11.14
Add to claude_desktop_config.json
{
  "mcpServers": {
    "google-maps-mcp": {
      "args": [
        "-y",
        "@renzo.johnson/google-maps-mcp@26.11.14"
      ],
      "command": "npx",
      "env": {
        "GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "google-maps-mcp": {
      "args": [
        "-y",
        "@renzo.johnson/google-maps-mcp@26.11.14"
      ],
      "command": "npx",
      "env": {
        "GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GOOGLE_MAPS_API_KEY",
      "id": "google-maps-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "google-maps-mcp": {
      "args": [
        "-y",
        "@renzo.johnson/google-maps-mcp@26.11.14"
      ],
      "command": "npx",
      "env": {
        "GOOGLE_MAPS_API_KEY": "${input:google-maps-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.google-maps-mcp]
command = "npx"
args = ["-y", "@renzo.johnson/google-maps-mcp@26.11.14"]
env = { "GOOGLE_MAPS_API_KEY" = "<GOOGLE_MAPS_API_KEY>" }

For AI agents

  1. Ask the user for: GOOGLE_MAPS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: ping, maps_geocode, maps_reverse_geocode, maps_search_places, maps_place_details, maps_directions, maps_distance_matrix, maps_elevation, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json