SkillAgentSearch skills...

google-maps-mcp

MCP server for Google Maps — places search, directions, geocoding. Works with Claude Desktop, Cursor, Claude Code. Install with uvx gmaps-mcp.

Install / Use

claude mcp add arthurkatcher -- npx -y github:arthurkatcher/google-maps-mcp

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

70/100

Supported Platforms

Claude Code
Claude Desktop
Cursor

Our assessment of google-maps-mcp

google-maps-mcp scores 70/100 on our quality scale, 3887th of 4,721 Development & Engineering skills we index.

Its MCP Server is 15 KB long, well organised into 33 sections with 8 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.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
3/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 7 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 86/100, with 2 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.

google-maps-mcp compared with similar skills

All 4 of these similar skills score higher than google-maps-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
google-maps-mcp (this skill)by arthurkatcher7037mo agoMCP Server
taste-skillby Leonxlnx100122.4k1d agoCLAUDE.md
Agent-Reachby Panniantong100115.5k3d agoCLAUDE.md
hyperframesby heygen-com10091.7ktodayCLAUDE.md
rufloby ruvnet10082.6ktodayCLAUDE.md

Frequently asked questions

How do I install google-maps-mcp?
Run claude mcp add arthurkatcher -- npx -y github:arthurkatcher/google-maps-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does google-maps-mcp work with?
It is written for Claude Code, Claude Desktop and Cursor, as a MCP Server file. Other agents that read the same format can often use it too.
Is google-maps-mcp safe to use?
It is MIT-licensed and scores 86/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 still maintained?
The repository was last updated about 7 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
<p align="center"> <img src="assets/logo.svg" alt="Google Maps MCP — red map pin with MCP badge" width="160"/> </p>

Google Maps MCP Server

PyPI version Python 3.10+ License: MIT MCP

gmaps-mcp is an MCP server that gives Claude Desktop, Cursor, and Claude Code full Google Maps capabilities — places search, place details, nearby search, directions, geocoding, and reverse geocoding. Install with one line (uvx gmaps-mcp), drop a config block into your MCP client, and your AI assistant can talk to Google Maps natively.

Built on the official Model Context Protocol Python SDK with FastMCP. Supports both stdio transport (local Claude Desktop / Cursor usage) and streamable HTTP transport (for remote deployments and A2A agent-to-agent scenarios).

<!-- TODO: record 15-second demo GIF of Claude Desktop using search_places and drop it here -->

What you can ask Claude once it's installed

  • "Find specialty coffee shops near me in San Francisco"
  • "What are the best ramen places in Shibuya, Tokyo, with reviews?"
  • "How long does it take to walk from Union Square to the Ferry Building?"
  • "Give me driving directions from SFO to Berkeley"
  • "What are the coordinates of the Eiffel Tower?"
  • "What's the address at 37.8199, -122.4783?"
  • "Find a 24-hour pharmacy within 2 km of these coordinates"
  • "Show me the top-rated Italian restaurants in North Beach with their hours and phone numbers"

The MCP client picks the right tool automatically — you don't name it.

Install in Claude Desktop

Edit your claude_desktop_config.json (Settings → Developer → Edit Config) and add:

{
  "mcpServers": {
    "google-maps": {
      "command": "uvx",
      "args": ["gmaps-mcp"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key_here"
      }
    }
  }
}

Restart Claude Desktop. uvx fetches gmaps-mcp from PyPI on first run and caches it — no cloning, no venv, no Docker.

Install in Cursor

Edit ~/.cursor/mcp.json and add:

{
  "mcpServers": {
    "google-maps": {
      "command": "uvx",
      "args": ["gmaps-mcp"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key_here"
      }
    }
  }
}

Restart Cursor. Done.

Install in Claude Code

One command from your terminal:

claude mcp add google-maps \
  -e GOOGLE_MAPS_API_KEY=your_google_maps_api_key_here \
  -- uvx gmaps-mcp

Confirm with claude mcp list.

Get a Google Maps API key

You need a Google Maps Platform API key with Places API (New), Directions API, and Geocoding API enabled. It takes 3 minutes. Google gives $200/month in free Maps credit, far more than solo or small-team use will ever consume.

Step-by-step

  1. Go to Google Cloud Console and create (or pick) a project.
  2. Enable billing on the project. This is required even for the free tier. If you skip this step, every Google Maps call will return 403 BILLING_DISABLED (see Troubleshooting). Add a card — the free credit runs first, so you will not be charged for normal use.
  3. Enable these APIs in APIs & Services → Library:
    • Places API (New) — powers search_places, get_place_details, search_nearby
    • Directions API — powers get_directions
    • Geocoding API — powers geocode, reverse_geocode
  4. Go to APIs & Services → Credentials → + CREATE CREDENTIALS → API key.
  5. (Recommended) Click the new key → Edit → API restrictions → restrict to just those three APIs.
  6. Copy the key into your MCP client config above.

Tools

All six tools are real Google Maps calls against live data. No mocks, no stub responses.

| Tool | What it does | |---|---| | search_places | Text search for businesses, landmarks, POIs | | get_place_details | Reviews, amenities, hours, phone, price level for a specific place | | search_nearby | Find places within a radius of GPS coordinates, filtered by type | | get_directions | Step-by-step routes — driving, walking, bicycling, transit | | geocode | Address or landmark → GPS coordinates | | reverse_geocode | GPS coordinates → human-readable address |

search_places

Text search for places by natural-language query. Returns businesses, landmarks, and points of interest with ratings, addresses, phone numbers, websites, opening hours, and coordinates.

Ask Claude:

  • "find specialty coffee shops in San Francisco"
  • "best ramen in Shibuya"
  • "24-hour pharmacies in Brooklyn"
  • "pet-friendly cafes near Golden Gate Park"

Returns: query, total_results, places[] with name, address, phone, website, google_maps_url, rating, reviews_count, price_level, types, latitude, longitude, is_open_now, opening_hours, business_status.

get_place_details

Get rich details about a specific place using its Google Place ID (returned by search_places). Includes reviews, amenities, editorial summary, and payment options.

Ask Claude:

  • "show me the reviews for that first coffee shop"
  • "is the second restaurant dog-friendly? do they have outdoor seating?"
  • "what are the opening hours and phone number of the place I just asked about"

Returns: everything from search_places plus top 5 reviews (author, rating, text, relative time), editorial_summary, and amenity flags: delivery, dine_in, takeout, reservable, outdoor_seating, live_music, payment_options, accessibility_options.

search_nearby

Find places within a radius of specific GPS coordinates. Use after geocode gives you a location, or when the user provides coordinates directly.

Ask Claude:

  • "find cafes within 500 meters of these coordinates"
  • "what hotels are within 2 km of the Eiffel Tower?"
  • "show me gas stations within 5 km of 37.7955, -122.3937"

Parameters: latitude, longitude, radius_meters (max 50,000), place_type (optional — restaurant, cafe, bar, hotel, gas_station, pharmacy, hospital, etc.), max_results.

Returns: center, radius_meters, place_type, total_results, places[] with the same fields as search_places.

get_directions

Step-by-step navigation between two locations, with total distance and duration. Supports driving (with traffic-aware duration), walking, bicycling, and public transit.

Ask Claude:

  • "how do I walk from Union Square to the Ferry Building?"
  • "give me driving directions from SFO to Berkeley with traffic"
  • "bicycle route from Central Park to Times Square"

Parameters: origin (address, landmark, or "lat,lng"), destination (same), mode ("driving" default, "walking", "bicycling", "transit").

Returns: origin, destination, mode, routes[] with summary, legs[] containing start_address, end_address, distance, duration, duration_in_traffic, and steps[] with step-by-step instruction, distance, duration.

geocode

Convert an address, landmark, or place description into GPS coordinates.

Ask Claude:

  • "what are the coordinates of the Eiffel Tower?"
  • "geocode 1600 Amphitheatre Parkway, Mountain View"
  • "find the latitude and longitude of Ferry Building San Francisco"

Returns: query, formatted_address, latitude, longitude, place_id, location_type, types.

reverse_geocode

Convert GPS coordinates into a human-readable address.

Ask Claude:

  • "what's at 37.8199, -122.4783?"
  • "reverse geocode these coordinates: 48.8584, 2.2945"
  • "what address is at latitude 40.7580, longitude -73.9855?"

Returns: latitude, longitude, formatted_address, place_id, address_components[].

Troubleshooting

403 BILLING_DISABLED / 403 Forbidden from Google

This is the most common setup issue. The error looks like:

Google Maps API error: 403 - {
  "error": {
    "code": 403,
    "message": "This API method requires billing to be enabled...",
    "status": "PERMISSION_DENIED",
    "details": [{"reason": "BILLING_DISABLED", ...}]
  }
}

Fix: Go back to step 2 of the API key setup and enable billing on your GCP project. Billing is required even though you will never actually be charged for normal solo use (Google's $200/month free credit handles it). Wait 2-3 minutes after enabling for the change to propagate through Google's systems, then retry.

API_KEY_INVALID / API project not authorized

You enabled billing but forgot to enable the specific APIs. Go back to step 3 and turn on Places API (New), Directions API, and Geocoding API individually.

uvx: command not found

Install uv first: curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or powershell -c "irm https://astral.sh/uv/install.ps1 | iex" (Windows).

Tools work in HTTP mode but not stdio (or vice versa)

Both transports share the exact same client and tool implementations — if one works, the other should too. If you hit a mismatch, open an issue with the error output.

Why this MCP server

If you're searching PyPI for a Google Maps MCP server, you'll find a couple of options. Here's what's different about gmaps-mcp:

  • Both transports in one package. Stdio for Claude Desktop / Cursor / Claude Code local usage, streamable HTTP for remote deployment and A2A scenarios. Same codebase, same tools, same behavior.
  • All six Google Maps capabilities. Not just search — places details, nearby search, directions with traffic, geocoding, reverse geocoding.
  • Uses Places API (New). The current Google Places API, not the legacy v1 endpoints that Google has deprecated.
  • Real FastMCP implementation. Built on the official MCP Python SDK, not a hand-rolled protocol parser.
  • MIT licensed, zero telemetry. Your queries never leave your machine except to hit Google's APIs directly.
  • Tested against the real API. Every tool is verified end-to-end against live Google endpoints on both transports.

Remote HTTP server mode

For deployments, shared team usage, or A2A agent-to-agent scenarios, gmaps-mcp also runs as a streamable HTTP server with optional API key auth.

git clone https://github.com/arthurkatcher/google-maps-mcp
cd google-maps-mcp
uv sync
cp .env.example .env  # edit with your API key
python run.py

Server listens on http://127.0.0.1:8000 by default, MCP endpoint at /mcp/, health check at /health. For local-only use you can leave MCP_API_KEY unset.

⚠️ Before exposing the server publicly (ngrok, reverse proxy, LAN, etc.): set MCP_API_KEY to a random secret. Without it, anyone who reaches the URL can run searches against your billed GOOGLE_MAPS_API_KEY. Also bind to 127.0.0.1 and let your tunnel/proxy forward from there, rather than binding 0.0.0.0 directly.

# .env
MCP_API_KEY=$(openssl rand -hex 32)
MCP_HOST=127.0.0.1

# then
python run.py
ngrok http 8000 --host-header=rewrite
# clients call https://your-ngrok-url.ngrok-free.dev/mcp/ with X-API-Key: <secret>

ℹ️ Why --host-header=rewrite. The MCP Python SDK's HTTP transport validates the Host header to block DNS-rebinding attacks against localhost servers. ngrok's default forwards the public hostname, which the SDK rejects with 421 Invalid Host header. --host-header=rewrite makes ngrok forward the upstream Host (127.0.0.1:8000), which passes the check. The same reasoning ap

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated6mo ago
Forks2

Languages

Python

Trust signals

86/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 low
google-maps-mcp — MCP Server: Install & Safety Check | SkillAgent