Find businesses
search_google_mapsSearch a category and location. Receive up to 20 businesses with available listing, contact, rating, and review-count fields.
q · page · extra
Explore the Search APIG Maps Crawl
Google Maps data / MCP server
Find businesses, read public reviews, and explore place galleries with Claude Code, Cursor, VS Code, or Codex. Three remote tools. The same API key.
Works with your MCP client
Claude Code Cursor VS Code Codex
Remote Streamable HTTP · Private API key · Free and paid API plans
Three tools / One connection
Each tool returns its result directly. Choose the operation your task needs and keep the requested pages explicit.
search_google_mapsSearch a category and location. Receive up to 20 businesses with available listing, contact, rating, and review-count fields.
q · page · extra
Explore the Search APIget_google_maps_reviewsUse a place’s feature ID to request up to 10 reviews. Choose relevance, newest, highest rating, or lowest rating.
fid · page · sort_by
Explore the Reviews APIget_google_maps_photosRetrieve up to 20 photo and video metadata records for one place. Read the returned media URLs and pagination flag.
fid · page
Explore the Photos APIReviews and photos accept the Maps feature ID from a search result’s place.dataId. Search uses pages 1–10; media tools return next so your agent can decide whether another page is needed.
MCP connection
Your client handles initialization and tool discovery, then sends your API key with each request.
Remote MCP connection
POST https://gmapscrawl.com/api/mcp
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json
Accept: application/json, text/event-streamClient setup
Create an API key, then copy the configuration for your client. Keep the key in its environment or protected input setting.
Add this server to .mcp.json. Make GMSCRAPER_API_KEY available in the environment that launches Claude Code.
{
"mcpServers": {
"google-maps-data": {
"type": "http",
"url": "https://gmapscrawl.com/api/mcp",
"headers": {
"Authorization": "Bearer ${GMSCRAPER_API_KEY}"
}
}
}
}After saving the configuration, reconnect and confirm the three tools appear. Follow the step-by-step setup guide.
Your first workflow
Start with a test key and simulated data. Switch to a live key when you are ready to use your API allowance.
Select the API product and create a test key with scrapes:write. Your API plan must permit MCP; Online and Extension have separate allowances.
Create a keyConnect your client, inspect search_google_maps, and ask for one page. Generate a fresh request ID for new work and preserve it when retrying the same request.
View client setupRead structuredContent.businesses and total. Label test results as simulated, preserve missing values, and stop after the requested page.
Understand the fieldsCall search_google_maps
Replace the request ID for each new search. This example does not execute a request from the page.
{
"q": "coffee shops in Seattle",
"page": 1,
"hl": "en",
"extra": false,
"client_request_id": "replace-with-a-fresh-uuid"
}What comes back
Results return directly; no job polling is needed. Keep source observation dates when turning the JSON into a table or report.
Example prompts
Use these prompts after connecting. Supply a real feature ID where needed, and ask your agent to label test results as simulated.
“Use search_google_maps once for coffee shops in Seattle, page 1, extra false. Return names, websites, phone numbers, ratings, and review counts from the returned businesses. Keep missing fields blank and show observation dates. Stop after this page.”
Expected result
A table of up to 20 returned businesses, with source timestamps and missing values preserved.
“For the business I selected, use its place.dataId as fid. Request page 1 of get_google_maps_reviews with sort_by 2. Summarize themes in these returned reviews only and cite their dates. Do not fetch additional pages.”
Expected result
A bounded summary of up to 10 reviews, without treating one page as every customer’s experience.
“Use get_google_maps_photos for this supplied feature ID, page 1 only. List the returned photoUrl and optional videoUrl fields and report whether next is true. Do not download files or fetch the next page.”
Expected result
Up to 20 gallery records and the returned pagination state, ready for your own application to inspect.
REST + MCP
MCP is available on free and paid API plans. Each successful live source page uses one API request unit, including an empty page.
Test keys return simulated fixtures with zero request units. They verify your integration rather than producing real business leads.
Manage API keysAsk only for the pages and locations your task needs. Use a new request ID for new work; retry uncertain requests with the same input and ID.
Read usage guidanceThe Google Maps Data Agent Skill adds workflow guidance, operation references, and a REST fallback to the same tools.
Explore the Agent SkillExplore the API hub → Online and Extension plans have their own allowances.
Connection help
Use the connection state and returned error to choose the next step.
It exposes search_google_maps, get_google_maps_reviews, and get_google_maps_photos. Search returns up to 20 businesses; reviews return up to 10 records and photos up to 20 gallery records per page. The tools return structured data directly.
Use a version of Claude Code, Cursor, VS Code, Codex, or another MCP client that supports remote Streamable HTTP and a private Authorization header. The four client configurations above use the same endpoint and API workspace key.
Create an API key with scrapes:write in your API workspace and configure it privately as a Bearer header. Browser cookies do not authenticate MCP. Keep keys outside prompts, URLs, and committed source code.
Pass the Maps feature ID as fid. You can use place.dataId from a returned business. Reviews also accept sort_by: 1 for relevance, 2 for newest, 3 for highest rating, or 4 for lowest rating. Read next before considering another media page.
MCP shares the REST API allowance and is available on free and paid API plans. A successful live page uses one request unit, including an empty page. Test credentials return simulated data with zero units. Online and Extension allowances are separate.
The MCP server works on its own. The optional Google Maps Data Agent Skill adds reusable instructions, operation references, and a helper for REST fallback when your configured MCP connection is unavailable.
Take the next step
Create an API key, connect your preferred client, and test one focused business search.