Lets an AI client search Google Maps places, read full place details, reviews, photos, posts, and contributor history as JSON.
Also known as HasData/google-maps-mcp, google-maps-mcp, @hasdata/google-maps-mcp, hasdata-google-maps-mcp
- Stars
- 10
- Tools
- 3
- Downloads, 30 days
- 756
- Latest version
- 1.0.7
- Last commit
- Oct 29, 2026
- License
- MIT
What is HasData Google Maps MCP?
HasData Google Maps lets an AI client search Google Maps places, read full place details, reviews, photos, posts, and contributor history as JSON. It exposes 3 tools, such as domain, start, num.
Summary generated from the project's README
About HasData Google Maps MCP server
Extracting structured location data from Google Maps for AI agents is what this remote MCP server enables. It provides six read-only tools that allow clients like Claude, Cursor, and Windsurf to search for places and retrieve comprehensive information including reviews, photos, and business posts. All data is returned as structured JSON, making it easy for models to process details like service options, price levels, and menu links.
Users can connect via a streamable HTTP transport using a HasData API key, which requires no Google Cloud project or billing setup. The server is hosted remotely, though stdio launchers are available via npm or PyPI for clients like Claude Desktop. The service includes a free tier of 1,000 credits every month, allowing for approximately 100 calls at the standard 10-credit rate per tool invocation.
What you can do with it
- 1Discovering local businessesFind top-rated coffee shops in a specific area with their contact details and ratings.
- 2Analyzing customer feedbackExamine the latest reviews for a business to identify common customer topics and sentiments.
- 3Investigating reviewer historyTrace the review history of a specific contributor to see other locations they have rated.
- 4Retrieving business mediaAccess a business's photo feed and recent social posts to gather visual information.
Written from the project's README. Every use case is checked against a quote from it.
How to install HasData Google Maps MCP
Formats verified 10 Nov 2026Install HasData Google Maps MCP in Claude Code
$ claude mcp add --env HASDATA_API_KEY=<YOUR_HASDATA_API_KEY> google-maps-mcp -- npx -y @hasdata/google-maps-mcpInstall HasData Google Maps MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"google-maps-mcp": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-maps-mcp"
],
"env": {
"HASDATA_API_KEY": "<YOUR_HASDATA_API_KEY>"
}
}
}
}Install HasData Google Maps MCP in VS Code
.vscode/mcp.json
{
"servers": {
"google-maps-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/google-maps-mcp"
],
"env": {
"HASDATA_API_KEY": "<YOUR_HASDATA_API_KEY>"
}
}
}
}Install HasData Google Maps MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"google-maps-mcp": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-maps-mcp"
],
"env": {
"HASDATA_API_KEY": "<YOUR_HASDATA_API_KEY>"
}
}
}
}Install HasData Google Maps MCP in Codex
~/.codex/config.toml
[mcp_servers.google-maps-mcp] command = "npx" args = ["-y", "@hasdata/google-maps-mcp"] [mcp_servers.google-maps-mcp.env] HASDATA_API_KEY = "<YOUR_HASDATA_API_KEY>"
Install HasData Google Maps MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"google-maps-mcp": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-maps-mcp"
],
"env": {
"HASDATA_API_KEY": "<YOUR_HASDATA_API_KEY>"
}
}
}
}HasData Google Maps MCP tools 3
Detected from the READMEdomainstartnum
| domain | — | |
| start | — | |
| num | — |
Configuration
HASDATA_API_KEYRequiredSecretHasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.
HASDATA_API_KEYRequiredSecretHasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.
| Name | Description | |
|---|---|---|
| HASDATA_API_KEY | HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card. | RequiredSecret |
| HASDATA_API_KEY | HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card. | RequiredSecret |
Automated checks
Ran Nov 11, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablePass
- Open source license (OSI)Pass
- Commit or release in the last yearPass
- Package name not close to a popular packagePass
- Remote endpoint uses HTTPSPass
- Destructive tools are labelledPass
- No hidden instructions to the modelPass
- No critical advisory in the package or its dependenciesPass
README
View on GitHubGoogle Maps MCP Server
A hosted Google Maps MCP server that gives Claude, Cursor, Windsurf and any other MCP client six read-only Google Maps tools. Search places, read a place in full, pull its reviews, photos and posts, and walk a single reviewer's history, all as structured JSON, with no Google Cloud project and no billing to enable.
1,000 free credits every month, no card required, which is 100 calls at the 10-credit rate.
https://mcp.hasdata.com/mcp?apis=google_maps
Contents
- What you need
- Quick start
- Example prompts
- Tools
- Errors and failure paths
- Pricing, free tier and limits
- Tool selection
- How it compares
- FAQ
- HasData links
- Development
- Contributing
- License
What you need
An MCP client that speaks streamable HTTP with custom headers. A HasData API key from the dashboard, free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. Nothing else. This is a remote server, so the simplest path is a URL and a header, with no container to run and no Google Cloud project or API key anywhere in the flow. A stdio-only client can use the @hasdata/google-maps-mcp (npm) or hasdata-google-maps-mcp (PyPI) launcher instead.
Quick start
| URL | https://mcp.hasdata.com/mcp?apis=google_maps |
| Transport | HTTP, streamable |
| Auth header | x-api-key: HASDATA_API_KEY |
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
claude mcp add --transport http google-maps "https://mcp.hasdata.com/mcp?apis=google_maps" \
--header "x-api-key: HASDATA_API_KEY"
Claude Desktop loads only local (stdio) servers from its config file, so it reaches a remote server through a stdio launcher. The @hasdata/google-maps-mcp package is that launcher, and it reads the key from the environment.
claude_desktop_config.json:
{
"mcpServers": {
"google-maps": {
"command": "npx",
"args": ["-y", "@hasdata/google-maps-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}
Python instead of Node? Swap the launcher for the PyPI package, which uvx runs without a manual install:
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": ["hasdata-google-maps-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}
A client with OAuth support can instead add the URL as a custom connector and skip the launcher.
.cursor/mcp.json:
{
"mcpServers": {
"google-maps": {
"url": "https://mcp.hasdata.com/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"google-maps": {
"serverUrl": "https://mcp.hasdata.com/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
{
"mcpServers": {
"google-maps": {
"url": "https://mcp.hasdata.com/mcp?apis=google_maps",
"type": "streamableHttp",
"headers": { "x-api-key": "HASDATA_API_KEY" },
"disabled": false
}
}
}
.vscode/mcp.json:
{
"servers": {
"google-maps": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
~/.gemini/settings.json:
{
"mcpServers": {
"google-maps": {
"httpUrl": "https://mcp.hasdata.com/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
Example prompts
Each of these is one tool call unless the count says otherwise.
Search Google Maps for coffee near downtown Seattle and give me the top ten with their rating, review count and website.
One call, 10 credits. Search returns the places with placeId and dataId already attached, and the follow-ups below need no lookup step.
Pull the full details for
ChIJAb0KE0RrkFQRuI4X0By5Mcw: hours, service options, price level and the menu link.
One call, 10 credits.
Read the latest reviews for that place, sorted newest first, and tell me which topics come up most.
One call, 10 credits. The response carries Google's own topic clusters with a mention count each, and the ranking is in the data.
Take the author of the top review and list every other place they have reviewed, with the rating they left.
One call, 10 credits. A review carries its author's contributorId, which is exactly what the contributor tool takes.
Get the photo feed for that place and the business's recent posts.
Two calls. Photos and posts cost 10 credits each.
Two things make these chains cheap. Search hands back placeId and dataId on every result, and the detail, review, photo and post calls need no separate resolve step. And a review carries the author's contributorId, which turns "who left this review" into a one-call jump to that person's whole history.
Tools
| Tool | What it returns |
|---|---|
hasdata_google_maps_contributor_reviews_getMapReviews |
Per-review rating, text, date, place name, place address, placeId, photos, and owner responses. 10 credits a call |
hasdata_google_maps_photos_getMapPhotos |
Each photo with image URL, thumbnail, upload date, uploader, and photoId. 10 credits a call |
hasdata_google_maps_place_getPlaceDetails |
Name, address, coordinates, phone, website, categories, hours, rating, review count, price level, photos, popular times, attributes/amenities, plus_code, and map URL. 10 credits a call |
hasdata_google_maps_posts_getMapPosts |
Per-post title, description, image, posted_at, link, and source/business name. 10 credits a call |
hasdata_google_maps_reviews_getMapReviews |
Per-review author name and profile link, star rating, text, published/relative date, likes count, owner response, attached photos, and local-guide flag. 10 credits a call |
hasdata_google_maps_search_performMapSearch |
The local pack list with placeId, name, address, coordinates, rating, review count, price level, categories, phone, website, hours, and thumbnail. 10 credits a call |
Six tools, all read-only. Samples below are trimmed from real calls, and the numbers in them move as places gain reviews. Read them as shapes. Each tool name links to its endpoint reference.
The samples are the payload, not the whole response. A tools/call result carries one text block, and that text is itself JSON holding url, status, text and json, with the scraped data under json. From a raw JSON-RPC response the path is result.content[0].text, parsed, then .json. A chat client unwraps that for you and code talking to the endpoint directly does not.
Four of the tools accept a place by either placeId or dataId. Search returns both on every result. The usual flow is one search followed by detail, review, photo or post calls that reuse whichever id you kept.
Search Google Maps
hasdata_google_maps_search_performMapSearch
Places for a query, ranked as Google Maps ranks them.
| Parameter | Type | Required | Notes |
|---|---|---|---|
q |
string | yes | Free-text query, for example coffee or plumber |
ll |
string | Map centre and zoom as @lat,lng,zoomz, for example @47.6062,-122.3321,14z. This is how you pin the search to a place |
|
gl / hl |
string | Two-letter country and language codes | |
domain |
string | Google domain to query, for example google.com |
|
start |
number | Result offset for paging, in steps of 20. Requires ll to be set as well |
Each result carries position, title, placeId, dataId, address, gpsCoordinates, rating, reviews, type, types, price, website, thumbnail, openState, workingHours, serviceOptions and, where Google shows one, a menu link.
Location lives in
ll, not in the query. Put the map centre and zoom there, because "coffee" alone returns wherever Google decides you are. The zoom digit widens or narrows the area the results are drawn from.
{
"localResults": [
{
"position": 1,
"title": "Howdy Y'all Coffee (Central Library)",
"placeId": "ChIJAb0KE0RrkFQRuI4X0By5Mcw",
"dataId": "0x54906b44130abd01:0xcc31b91cd0178eb8",
"address": "1000 4th Ave Fl 3, Seattle, WA 98104",
"rating": 4.9,
"reviews": 117,
"type": "Coffee shop",
"website": "https://howdyyallcoffee.com/",
"workingHours": {
"timezone": "America/Los_Angeles",
"days": [ { "day": "Friday", "time": "10 AM–4 PM" } ]
}
}
]
}
Get place details
hasdata_google_maps_place_getPlaceDetails
One place in full by placeId.
| Parameter | Type | Required | Notes |
|---|---|---|---|
placeId |
string | yes | The placeId from a search result |
hl |
string | Language code | |
domain |
string | Google domain |
Returns a single placeResults object with the same fields a search result carries, plus an images array. It is the way to get one place's full record without running a search you do not need.
Get place reviews
hasdata_google_maps_reviews_getMapReviews
The review feed for a place, page by page.
| Parameter | Type | Required | Notes |
|---|---|---|---|
placeId |
string | The place. Either placeId or dataId has to be present |
|
dataId |
string | The place as a dataId instead |
|
sortBy |
string | mostRelevant by default, plus newestFirst, ratingHigh and ratingLow |
|
topicId |
string | Filter to one topic, using an id from the topics array |
|
hl |
string | Language code | |
nextPageToken |
string | The pagination.nextPageToken from the previous response |
Returns placeInfo, a topics array, a reviews array and pagination. Each review carries reviewId, rating, snippet, date, isoDate, link, images, a user object and, where the owner replied, a response.
topicsis Google's own clustering of what reviews mention, each with akeywordand amentionscount, and the themes come pre-counted rather than needing you to read every review. Feed a topic'sidback astopicIdto read only the reviews that mention it.
Each review's
usercarries acontributorId. That is the input the contributor tool takes, so "who wrote this" is one call away from "everything they wrote".
{
"placeInfo": { "title": "Howdy Y'all Coffee (Central Library)", "rating": 4.9, "reviews": 117 },
"topics": [
{ "keyword": "earl grey matcha", "mentions": 26, "id": "bew1w_KAk5U" },
{ "keyword": "friendly baristas", "mentions": 17, "id": "FOw-91tYieQ" }
],
"reviews": [
{
"reviewId": "…",
"rating": 5,
"snippet": "…",
"isoDate": "2026-07-06T19:49:00.657Z",
"user": { "name": "Angela Li", "contributorId": "106033685843245983748" },
"response": { "isoDate": "2026-07-07T04:44:34.000Z", "snippet": "Thank you!! 🥺☺️" }
}
],
"pagination": { "nextPageToken": "…" }
}
Get a contributor's reviews
hasdata_google_maps_contributor_reviews_getMapReviews
Every review one person has written, across all the places they rated.
| Parameter | Type | Required | Notes |
|---|---|---|---|
contributorId |
string | yes | The contributorId from a review's user object |
num |
number | How many reviews to return | |
gl / hl |
string | Country and language codes | |
nextPageToken |
string | Token from the previous response |
Returns a contributor object with name, level, points and a contributions breakdown, and a reviews array where every entry carries its own placeInfo, and you see which place each review is about without a second lookup. This is the tool behind reviewer-credibility and review-network work that the review feed alone cannot do. It reads one person's public review history, so use the results within Google's terms and the law that applies to you.
Get place photos
hasdata_google_maps_photos_getMapPhotos
The photo feed for a place.
| Parameter | Type | Required | Notes |
|---|---|---|---|
placeId |
string | The place. Either placeId or dataId has to be present |
|
dataId |
string | The place as a dataId instead |
|
categoryId |
string | Filter to one category, using an id from the categories array |
|
hl |
string | Language code | |
nextPageToken |
string | Token from the previous response |
Returns a categories array (All, Latest, Videos, Menu and place-specific ones), a photos array where each entry has image and thumbnail URLs, and pagination.
Get place posts
hasdata_google_maps_posts_getMapPosts
The business's own posts and updates on its Google listing.
| Parameter | Type | Required | Notes |
|---|---|---|---|
placeId |
string | The place. Either placeId or dataId has to be present |
|
dataId |
string | The place as a dataId instead |
|
hl |
string | Language code |
Returns a posts array. This tool does not page. Reviews and photos take a nextPageToken, this one does not, and it returns what the listing shows.
Most places post nothing, so an empty
postsarray is the common case. Read the length before assuming a post is there.
Prompts and resources
The server ships 2 prompts, ready-made workflows a client can offer instead of making the user compose a tool call.
| Prompt | What it does |
|---|---|
google_maps_search |
Find businesses and places on Google Maps. |
google_maps_reviews |
Summarize what reviewers say about a place. |
Alongside them the server exposes 4 resources, one per parameter whose accepted values are a fixed list. Reading one is cheaper than learning the vocabulary from a rejected call, and it costs no credits. Each URI is hasdata://google_maps/<parameter>.
| Parameter | Values | What it selects |
|---|---|---|
hl |
159 | The two-letter language code for the language you want to use for the search. |
gl |
245 | The two-letter country code for the country you want to limit the search to. |
domain |
195 | Google domain to use. Default is google.com. |
sortBy |
4 | Parameter used for sorting and refining results. |
Both lists are served without an API key, so a client can read them before a user has signed up.
Errors and failure paths
Your client almost never sees an HTTP error code from a tool call. The MCP layer answers 200 and puts the failure inside the result, with isError set to true and the reason as text. The agent reads a message where you might expect a status line.
A wrong key surfaces as tool output, not as a failed connection. Listing tools accepts any non-empty key, and the client completes its handshake and shows green. The first tool call then comes back with isError: true and the text HasData API error: 401 Unauthorized. Watch for that string, because nothing earlier in the flow reports the problem.
The one real HTTP error is a missing key. Authorization runs before any tool, and the connection itself fails with 401.
An argument that breaks the schema is rejected before it becomes a request. A search with no q comes back with isError: true and the text MCP error -32602: Input validation error, naming the field. Nothing is fetched and nothing is charged.
A review, photo or post call needs a place. Those three take placeId or dataId, and sending neither returns 422 naming both fields, because the requirement is conditional and the schema cannot express it as a plain required list. Pass one.
A place id that does not resolve is a clean error, not empty data. It returns isError: true with HasData API error: 400 Bad Request and requestMetadata.status set to error. Test the flag rather than the array length.
Empty posts is real data. Most listings carry no posts, so the call succeeds with status ok and an empty array. The place simply has nothing posted.
Results that carry data also carry a requestMetadata.id worth quoting in support, plus html and json links to the stored artifact of that exact call.
Pricing, free tier and limits
Search, place details, reviews, contributor reviews and photos cost 10 credits per successful call. Posts cost 10. Response size does not change the price. A full page of reviews costs the same as a page with one.
The free tier is 1,000 credits every month with no card, which is 100 calls at the 10-credit rate. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.
Paid plans start at $59 a month for 200,000 credits, which is 40,000 five-credit calls. The price per credit falls with volume, and current numbers live on the pricing page.
Your plan also sets concurrency. The free tier allows 5 requests at a time, Startup 5, Basic 15, and the Growth tiers run from 50 to 500. Concurrency is the only throttle. There is no separate requests-per-minute cap, and the free tier is not slowed or trimmed in any other way. Handle the overflow case defensively in anything unattended, because an agent that fans out across places will reach the ceiling before you do.
Paging costs a call each time. Reviews come about ten to a page, so a hundred reviews is roughly ten calls and 100 credits, while photos come twenty to a page. The free tier goes a long way before you feel it.
Tool selection
?apis=google_maps exposes exactly these six tools. The parameter takes a list, and ?apis=google_maps,google_serp adds Google search alongside the maps tools. Drop the parameter and you get every tool HasData exposes.
A narrow list is usually the better default. A model choosing among a few tools picks correctly more often than one choosing among the whole catalog, and the tool descriptions themselves cost context on every turn.
How it compares
Almost every other Google Maps MCP server wraps the official Google Maps Platform, and that is the real choice to weigh.
Those servers call the Places, Routes and Geocoding APIs with your own Google Cloud credentials. To run one you create a Google Cloud project, enable billing with a card, turn on each API, and manage a key and its quotas. That is the right tool when you want routing, geocoding and address validation, which this server does not do.
This server reads what Google Maps shows a visitor, and returns it parsed. There is no Google Cloud project, no billing to enable, and no per-API quota to manage. It also reaches data the Places API does not hand out: the full review feed rather than a small fixed sample, a single reviewer's whole history, the photo feed, and the business's posts.
| Official Platform wrapper | This server | |
|---|---|---|
| What you set up | A Google Cloud project, billing, per-API keys and quotas | One API key, once |
| Routing, geocoding, address validation | Yes | Not offered |
| Reviews | A small fixed sample per place | The feed, paged, with topic clusters |
| A reviewer's history | Not available | Yes, by contributorId |
| Photos and posts | Limited | Photo feed and the business's posts |
| Output | JSON per the Platform schema | JSON parsed from what a visitor sees |
| Cost | Google's per-call pricing on your bill | 10 credits a call, 10 for posts |
The decision comes down to two rows. If you need directions or to turn an address into coordinates, this server cannot help you and the Platform can. If you need the reviews behind the first few, or who a reviewer is across every place they rated, the Platform cannot help you and this can.
What this server does not do. No routing, no geocoding, no address validation, no distance matrix, and nothing that writes. It reads the map.
FAQ
What is a Google Maps MCP server?
A server that exposes Google Maps data as tools an AI client can call. The client sends a tool call over the Model Context Protocol, the server fetches the data and returns structured JSON, and the model works with the result and never sees a page of HTML. This one exposes six read-only tools and runs remotely. The client connects to a URL and starts no local process.
Is there an official Google Maps MCP server?
Google publishes no general-purpose one. There is the Google Maps Platform, a set of paid APIs you call with your own Cloud project, and several community MCP servers wrap it. This server is a hosted alternative that needs no Cloud project.
Do I need a Google Cloud project or a Maps API key?
No. The only credential is your HasData key. There is no Google Cloud project to create, no billing to enable and no per-API quota to manage.
HasData Google Maps MCP questions
How do I add HasData Google Maps MCP to Claude Code?
Run claude mcp add --env HASDATA_API_KEY=<YOUR_HASDATA_API_KEY> google-maps-mcp -- npx -y @hasdata/google-maps-mcp in your terminal. Add --scope user to make it available in every project.
How do I add HasData Google Maps MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does HasData Google Maps MCP provide?
It exposes 3 tools, including domain, start, num.
What tools does the Google Maps MCP server provide?
It provides six read-only tools: place search, place details, place reviews, contributor reviews, photos, and posts.
Do I need a Google Cloud project or API key?
No. The server is hosted and needs only a HasData API key, with no Google Cloud project or billing setup.
How do I authenticate to the server?
Pass a HasData API key in the x-api-key header; OAuth-capable clients can sign in as a connector instead.
Is there a free tier?
Yes, 1,000 free credits each month without a card, which is about 100 calls at 10 credits per call.
How much does each tool call cost?
Every tool costs 10 credits per call.