Skip to content
VS Code

Google Maps MCP for VS Code

com.renzojohnson/google-maps-mcp

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

client:VS Code transport:stdio runtime:npm

Install Google Maps MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-maps-api-key",
      "description": "GOOGLE_MAPS_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "google-maps-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@renzo.johnson/google-maps-mcp"
      ],
      "env": {
        "GOOGLE_MAPS_API_KEY": "${input:google-maps-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Google Maps MCP in other clients