Google Maps MCP Server
πΊοΈ gmaps-mcp
A Google Maps scraper server and CLI for AI agents and terminal use. No API key required.
β‘ Key Features
No API key β scrapes Google Maps directly via
aiohttpSearch businesses by query with pagination and geo-grid tiling
Place details β full profile by Place ID or name (phone, address, rating, coordinates)
Grid mode β tiles an entire city/region into sub-viewports to collect thousands of results
MCP + CLI β same engine, two interfaces
π Quickstart
Add to AI Agents (Claude Desktop, Cursor, Windsurf, Cline, Zed, etc.)
npx mcp-add -n google-maps -t stdio -c "uvx --from git+https://github.com/devsanthoshmk/gmaps-mcp.git gmaps-mcp serve"Or Run via CLI
# Direct run without cloning
uvx --from git+https://github.com/devsanthoshmk/gmaps-mcp.git gmaps-mcp search "bakeries" "Paris" --country fr --limit 10
# Or clone and run locally
git clone https://github.com/devsanthoshmk/gmaps-mcp.git
cd gmaps-mcp
uv run gmaps-mcp search "bakeries" "Paris" --country fr --limit 10π» CLI
Search
uv run gmaps-mcp search "dentists" "Chicago" --limit 10 --country us --format table
uv run gmaps-mcp search "bakeries" "Paris" --country fr --grid --format table
uv run gmaps-mcp search "pharmacies" "Chennai" --grid --country in --output pharmacies.csvPlace Details
uv run gmaps-mcp details "ChIJ7xiFY1VmUjoR2IuH0fYWMlk" --format table
uv run gmaps-mcp details "Eiffel Tower Paris" --country fr --output eiffel.csvStart MCP Server
uv run gmaps-mcp serve # stdio (default)
uv run gmaps-mcp serve --transport streamable-http --host 0.0.0.0 --port 8000 # HTTPπ MCP Client Config (Manual)
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": ["--from", "git+https://github.com/devsanthoshmk/gmaps-mcp.git", "gmaps-mcp", "serve"]
}
}
}Local dev:
{
"mcpServers": {
"google-maps": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/gmaps-mcp", "gmaps-mcp", "serve"]
}
}
}π§© MCP Tools
search_google_maps
Parameter | Type | Default | Description |
| string | required | Search term / business category (e.g. |
| string | required | Target location / city (e.g. |
| integer | null | Max results |
| boolean | false | Enable geo-grid tiling for large area coverage |
| string |
| ISO country code ( |
| string |
| Response language |
|
|
|
|
get_place_details
Parameter | Type | Default | Description |
| string | required | Place ID ( |
| string |
| ISO country code |
| string |
| Response language |
π¦ Output Schema
{
"place_id": "ChIJ7xiFY1VmUjoR2IuH0fYWMlk",
"name": "New Chennai Pharmacy",
"category": "Pharmacy",
"address": "No. 33, Sarojini Street, T.Nagar, Chennai, Tamil Nadu 600017",
"phone": "091500 97960",
"international_phone": "+91 91500 97960",
"website": "https://example.com",
"latitude": 13.0371485,
"longitude": 80.2319365,
"rating": 4.7,
"review_count": 25,
"google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ7xiFY1VmUjoR2IuH0fYWMlk"
}π License
MIT β see LICENSE.
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