Google Maps MCP Server

Google Maps MCP server provides AI assistants with location-based services including places search, directions, geocoding, elevation data, and detailed place information.

May 4, 2025
MCP ServerTravel & TransportationGoogle Maps MCP Server
Official

Overview

The Google Maps MCP Server brings the world's most popular mapping platform to AI assistants. Formerly part of the official Anthropic MCP servers collection, this server provides access to Google Maps' comprehensive location data — including place search, geocoding, directions, elevation data, and detailed place information. With over 1 billion monthly users, Google Maps is the definitive source for location-based services.

Official MCP Server:

Originally part of the official modelcontextprotocol/servers collection

Key Features

📍

Place Search

Search for places, businesses, and points of interest by keyword and location

🧭

Directions & Routes

Get driving, walking, cycling, and transit directions with estimated travel times

🔢

Geocoding

Convert addresses to coordinates and reverse geocode coordinates to addresses

🏪

Place Details

Get detailed information including hours, photos, reviews, phone numbers, and website

⛰️

Elevation Data

Get elevation data for any point or path on the Earth's surface

🔍

Nearby Search

Find places near a location filtered by type, radius, and keyword

Available Tools

Quick Reference

ToolPurpose
search_placesSearch for places by keyword and location
get_directionsGet directions between two points with travel mode
geocodeConvert an address to geographic coordinates
reverse_geocodeConvert coordinates to a street address
get_place_detailsGet detailed information about a specific place
find_nearbyFind places near a location by type and radius
get_elevationGet elevation data for a specific location

Detailed Usage

search_places

Search for places by keyword and location with optional filters.

{
  "query": "coffee shops",
  "location": "San Francisco, CA",
  "radius": 1000
}
get_directions

Get directions between two points with travel mode and departure time.

{
  "origin": "Times Square, New York",
  "destination": "Central Park, New York",
  "mode": "walking"
}
geocode

Convert a street address to latitude/longitude coordinates.

{
  "address": "1600 Amphitheatre Parkway, Mountain View, CA"
}
find_nearby

Find places near a location filtered by type and radius.

{
  "latitude": 40.7580,
  "longitude": -73.9855,
  "type": "restaurant",
  "radius": 500
}

Installation

{
  "mcpServers": {
    "google-maps": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-google-maps"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your_api_key"
      }
    }
  }
}

API Key Required:

Get a Google Maps API key from the Google Cloud Console and enable the Maps API services

Use Cases

Location Discovery

Ask AI to find specific types of businesses or places near any location.

Trip Navigation

Plan a route with multiple stops, compare travel times by mode, and get turn-by-turn directions.

Address Resolution

Convert between addresses and coordinates for mapping and analysis workflows.

Place Research

Get comprehensive information about any place including hours, contact info, and reviews.

Sources