Google Maps MCP Server
Provides tools for searching businesses, attractions, and services on Google Maps, retrieving structured place details including ratings, contact info, coordinates, and Google Maps URLs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Maps MCP ServerFind me the top-rated pizza places in Brooklyn"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
πΊοΈ Google Maps MCP Server (gmaps-mcp)
A self-contained, lightweight Google Maps Model Context Protocol (MCP) server built with the official MCP Python SDK. It provides AI agents (such as Claude Desktop, Cursor, Cline, and Antigravity) with structured search results, place details, ratings, contact info, coordinates, and Google Maps URLs.
β‘ Key Features
One-Command Installation: Runs anywhere instantly via
uvxwithout manual environment setup.100% Self-Contained: Scraper engine is integrated natively in-process via
asyncioandaiohttpβno external subprocesses, headless browsers, or API keys required.Rich Structured Place Data: Returns Place IDs, business names, categories, addresses, local & international phone numbers, website URLs, coordinates (
lat/long), star ratings, review counts, and direct Google Maps links.Stdio & Streamable HTTP: Native
stdiosupport for desktop AI clients andstreamable-httpfor remote/containerized deployments.Clean JSON-RPC: All internal logging is piped strictly to
stderr, keeping the stdio protocol stream 100% compliant.
Related MCP server: Google Maps MCP Server
π Quickstart
Run directly using uvx:
# Run directly from GitHub repository
uvx --from git+https://github.com/<your-username>/gmaps-mcp.git gmaps-mcpOr from a local clone:
uv run gmaps-mcpπ οΈ MCP Client Configuration
1. Claude Desktop
Add this to your claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/<your-username>/gmaps-mcp.git",
"gmaps-mcp"
]
}
}
}If running from a local folder:
{
"mcpServers": {
"google-maps": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/gmap-mcp",
"gmaps-mcp"
]
}
}
}2. Cursor IDE
In Cursor, open Settings β Features β MCP (or edit .cursor/mcp.json in your project):
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/<your-username>/gmaps-mcp.git",
"gmaps-mcp"
]
}
}
}3. Cline (VS Code Extension)
In Cline Settings (cline_mcp_settings.json):
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/<your-username>/gmaps-mcp.git",
"gmaps-mcp"
]
}
}
}π§° Available Tools
1. search_google_maps
Search Google Maps for businesses, attractions, services, and landmarks.
Parameter | Type | Default | Description |
|
| (required) | Search term (e.g. |
|
|
| Maximum number of results to return ( |
|
|
| Two-letter ISO country code for region localization (e.g. |
|
|
| Language code for results (e.g. |
Output Structure
{
"query": "coffee in Koramangala Bangalore",
"country": "in",
"language": "en",
"total_results": 2,
"places": [
{
"place_id": "ChIJ80IECk8UrjsRqCffDjE09lw",
"name": "Dyu Art Cafe",
"category": "Art cafe",
"address": "KHB MIG Colony, 1st Cross Rd, Koramangala 8th Block, Bengaluru, Karnataka 560095",
"phone": "096113 19774",
"international_phone": "+91 96113 19774",
"website": "http://www.dyuartcafe.com/",
"domain": "dyuartcafe.com",
"latitude": 12.9373076,
"longitude": 77.6176544,
"rating": 4.4,
"review_count": 21440,
"google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ80IECk8UrjsRqCffDjE09lw"
}
]
}2. get_place_details
Retrieve detailed information for a single specific place or business by its Place ID or name.
Parameter | Type | Default | Description |
|
| (required) | Google Place ID (e.g. |
|
|
| Two-letter ISO country code (default: |
|
|
| Language code for response (default: |
π Remote Deployment (Streamable HTTP)
The server supports modern Streamable HTTP transport for deployment behind reverse proxies or cloud hosting:
# Start Streamable HTTP server on port 8000
uv run gmaps-mcp --transport streamable-http --host 0.0.0.0 --port 8000The MCP endpoint will be available at:
http://<host>:8000/mcp
π§ͺ Development & Testing
Run unit and integration tests using uv:
# Run pytest test suite
uv run --with pytest --with pytest-asyncio pytest tests/ -v
# Run the server locally with debug logs
uv run gmaps-mcp --log-level DEBUGπ¦ Project Structure
gmap-mcp/
βββ pyproject.toml # Packaging & dependencies (PEP 517/621)
βββ README.md # Setup guide and MCP client docs
βββ src/
β βββ gmaps_mcp/
β βββ __init__.py # Package entry
β βββ schemas.py # Pydantic data models (Place, Search, Details)
β βββ server.py # MCPServer instance & CLI runner
β βββ tools.py # MCP Tool definitions & detailed descriptions
β βββ scraper/
β βββ __init__.py # Scraper API
β βββ crawler.py # Async Google Maps parser & extraction engine
βββ tests/
βββ test_schemas.py # Schema tests
βββ test_crawler.py # Parser unit tests
βββ test_server.py # MCP Server registration & tool calling testsπ Attribution & License
Scraper core adapted and modularized from christivn/mapScraper (commit
1b38cf3e153294e3dad2f6cb5862be0201a54065).Licensed under the MIT License.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceEnables location-aware AI agents to search for nearby places, get detailed place information including hours and ratings, and calculate routes with turn-by-turn directions using Google Maps APIs.21
- AlicenseAqualityBmaintenanceEnables AI assistants to access Google Maps services including places search, details, directions, geocoding, and nearby search through natural language.62MIT
- Flicense-qualityCmaintenanceEnables AI assistants to search and scrape Google Maps places data (name, rating, address, etc.) directly without an API key.
- AlicenseAqualityBmaintenanceEnables AI assistants to scrape Google Maps business data (names, addresses, phones, emails, websites, ratings, etc.) through natural language queries, with tools for synchronous and asynchronous scraping and credit checking.4323MIT
Related MCP Connectors
Live Google Maps business search, review, and photo data for AI agents over MCP.
Local business intel for AI agents: audits, lead scoring, tech stack, prospecting.
The best web search for your AI Agent
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/devsanthoshmk/gmaps-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server