Google Maps Scraper MCP Server
Provides tools for searching Google Maps places, reading public reviews for a place, and retrieving public photo URLs, with pagination, review sorting, viewport/language options, and JSON or CSV output.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Google Maps Scraper MCP Server & CLI
A stdio MCP server and command-line tool for the MapExporter Google Maps API: search Google Maps places, read reviews and get public photo URLs as JSON or CSV.
Using Claude Code, Cursor, VS Code or ChatGPT? You don't need this package. Connect directly to the hosted, zero-install MCP endpoint
https://mapexporter.app/mcp(Streamable HTTP, OAuth sign-in or API key). See the Google Maps Scraper MCP page.This package is for MCP clients that only support stdio, for shell scripts and terminals, for running the server in a Docker container, or for when you want to read the source of what runs on your machine.
It is a thin, dependency-free proxy (about 300 lines of Node.js). It exposes exactly the tools of the hosted server — search_places, list_reviews and list_photos — by forwarding every tools/list and tools/call to https://mapexporter.app/mcp. Scraping, validation and quota accounting all happen on the MapExporter service; nothing runs or is cached locally.
Get an API key
Sign in and create a key (it starts with maps_) on the API dashboard, then pass it as MAPEXPORTER_API_KEY.
The Free plan includes 20 requests per month. Each successful search_places, list_reviews or list_photos call uses one request, whatever the number of pages, reviews or photos returned; failed calls are not counted. Paid plans are on the pricing page.
Listing the tools does not need a key, so MCP clients and directories can inspect the server before you sign up.
Related MCP server: Google Places MCP Server
Connect an MCP client (stdio)
Requires Node.js 18.3 or later.
Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json), Cline (cline_mcp_settings.json) and Windsurf (~/.codeium/windsurf/mcp_config.json) all use the same shape:
{
"mcpServers": {
"mapexporter": {
"command": "npx",
"args": ["-y", "google-maps-scraper-mcp"],
"env": {
"MAPEXPORTER_API_KEY": "maps_your_key"
}
}
}
}Claude Code
claude mcp add mapexporter -e MAPEXPORTER_API_KEY=maps_your_key -- npx -y google-maps-scraper-mcp(or, without this package: claude mcp add --transport http mapexporter https://mapexporter.app/mcp)
VS Code (.vscode/mcp.json)
{
"servers": {
"mapexporter": {
"type": "stdio",
"command": "npx",
"args": ["-y", "google-maps-scraper-mcp"],
"env": { "MAPEXPORTER_API_KEY": "maps_your_key" }
}
}
}Docker
docker build -t google-maps-scraper-mcp https://github.com/Elvarenti/google-maps-scraper-mcp.git{
"mcpServers": {
"mapexporter": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "MAPEXPORTER_API_KEY", "google-maps-scraper-mcp"],
"env": { "MAPEXPORTER_API_KEY": "maps_your_key" }
}
}
}Then ask in plain language, for example: "Find dentists in Austin, then show the five newest reviews of the first one."
Use it from the command line
export MAPEXPORTER_API_KEY=maps_your_key
npx -y google-maps-scraper-mcp search "coffee shop in Portland" --page 2 --csv > places.csv
npx -y google-maps-scraper-mcp reviews "<fid>" --sort-by 2
npx -y google-maps-scraper-mcp photos "<fid>" --max-results 20 --csv
npx -y google-maps-scraper-mcp tools # print the tool schemas, no key neededAfter a global install (npm i -g google-maps-scraper-mcp) the same commands are available as mapexporter search ….
--json(default) prints the full result as returned by the tool.--csvprints theplaces,reviewsorphotosrows as CSV on stdout. Nested values become JSON text, lists are joined with;, and cells that start like a spreadsheet formula are prefixed with'. The remaining fields (partial,warnings,next_cursor,returned_count, …) go to stderr as one JSON line, so you can still page through reviews.Exit codes:
0success,1API or tool error (message on stderr),2usage error.
The fid (0x…:0x…) of a place is returned by search. For a single Google Maps URL, the free Place ID Finder shows it in the browser.
Tools
The authoritative schemas are whatever tools/list returns (npx -y google-maps-scraper-mcp tools); this table mirrors them. Unknown arguments are rejected.
search_places
Search Google Maps places. CLI: search <q>.
Argument | Type | Default | Notes |
| string, 1–300 chars | required | Search query, e.g. |
| integer 1–10 |
| Number of result pages to collect (about 20 places each), not a page index |
| string |
| Language |
| string | — | Map viewport |
| boolean |
| Visit each business website to add |
Returns places[], partial and warnings[]. Each place includes fields such as name, fid, place_id, full_address, phone, website, categories, average_rating, review_count, opening_hours, latitude, longitude and google_maps_url.
list_reviews
Read one page of public reviews for a place. CLI: reviews <fid>.
Argument | Type | Default | Notes |
| string | required | From |
| string | — |
|
| 1, 2, 3 or 4 |
| 1 most relevant, 2 newest, 3 highest rating, 4 lowest rating |
| string |
| Language |
Returns reviews[] and next_cursor (null on the last page).
list_photos
Public photo URLs of a place. CLI: photos <fid>.
Argument | Type | Default | Notes |
| string | required | From |
| integer ≥ 1 |
| Upper limit for this delivery; reaching it is not guaranteed |
Returns photos[{url}], returned_count, reported_total (the count Google reports, or null), status (always partial: a complete album is not guaranteed) and reason.
Configuration
Variable | Default | Purpose |
| — | API key, sent as |
|
| Remote MCP endpoint to forward to |
Requests carry the header User-Agent: google-maps-scraper-mcp/<version>.
Development
git clone https://github.com/Elvarenti/google-maps-scraper-mcp.git
cd google-maps-scraper-mcp
npm test # node:test, no dependencies to install
node src/cli.js tools # run from sourceRelated
Google Maps Scraper API, Reviews API and Photos API: the same data over REST, described in openapi.json
google-maps-scraper-examples: Python and Node.js examples for the REST API
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search Google Maps places and read business reviews and public photos as JSON (OAuth or API key).
- MapExporter Google MapsDeprecatedio.github.zbhydra
Search Google Maps places and read business reviews and public photos as JSON (OAuth or API key).
Scrape Google Maps business leads, reviews, and photos via hosted Remote MCP.
Real-time Google Maps local business leads, reviews, places & emails MCP. OAuth or API key.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.4MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates with Google Places API to allow searching, retrieving details, and finding nearby places through an MCP server interface.ISC
- AlicenseAqualityBmaintenanceProvides access to Google Maps API functionality including places search, geocoding, directions, distance matrix, elevation data, and static map generation through the MCP interface.81MIT
- AlicenseAqualityBmaintenanceProvides hosted, read-only Google Maps tools for MCP clients, enabling place search, full place details, reviews, photos, posts, and contributor history without a Google Cloud project or billing.671 npm139 PyPI10MIT