gmaps-lead-atlas-mcp
Allows an LLM to find and qualify local business leads via the Google Maps Places API, with capabilities to search businesses by criteria, get detailed information, and sweep an area for comprehensive coverage.
Click on "Deploy 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., "@gmaps-lead-atlas-mcpdental clinics in Austin with no website and fewer than 20 reviews"
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.
gmaps-lead-atlas-mcp
An MCP server that lets an LLM find and qualify local business leads through the official Google Maps Places API.
Ask your assistant for "dental clinics in Austin with no website and fewer than 20 reviews" and get a contactable list back.
Install
claude mcp add gmaps-lead-atlas -e GOOGLE_MAPS_API_KEY=YOUR_KEY -- npx -y gmaps-lead-atlas-mcpFor Claude Desktop, Cursor, or Windsurf, add this to the MCP config file:
{
"mcpServers": {
"gmaps-lead-atlas": {
"command": "npx",
"args": ["-y", "gmaps-lead-atlas-mcp"],
"env": { "GOOGLE_MAPS_API_KEY": "YOUR_KEY" }
}
}
}Related MCP server: Generect Live API MCP Server
Getting an API key
Create or select a project at https://console.cloud.google.com/
Enable Places API (New) at https://console.cloud.google.com/apis/library/places.googleapis.com
Create an API key at https://console.cloud.google.com/apis/credentials
Restrict the key to the Places API (New) under API restrictions
Enable billing on the project — Places API requires it even within the free tier
Set a budget alert first
This server calls a paid API. Before your first sweep, set a budget alert at https://console.cloud.google.com/billing/budgets so an unattended agent cannot surprise you.
Every tool response reports api_calls_used and session_calls_total so the model can see what it is spending.
sweep_area is the only expensive tool — it defaults to 25 tiles and reports exactly how many it searched.
Tools
search_businesses
Search by query and area with lead-qualification filters.
Parameter | Type | Notes |
| string | required, e.g. |
| string |
|
| number | only applies to coordinate locations |
| string | Places type, e.g. |
| number | 1–60, default 20 |
| boolean |
|
| boolean |
|
| number | 0–5 |
| number | review count bounds |
| boolean | |
| string[] |
|
One caveat worth knowing: Google ranks results by prominence, which correlates with having a website
and many reviews. Businesses without a web presence are ranked last and often fall outside the 60-result
ceiling. A short list under has_website: false means the view is truncated, not that few such businesses
exist. Use sweep_area for representative coverage.
get_business_details
Full details for up to 10 place IDs: opening hours, all phone formats, address components, reviews, business status. One API call per ID.
sweep_area
Tiles a city or region into overlapping circular searches and deduplicates, applying the 60-result
ceiling per tile instead of per query. Parameters: query, area, included_type,
tile_radius_meters (default 1500), max_tiles (default 25), filters.
Reports tiles_searched, tiles_total, and truncated so a partial sweep is never silently partial.
What this is not
This is a read-through query tool. It stores nothing, caches nothing, and writes no database. Results are returned to the model for the duration of a session. Using the Google Maps Platform to build a persistent derived dataset is prohibited by its Terms of Service — please keep it that way.
Places API does not return email addresses.
Development
npm install
npm test # no API key needed
npm run typecheck
npm run buildSet GOOGLE_MAPS_API_KEY to additionally run the single live smoke test.
Releases publish from CI via npm trusted publishing — see RELEASING.md.
License
AGPL-3.0-or-later. See LICENSE.
You may use this commercially, including running a lead-generation business with it. If you offer it to others over a network, the AGPL requires you to release your source under the same license.
Available Tools
3 toolsget_business_detailsGet business detailsA
Fetch full Google Maps details for up to 10 businesses by place ID. Returns opening hours, all phone formats, address components, reviews and business status. Costs one API call per place ID — use search_businesses first to narrow the list.
| Name | Required | Description | Default |
|---|---|---|---|
| place_ids | Yes | Place IDs from search_businesses or sweep_area |
Output Schema
| Name | Required | Description |
|---|---|---|
| results | Yes | |
| api_calls_used | Yes | |
| session_calls_total | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It openly states the return payload (opening hours, phones, addresses, reviews, status), the batch limit of 10, and the per-request cost model. While it does not discuss error handling or authentication, it provides significant operational behavior beyond a simple tautology.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, each with a distinct purpose: the main action, the return data, and cost/workflow guidance. The description front-loads the primary verb and resource, contains zero filler, and every sentence contributes information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that an output schema exists (per context signals), the description already covers the key selection criteria: purpose, input source, limit, cost, and return highlights. It also references sibling tools. For a tool of this complexity, the description is sufficiently complete to guide correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already includes a descriptive parameter comment: 'Place IDs from search_businesses or sweep_area,' giving 100% coverage. The tool description adds little new semantic detail beyond repeating 'by place ID' and the max of 10, which is already in the schema. Per the baseline for high schema coverage, a score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific action: 'Fetch full Google Maps details for up to 10 businesses by place ID.' It clearly names the resource (businesses) and the scope (by place ID, max 10). This distinguishes it from sibling tools like search_businesses, which presumably performs searches rather than fetching details by ID.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit workflow guidance: 'use search_businesses first to narrow the list.' It also gives a cost-based reason ('Costs one API call per place ID') that explains why this tool should be used after narrowing, not as a general search tool. This constitutes clear alternatives and when-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_businessesSearch businessesA
Search Google Maps for businesses matching a query, with lead-qualification filters.
IMPORTANT: Google ranks results by prominence, which correlates strongly with having a website and many reviews. Businesses lacking a website or phone are therefore ranked LAST and often fall outside the 60-result ceiling. A small result count under has_website:false means the view is truncated, NOT that few such businesses exist. Use sweep_area for representative coverage of a city or region.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for, e.g. "plumbers" or "dental clinics" | |
| filters | No | ||
| location | No | Place name such as "Austin, TX", or coordinates as "lat,lng" | |
| max_results | No | ||
| included_type | No | Places API type filter, e.g. "plumber", "restaurant" | |
| radius_meters | No | Only applies when location is coordinates |
Output Schema
| Name | Required | Description |
|---|---|---|
| note | Yes | |
| businesses | Yes | |
| result_count | Yes | |
| api_calls_used | Yes | |
| session_calls_total | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It reveals non-obvious behavior: Google ranks by prominence, lacks website/phone suggests last, and the 60-result ceiling can cause truncation. This is valuable context beyond the schema and helps the agent interpret results correctly.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded: first sentence states purpose, then a compact IMPORTANT block provides essential behavioral warnings. Every sentence adds value without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 6 parameters, nested filters, and an output schema, the description covers the main behavioral pitfall and directs to sweep_area for coverage. It doesn't discuss location/radius interaction, but the schema already documents those fields, and the output schema covers return values. The description is nearly complete for the agent's decision-making.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 67%, so the baseline is 3. The description adds meaning to the has_website and has_phone filters by explaining their effect on ranking/truncation, and mentions 'lead-qualification filters' generally. However, it does not describe the remaining undocumented parameters (e.g., min_rating, price_levels), so it doesn't fully compensate for the 33% gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states 'Search Google Maps for businesses matching a query, with lead-qualification filters' – a specific verb, resource, and scope. It also mentions sweep_area as a sibling alternative, which distinguishes this tool's purpose from others.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says 'Use sweep_area for representative coverage of a city or region', naming an alternative and when to use it. It also provides a key usage caveat about result truncation under has_website:false, helping the agent judge result representativeness.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
sweep_areaSweep areaA
Search an entire city or region by tiling it into overlapping circular searches, then deduplicating.
Use this instead of search_businesses when you need representative coverage rather than the top results. A plain search returns at most 60 results ranked by prominence; this applies that ceiling per tile instead.
COST: this issues roughly one to three API calls per tile. max_tiles defaults to 25. Raise max_tiles for better coverage and higher cost. Every response reports the exact call count.
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | City or region name such as "Austin, TX", or coordinates as "lat,lng" | |
| query | Yes | What to search for, e.g. "plumbers" | |
| filters | No | ||
| max_tiles | No | ||
| included_type | No | Places API type filter, e.g. "plumber" | |
| tile_radius_meters | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| truncated | Yes | |
| businesses | Yes | |
| tiles_total | Yes | |
| result_count | Yes | |
| api_calls_used | Yes | |
| tiles_searched | Yes | |
| session_calls_total | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It transparently discloses the tiling algorithm, deduplication behavior, per-tile result ceiling, approximate cost (1-3 API calls per tile), default max_tiles=25, and that every response reports the exact call count. This is far beyond typical descriptions and sets clear expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely efficient: four sentences cover purpose, when to use, algorithmic behavior, cost, and defaults. It is front-loaded with the primary action and immediately contrasts with the sibling tool. No redundant or unnecessary wording.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 parameters, nested filters, an output schema, and sibling tools), the description provides everything an agent needs to decide when to use it, what it does, how it behaves cost-wise, and how to tune it. Since an output schema exists, omitting return value details is acceptable. This is a complete context for task selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is around 50%, with descriptions for query, area, filters, and included_type but not for max_tiles or tile_radius_meters. The description adds useful semantics for max_tiles (higher value = better coverage but higher cost) but does not explain tile_radius_meters beyond its name. Baseline 3 is appropriate since the description only partially compensates for the missing schema details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Search an entire city or region by tiling it into overlapping circular searches, then deduplicating.' It also distinguishes itself from the sibling tool search_businesses by explaining it provides representative coverage rather than top results, making its purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs when to use this tool instead of search_businesses ('Use this instead of search_businesses when you need representative coverage rather than the top results') and explains the underlying difference in result ceilings. Additionally, it gives cost/coverage guidance for max_tiles, helping the agent make informed decisions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.1- First observed
get_business_details - First observed
search_businesses - First observed
sweep_area
TDQS
Scored across 3 tools
Each tool has a distinct purpose: search_businesses for targeted queries with filters, sweep_area for tiled regional coverage, and get_business_details for fetching full details by place ID. The descriptions explicitly clarify when to use each, leaving no ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case: search_businesses, sweep_area, get_business_details. The verbs are clear and the pattern is uniform.
Three tools is well-scoped for a Google Maps lead-gen server. Each tool covers a necessary part of the workflow—search, area sweep, and details—without unnecessary overlap or bloat.
The tool surface covers the full lead-generation flow: finding businesses via search or area sweep, then retrieving detailed information including reviews and status. There are no obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
Search Google Maps businesses via MCP - name, address, phone, rating, hours, GPS.
All HasData scraping tools in one MCP server: Google, TikTok, Instagram, maps, e-commerce and more.
Live Google Maps business search, review, and photo data for AI agents over MCP.
MCP server for Google search results via SERP API
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with Google Places API to allow searching, retrieving details, and finding nearby places through an MCP server interface.-
- AlicenseBqualityBmaintenanceMCP server for B2B lead generation and company search using the Generect Live API. Provides tools to search leads, companies, generate emails, and get lead by URL.515 npm1MIT
- FlicenseAqualityCmaintenanceMCP server for real-time public-web lead research without search API keys, using Google Maps and web search engines with LLM-based extraction, crawling, and local lead storage/export.8-
- AlicenseBqualityBmaintenanceMCP server that exposes Google Business Profile / Google My Business REST APIs as MCP tools, returning Google API responses directly without added workflow or business logic.721Apache 2.0