Google Maps MCP Server

Geocoding, place search, directions, and distance matrix for AI agents

By Anthropic (official) ★ 2.3K stars official google web

The Google Maps MCP Server connects AI agents to the Google Maps Platform, unlocking geocoding (address → coordinates), reverse geocoding, place search, directions between locations, and distance matrix calculations. Ideal for any agent that needs to reason about physical locations, plan routes, or enrich data with geographic context.

You need a Google Maps Platform API key with the Geocoding API, Places API, and Directions API enabled.

Installation & Configuration

Add this block to your claude_desktop_config.json:

{
  "mcpServers": {
    "google-maps": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-google-maps"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Get an API key from the Google Cloud Console. Enable the Geocoding, Places, and Directions APIs for your project.

Config file location:

Available Tools (5)

Use Cases

Source & Documentation

← Back to MCP Server Directory