google-maps-mcp-server
Google Maps MCP Server: Connect AI Agents to Places, Directions, Geocoding & Roads APIs. Deployed on Kubernetes.
Install / Use
claude mcp add ettysekhon -- npx -y github:ettysekhon/google-maps-mcp-serverIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
OperationsSupported Platforms
Our assessment of google-maps-mcp-server
google-maps-mcp-server scores 75/100 on our quality scale, 687th of 760 Operations skills we index.
Its MCP Server is 19 KB long, well organised into 85 sections with 32 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 9 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 74/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below).
- noteInstalls by piping a downloaded script into a shellline 595
curl -LsSf https://astral.sh/uv/install.sh | sh
Automated pattern scan on 2026-11-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
google-maps-mcp-server compared with similar skills
All 4 of these similar skills score higher than google-maps-mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| google-maps-mcp-server (this skill)by ettysekhon | 75 | 3 | 9mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 114.7k | 1d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 90.0k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 80.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install google-maps-mcp-server?
- Run
claude mcp add ettysekhon -- npx -y github:ettysekhon/google-maps-mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does google-maps-mcp-server work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is google-maps-mcp-server safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). It declares no license and scores 74/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is google-maps-mcp-server still maintained?
- The repository was last updated about 9 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubGoogle Maps MCP Server
Production-ready Model Context Protocol (MCP) server for Google Maps Platform APIs.
Empower your AI agents with real-world location intelligence: directions, places, geocoding, traffic analysis, and road network data—all through a standardised MCP interface.
Features
- Production-Ready: Robust error handling, automatic retries with exponential backoff, structured logging
- Universal Integration: Works with Claude Desktop, Google ADK, and any MCP-compatible client
- Comprehensive API Coverage: 11 tools spanning all major Google Maps APIs
- Type-Safe: Full type annotations with Pydantic validation and mypy compliance
- Zero Configuration: Sensible defaults, works out of the box
- Thoroughly Tested: >90% code coverage with unit and integration tests
- Docker Support: Ready-to-deploy container images
- Excellent Documentation: Extensive examples, API reference, and best practices
- Modern Python: Built for Python 3.10+ using uv package manager
Supported APIs & Tools
| API | Tool | Description | Use Cases |
|-----|------|-------------|-----------|
| Places API | search_places | Find points of interest near a location | Restaurant recommendations, gas station finder, POI search |
| Places API | get_place_details | Get comprehensive details for a place | Opening hours, websites, phone numbers, accessibility info |
| Directions API | get_directions | Get routes with real-time traffic | Route planning, ETA calculation, alternative routes |
| Directions API | get_traffic_conditions | Analyse real-time traffic congestion | Commute monitoring, delay estimation, fleet routing |
| Geocoding API | geocode_address | Convert addresses to coordinates | Address validation, location lookup |
| Geocoding API | reverse_geocode | Convert coordinates to addresses | Location identification, address lookup |
| Distance Matrix API | calculate_distance_matrix | Multi-origin/destination distances | Fleet routing, delivery optimisation, travel planning |
| Roads API | snap_to_roads | Snap GPS points to road network | GPS trace cleaning, route reconstruction |
| Roads API | get_speed_limits | Retrieve speed limit data | Fleet safety monitoring, compliance checking |
| Elevation API | get_route_elevation_gain | Calculate elevation gain and profile | Cycling/hiking planning, fuel efficiency |
| Compound | calculate_route_safety_factors | Assess route safety risks | Fleet safety, insurance scoring, driver assistance |
Quick Start
Prerequisites
- Python 3.10 or higher (3.14+ recommended)
- Google Maps API key
- uv package manager (optional but recommended)
Installation
Using uv (Recommended)
uv pip install google-maps-mcp-server
Using pip
pip install google-maps-mcp-server
From Source
git clone https://github.com/ettysekhon/google-maps-mcp-server.git
cd google-maps-mcp-server
uv sync
Setup Google Maps API Key
- Visit the Google Cloud Console
- Create a new project or select an existing one
- Enable the following APIs:
- Places API
- Directions API
- Geocoding API
- Distance Matrix API
- Roads API
- Create credentials (API Key)
- Restrict your API key (recommended):
- Application restrictions: HTTP referrers or IP addresses
- API restrictions: Select only the APIs listed above
Configuration
Create a .env file in your working directory:
GOOGLE_MAPS_API_KEY=your_maps_api_key_here
LOG_LEVEL=INFO
MAX_RESULTS=20
Or set environment variables:
export GOOGLE_MAPS_API_KEY="your_maps_api_key_here"
Run the Server
# Using the installed command
google-maps-mcp-server
# Or using Python module
python -m google_maps_mcp_server
# Or using uv
uv run google-maps-mcp-server
Deployment
See DEPLOYMENT.md for full instructions, troubleshooting, and architecture details.
Local Docker Testing
# Set your API key (or create a .env file)
export GOOGLE_MAPS_API_KEY=your-key
# Build and run
make docker-run
# Verify (in another terminal)
make verify-local
GKE Deployment
# Set environment
export GOOGLE_CLOUD_PROJECT=your-project-id
export GOOGLE_CLOUD_REGION=europe-west2
# First time: create secret
make deploy-secret
# Deploy (build, push, apply)
make deploy-all
# Check status
make deploy-status
Redeploying After Code Changes
# Rebuild and push new image
make deploy-build
# Force pod to pull new image
kubectl delete pod -l app=google-maps-mcp-server
# Watch for new pod to be ready
kubectl get pods -l app=google-maps-mcp-server -w
Testing with MCP Inspector
Verify your deployment using the official MCP Inspector:
npx @modelcontextprotocol/inspector
- Transport Type: SSE
- URL:
http://<EXTERNAL-IP>/sse(orhttp://localhost:8080/ssefor local) - Should see 11 tools listed


Run make help to see all available commands.
Usage Examples
With Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": ["google-maps-mcp-server"],
"env": {
"GOOGLE_MAPS_API_KEY": "your_api_key_here"
}
}
}
}
Or if installed globally:
{
"mcpServers": {
"google-maps": {
"command": "google-maps-mcp-server",
"env": {
"GOOGLE_MAPS_API_KEY": "your_api_key_here"
}
}
}
}
Now you can ask Claude:
- "Find the best coffee shops near The Strand, London"
- "What are the opening hours for the Natural History Museum?"
- "How is the traffic from London to Manchester right now?"
- "Is the route from Edinburgh to Glasgow safe for night driving?"
- "Convert the address '10 Downing Street, London' to coordinates"
- "What's the address for coordinates 51.5074, -0.1278?"
- "Find petrol stations within 2km of my current location at 51.5074,-0.1278"
With Google ADK
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import MCPToolset
from mcp.client.stdio import StdioServerParameters
async def create_location_agent():
# Connect to Google Maps MCP server
maps_tools = await MCPToolset.from_server(
connection_params=StdioServerParameters(
command='google-maps-mcp-server',
env={"GOOGLE_MAPS_API_KEY": "your_api_key_here"}
)
)
# Create agent with Maps tools
agent = Agent(
name="location_intelligence_agent",
model="gemini-2.0-flash",
instruction="""You are a location intelligence assistant with access to
Google Maps data. Help users with directions, place searches, and location queries.""",
tools=[maps_tools]
)
return agent
# Use the agent
agent = await create_location_agent()
response = await agent.run("Find Italian restaurants near Hyde Park, London")
print(response)
Programmatic Usage
import asyncio
from google_maps_mcp_server import GoogleMapsMCPServer, Settings
async def main():
# Initialise with custom settings
settings = Settings(
google_maps_api_key="your_api_key_here",
log_level="DEBUG",
max_results=10
)
server = GoogleMapsMCPServer(settings)
# Run the server
await server.run()
if __name__ == "__main__":
asyncio.run(main())
Direct Tool Usage
from google_maps_mcp_server.tools import PlacesTool, DirectionsTool
from google_maps_mcp_server.config import Settings
async def find_nearby_restaurants():
settings = Settings(google_maps_api_key="your_key")
places_tool = PlacesTool(settings)
result = await places_tool.execute({
"location": "51.5118,-0.1175", # The Strand, London
"keyword": "pizza",
"radius": 1000
})
print(f"Found {result['data']['count']} pizza places")
for place in result['data']['places']:
print(f"- {place['name']}: {place['rating']}⭐")
asyncio.run(find_nearby_restaurants())
Docker Usage
# Build the image
docker build -t google-maps-mcp .
# Run the container
docker run -it \
-e GOOGLE_MAPS_API_KEY=your_maps_key_here \
google-maps-mcp
# Or use docker-compose
docker-compose up
Configuration Options
All configuration can be set via environment variables or .env file:
| Variable | Type | Default | Description |
|----------|------|---------|-------------|
| GOOGLE_MAPS_API_KEY | string | required | Google Maps Platform API key (for Maps tools) |
| LOG_LEVEL | string | INFO | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
| MAX_RESULTS | integer | 20 | Maximum results to return (1-60) |
| DEFAULT_RADIUS_METERS | integer | 5000 | Default search radius in meters |
| MAX_RADIUS_METERS | integer | 50000 | Maximum allowed search radius |
| MAX_RETRIES | integer | 3 | Maximum retry attempts for failed requests |
| RETRY_MIN_WAIT | float | 1.0 | Minimum wait between retries (seconds) |
| RETRY_MAX_WAIT | float | 10.0 | Maximum wait between retries (seconds) |
Tool Documentation
search_places
Find places near a location.
Parameters:
location(required): Coordinates as "lat,lng" or address stringkeyword(required): Search keyword (e.g., "restaurant", "petrol station")radius(optional): Search radius in meters (default: 5000, max: 50000)type(optional): Place type filter (e.g., "restaurant", "gas_station")
Example:
{
"location": "51.5118,-0.1175",
"keyword": "coffee shop",
"radius": 1000,
"type": "cafe"
}
get_place_details
Get detailed information about a specific place.
Parameters:
place_id(required): The unique Place IDfields(optional): Specific fields to retrieve (e.g., ["name", "phone", "hours"])
Example:
{
"place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
"fields": ["name", "website", "hours"]
}
get_directions
Get route directions with real-time traffic.
Parameters:
origin(required): Start location (address or coordinates)destination(required): End location (address or coordinates)mode(optional): Travel mode - "driving" (default), "walking", "bicycling", "transit"departure_time(optional): ISO 8601 timestamp for traffic estimationalternatives(optional): Return alternative routes (default: true)avoid(optional): Features to a
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
114.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
90.0kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
80.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
