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.

The server speaks MCP over stdio, so you normally let your AI agent start it, as below. Or add it to .mcp.json in your project (or ~/.claude.json for every project): Add the same block to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

Summary extracted from the README.

Google Maps MCP

npm License: MIT

Google Maps MCP server for Claude Code, Cursor, Copilot and five more AI agents. This is the MCP server from the Google Maps MCP VS Code extension, packaged to run with npx in any MCP client.

Requires Node.js 22 or newer.

npx -y @renzo.johnson/google-maps-mcp

The server speaks MCP over stdio, so you normally let your AI agent start it, as below.

Claude Code

claude mcp add google-maps-mcp -- npx -y @renzo.johnson/google-maps-mcp

Or add it to .mcp.json in your project (or ~/.claude.json for every project):

{
  "mcpServers": {
    "google-maps-mcp": {
      "command": "npx",
      "args": ["-y", "@renzo.johnson/google-maps-mcp"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Add the same block to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "google-maps-mcp": {
      "command": "npx",
      "args": ["-y", "@renzo.johnson/google-maps-mcp"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your-api-key"
      }
    }
  }
}

Credentials

Set GOOGLE_MAPS_API_KEY to a Google Maps Platform API key. Create it in Google Cloud Console, enable the Maps APIs you want to use, and restrict the key to them. Google bills Maps requests after the monthly free usage, so set a budget alert on the project.

Google Maps Platform bills per request after its monthly free usage. Set a budget alert on the project so an AI agent's requests never surprise you.

Available Tools (9)

Tool What It Does Example Prompt
maps_geocode Address to coordinates and place ID "Where exactly is 1 Main St, Orlando?"
maps_reverse_geocode Coordinates to address "What is at 28.5431, -81.3726?"
maps_search_places Search places by text near a point "Coffee shops near Lake Eola"
maps_place_details Phone, website, hours, rating, reviews "When does this restaurant close?"
maps_directions Route with distance, time and steps "Drive time to Miami with traffic"
maps_distance_matrix Times between many origins and destinations "Which store is closest to each customer?"
maps_elevation Elevation of points "How high is this trailhead?"
maps_timezone Time zone of a location "What time zone is Cusco in?"

VS Code

Prefer a setup wizard that registers the server with eight agents for you? Install the Google Maps MCP extension instead (also on the VS Code Marketplace). Use one or the other, not both.


By Renzo Johnson