Google Maps as a knowledge graph: competitor clusters, territory leads, site selection, reviews.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer <your Apify API token>; runs are billed to your Apify account
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Places connected to one place along 'People also search for' edges in a finished competitor_graph or enrich_leads job: the places customers consider instead. hops=2 widens the circle. Free.
A place_id from the job's results
Default 1
Default 15
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http placegraph-mcp https://placegraph-mcp.rhat398.workers.dev/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer <your Apify API token>; runs are billed to your Apify accountPlaces connected to one place along 'People also search for' edges in a finished competitor_graph or enrich_leads job: the places customers consider instead. hops=2 widens the circle. Free.
| Argument | Type | Description |
|---|---|---|
| hops | integer | Default 1 |
| limit | integer | Default 15 |
| job_id* | string | |
| place_id* | string | A place_id from the job's results |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id",
"place_id"
],
"properties": {
"hops": {
"type": "integer",
"maximum": 2,
"minimum": 1,
"description": "Default 1"
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Default 15"
},
"job_id": {
"type": "string"
},
"place_id": {
"type": "string",
"description": "A place_id from the job's results"
}
}
}Search a category in an area and build the graph of places Google shows under 'People also search for' next to each result. Returns the category anchors (places most often listed: the ones customers compare) and communities (brand neighbourhoods). Slow (5-15 min) and the costliest tool: about $0.002 per place + $0.003 per competitor entry.
| Argument | Type | Description |
|---|---|---|
| query* | string | What to search, e.g. 'coffee shop' |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
| language | string | Google language code (default en) |
| location* | string | Area, e.g. 'Austin, TX' or 'lat,lng' |
| max_places | integer | Seed places from the search (default 30) |
| max_cost_usd | number | Refuse to start if the estimated cost is above this (USD). Default 5. |
| include_off_category | boolean | Keep PAS places of other categories in the analysis (default false) |
| competitors_per_place | integer | PAS entries per place (default 10; Google shows up to 24) |
For leads picked from a finished territory_leads job, read who Google lists under 'People also search for' and score each lead against those competitors (rating gap, review share). 'lowest_rated' (default) finds places trailing their competitors. About $0.03 per lead with 10 competitors.
| Argument | Type | Description |
|---|---|---|
| pick | string | Which leads (default lowest_rated) |
| top_n | integer | How many leads (default 20) |
| job_id* | string | A finished territory_leads job |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
| place_ids | array | Enrich exactly these places instead of picking |
| categories | array | Only these categories, e.g. ['Dentist', 'Cosmetic dentist'] |
| min_reviews | integer | Ignore places with fewer reviews (default 20) |
| max_cost_usd | number | Refuse to start if the estimated cost is above this (USD). Default 5. |
| competitors_per_place | integer |
Export a finished competitor_graph or enrich_leads job's graph: json (nodes/edges), graphml (Gephi, yEd), cypher (paste into Neo4j Browser or cypher-shell), mermaid (small graphs). Nodes carry their community (same ids as competitor_graph). focus_place_id exports one place's neighbourhood only, e.g. a mermaid diagram of a shop and its competitors. Free.
| Argument | Type | Description |
|---|---|---|
| format* | string | |
| job_id* | string | |
| focus_hops | integer | Neighbourhood size for focus_place_id (default 1) |
| focus_place_id | string | Only this place and its neighbours |
| include_off_category | boolean | Default: the job's setting (false) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id",
"format"
],
"properties": {
"format": {
"enum": [
"json",
"graphml",
"cypher",
"mermaid"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"focus_hops": {
"type": "integer",
"maximum": 2,
"minimum": 1,
"description": "Neighbourhood size for focus_place_id (default 1)"
},
"focus_place_id": {
"type": "string",
"description": "Only this place and its neighbours"
},
"include_off_category": {
"type": "boolean",
"description": "Default: the job's setting (false)"
}
}
}Filter the places a finished job collected: text, category, rating, reviews, website/phone, open at a time of day, distance from a point. Free (no new runs). Use it to answer questions like 'late-night dentists near downtown', then alternatives() for similar places.
| Argument | Type | Description |
|---|---|---|
| near | object | |
| sort | string | |
| text | string | Substring of name, category or address |
| limit | integer | Default 20 |
| job_id* | string | |
| open_at | string | 24h time, e.g. '21:00' |
| category | string | |
| has_phone | boolean | |
| open_days | array | Days for open_at, e.g. ['friday'] (default any day) |
| max_rating | number |
Status of a job; when its runs have finished, the job's analysis. Waits up to wait_s seconds for running jobs.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
}
}
}Join your own records (CRM, registry) to the places a finished job collected, on place id, phone, website domain, street address and name. Shared phones/domains (practices, chains) are flagged as ambiguous instead of guessed. Free.
| Argument | Type | Description |
|---|---|---|
| rows* | array | |
| job_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"address": {
"type": "string"
},
"website": {
"type": "string"
},
"place_id": {
"type": "string"
}
}
},
"maxItems": 500,
"minItems": 1
},
"job_id": {
"type": "string"
}
}
}Who answers their customers: for a list of places (Maps URLs, place ids or 'name + city'), or a search, read the newest reviews and report reply rate, reply rate on low ratings, response-time buckets, and the lowest-rated unanswered reviews to escalate. About $0.05 per location at 100 reviews.
| Argument | Type | Description |
|---|---|---|
| query | string | Or: a search (e.g. a brand name) … |
| places | array | Google Maps URLs, place ids (0x…:0x…) or names with city |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
| language | string | |
| location | string | … in this area |
| low_stars | integer | Ratings at or below this count as low (default 3) |
| max_places | integer | For a search (default 10) |
| max_cost_usd | number | Refuse to start if the estimated cost is above this (USD). Default 5. |
| reviews_per_place | integer | Newest reviews per place (default 100) |
Compare candidate locations for a new business: for each candidate address, the nearby competitors of that kind, their distance, rating, and Google popular times (hourly busyness 0-100, typical visit length). Returns competitor counts by radius, a saturation index, busiest slots and competitors shared between candidates. About $0.17 per candidate, 3-5 min.
| Argument | Type | Description |
|---|---|---|
| wider | boolean | Read 40 places from the wider search instead of 20 (more cost) |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
| category* | string | The kind of business, e.g. 'gym', 'coffee shop' |
| language | string | |
| radius_km | number | Trade area radius around each candidate (default 3) |
| candidates* | array | Candidate addresses (or place names) |
| max_cost_usd | number | Refuse to start if the estimated cost is above this (USD). Default 5. |
| include_curve | boolean | Include the hour-by-hour busyness curve per candidate (verbose) |
Every business of a kind in an area: the area is split into a grid so results go past Google's ~120-per-search cap, deduplicated by place id; only places inside the radius are kept and charged. max_places counts those, so it caps cost. Returns a summary (categories, ratings, contact coverage), the lowest-rated leads and join-key coverage. Then enrich_leads adds each lead's competitors. Takes 5-15 min for ~25 cells.
| Argument | Type | Description |
|---|---|---|
| query* | string | e.g. 'dentist' |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
| cell_km | number | Grid cell size (default 2; 0.5-1 in dense downtowns, 3-5 in suburbs) |
| language | string | |
| location* | string | City or 'lat,lng' at the centre of the area |
| max_cells | integer | Cap on grid cells (default 25) |
| radius_km | number | Search radius (default 10) |
| max_places | integer | Cap on places (default 500) |
| max_cost_usd |
For a finished site_selection job: walking (or driving/cycling) times from each candidate to its nearest competitors, one route per pair. About $0.006 per route.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | A finished site_selection job |
| wait_s | integer | Seconds to wait for the runs before returning a job id (default 45). |
| nearest | integer | Competitors per candidate (default 4) |
| travel_mode | string | Default walking |
| max_cost_usd | number | Refuse to start if the estimated cost is above this (USD). Default 5. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"description": "A finished site_selection job"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
},
"nearest": {
"type": "integer",
"maximum": 8,
"minimum": 1,
"description": "Competitors per candidate (default 4)"
},
"travel_mode": {
"enum": [
"walking",
"driving",
"bicycling"
],
"type": "string",
"description": "Default walking"
},
"max_cost_usd": {
"type": "number",
"maximum": 100,
"description": "Refuse to start if the estimated cost is above this (USD). Default 5.",
"exclusiveMinimum": 0
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 3, 2026.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"location"
],
"properties": {
"query": {
"type": "string",
"minLength": 2,
"description": "What to search, e.g. 'coffee shop'"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
},
"language": {
"type": "string",
"description": "Google language code (default en)"
},
"location": {
"type": "string",
"minLength": 2,
"description": "Area, e.g. 'Austin, TX' or 'lat,lng'"
},
"max_places": {
"type": "integer",
"maximum": 60,
"minimum": 5,
"description": "Seed places from the search (default 30)"
},
"max_cost_usd": {
"type": "number",
"maximum": 100,
"description": "Refuse to start if the estimated cost is above this (USD). Default 5.",
"exclusiveMinimum": 0
},
"include_off_category": {
"type": "boolean",
"description": "Keep PAS places of other categories in the analysis (default false)"
},
"competitors_per_place": {
"type": "integer",
"maximum": 24,
"minimum": 4,
"description": "PAS entries per place (default 10; Google shows up to 24)"
}
}
}| Default 10 |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id"
],
"properties": {
"pick": {
"enum": [
"lowest_rated",
"most_reviewed",
"no_website",
"fewest_reviews"
],
"type": "string",
"description": "Which leads (default lowest_rated)"
},
"top_n": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many leads (default 20)"
},
"job_id": {
"type": "string",
"description": "A finished territory_leads job"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
},
"place_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Enrich exactly these places instead of picking"
},
"categories": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these categories, e.g. ['Dentist', 'Cosmetic dentist']"
},
"min_reviews": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Ignore places with fewer reviews (default 20)"
},
"max_cost_usd": {
"type": "number",
"maximum": 100,
"description": "Refuse to start if the estimated cost is above this (USD). Default 5.",
"exclusiveMinimum": 0
},
"competitors_per_place": {
"type": "integer",
"maximum": 24,
"minimum": 4,
"description": "Default 10"
}
}
}| min_rating | number |
| has_website | boolean |
| min_reviews | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id"
],
"properties": {
"near": {
"type": "object",
"required": [
"lat",
"lng",
"radius_m"
],
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"radius_m": {
"type": "number",
"exclusiveMinimum": 0
}
}
},
"sort": {
"enum": [
"rating",
"reviews",
"distance",
"name"
],
"type": "string"
},
"text": {
"type": "string",
"description": "Substring of name, category or address"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Default 20"
},
"job_id": {
"type": "string"
},
"open_at": {
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$",
"description": "24h time, e.g. '21:00'"
},
"category": {
"type": "string"
},
"has_phone": {
"type": "boolean"
},
"open_days": {
"type": "array",
"items": {
"type": "string"
},
"description": "Days for open_at, e.g. ['friday'] (default any day)"
},
"max_rating": {
"type": "number",
"maximum": 5,
"minimum": 0
},
"min_rating": {
"type": "number",
"maximum": 5,
"minimum": 0
},
"has_website": {
"type": "boolean"
},
"min_reviews": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"query": {
"type": "string",
"description": "Or: a search (e.g. a brand name) …"
},
"places": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"description": "Google Maps URLs, place ids (0x…:0x…) or names with city"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
},
"language": {
"type": "string"
},
"location": {
"type": "string",
"description": "… in this area"
},
"low_stars": {
"type": "integer",
"maximum": 4,
"minimum": 1,
"description": "Ratings at or below this count as low (default 3)"
},
"max_places": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "For a search (default 10)"
},
"max_cost_usd": {
"type": "number",
"maximum": 100,
"description": "Refuse to start if the estimated cost is above this (USD). Default 5.",
"exclusiveMinimum": 0
},
"reviews_per_place": {
"type": "integer",
"maximum": 500,
"minimum": 10,
"description": "Newest reviews per place (default 100)"
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"candidates",
"category"
],
"properties": {
"wider": {
"type": "boolean",
"description": "Read 40 places from the wider search instead of 20 (more cost)"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
},
"category": {
"type": "string",
"minLength": 2,
"description": "The kind of business, e.g. 'gym', 'coffee shop'"
},
"language": {
"type": "string"
},
"radius_km": {
"type": "number",
"maximum": 20,
"minimum": 0.2,
"description": "Trade area radius around each candidate (default 3)"
},
"candidates": {
"type": "array",
"items": {
"type": "string",
"minLength": 3
},
"maxItems": 5,
"minItems": 1,
"description": "Candidate addresses (or place names)"
},
"max_cost_usd": {
"type": "number",
"maximum": 100,
"description": "Refuse to start if the estimated cost is above this (USD). Default 5.",
"exclusiveMinimum": 0
},
"include_curve": {
"type": "boolean",
"description": "Include the hour-by-hour busyness curve per candidate (verbose)"
}
}
}| number |
| Refuse to start if the estimated cost is above this (USD). Default 5. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"location"
],
"properties": {
"query": {
"type": "string",
"minLength": 2,
"description": "e.g. 'dentist'"
},
"wait_s": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Seconds to wait for the runs before returning a job id (default 45)."
},
"cell_km": {
"type": "number",
"maximum": 10,
"minimum": 0.5,
"description": "Grid cell size (default 2; 0.5-1 in dense downtowns, 3-5 in suburbs)"
},
"language": {
"type": "string"
},
"location": {
"type": "string",
"minLength": 2,
"description": "City or 'lat,lng' at the centre of the area"
},
"max_cells": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Cap on grid cells (default 25)"
},
"radius_km": {
"type": "number",
"maximum": 50,
"minimum": 1,
"description": "Search radius (default 10)"
},
"max_places": {
"type": "integer",
"maximum": 2000,
"minimum": 10,
"description": "Cap on places (default 500)"
},
"max_cost_usd": {
"type": "number",
"maximum": 100,
"description": "Refuse to start if the estimated cost is above this (USD). Default 5.",
"exclusiveMinimum": 0
}
}
}