Google Maps MCP Server

Local MCP Server for Google Maps Route Optimization

Local serverstdioGo

What is the Google Maps MCP server?

If you want an AI assistant working directly with Google Maps, the google maps mcp server is the bridge. Local MCP Server for Google Maps Route Optimization.

What Google Maps does

A Model Context Protocol (MCP) server that integrates Google Maps routing and traffic capabilities with Claude AI for advanced route planning, traffic analysis, and cost estimation.

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • calculate_route — Get optimal route with traffic consideration and waypoints
  • compare_routes — Compare multiple route alternatives with different options
  • get_live_traffic — Get real-time traffic information and travel delays
  • estimate_costs — Calculate trip costs including fuel and toll estimates

Installing the google maps mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 2 environment variables: GOOGLE_API_KEY, YOUR_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • Node.js (LTS version 18+ recommended) - Download from nodejs.org - Google Maps API Key with required services enabled - Claude Desktop application for MCP integration

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Google Maps sits in that group, and the shape of its toolset — calculate_route, compare_routes, get_live_traffic among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by arunrajece, written in Go.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the google maps mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
calculate_routeGet optimal route with traffic consideration and waypoints
compare_routesCompare multiple route alternatives with different options
get_live_trafficGet real-time traffic information and travel delays
estimate_costsCalculate trip costs including fuel and toll estimates

How to install the Google Maps MCP server

{
  "mcpServers": {
    "google-maps": {
      "command": "node",
      "args": ["/absolute/path/to/google-maps-mcp-server/src/index.js"],
      "cwd": "/absolute/path/to/google-maps-mcp-server"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js (LTS version 18+ recommended) - Download from nodejs.org - Google Maps API Key with required services enabled - Claude Desktop application for MCP integration
VariableDescriptionRequired
GOOGLE_API_KEYCredential the server authenticates with.Yes
YOUR_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Google Maps to calculate route.
  • Use Google Maps to compare routes.
  • Use Google Maps to get live traffic.

Frequently asked questions

It connects Google Maps to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (calculate_route, compare_routes, get_live_traffic, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Google Maps directly.