Google Maps MCP Server
Google Maps MCP Server
Размещённый сервер Model Context Protocol (MCP), который даёт Claude, Cursor, Windsurf и любому другому MCP-клиенту шесть инструментов Google Maps только для чтения. Ищите места, читайте информацию о месте полностью, получайте его отзывы, фотографии и посты, а также просматривайте историю отдельного автора — всё в виде структурированного JSON, без проекта Google Cloud и без необходимости включать биллинг.
https://mcp.hasdata.com/api/mcp?apis=google_maps
Содержание
Related MCP server: MCP Google Maps
Что вам нужно
MCP-клиент, поддерживающий streamable HTTP с пользовательскими заголовками. Ключ API HasData из панели управления — бесплатно, без карты, и пробный период покрывает около 200 вызовов по тарифу 5 кредитов. Больше ничего не нужно. Это удалённый сервер, так что самый простой путь — URL и заголовок, без контейнера для запуска и без проекта Google Cloud или ключа API где-либо в процессе. Клиент, работающий только через stdio, может вместо этого использовать лаунчер @hasdata/google-maps-mcp (npm) или hasdata-google-maps-mcp (PyPI).
Быстрый старт
URL |
|
Транспорт | HTTP, streamable |
Заголовок авторизации |
|
URL сервера одинаков для всех клиентов. Мы используем его напрямую в Claude Code и Claude Desktop. Остальные блоки следуют собственному документированному формату каждого клиента для удалённого сервера.
Клиенты с поддержкой OAuth могут добавить тот же URL как коннектор и войти без размещения ключа в конфигурационном файле.
claude mcp add --transport http google-maps "https://mcp.hasdata.com/api/mcp?apis=google_maps" \
--header "x-api-key: HASDATA_API_KEY"Claude Desktop загружает только локальные (stdio) серверы из своего конфигурационного файла, поэтому он обращается к удалённому серверу через stdio-лаунчер. Пакет @hasdata/google-maps-mcp и есть этот лаунчер, и он читает ключ из окружения.
claude_desktop_config.json:
{
"mcpServers": {
"google-maps": {
"command": "npx",
"args": ["-y", "@hasdata/google-maps-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}Python вместо Node? Замените лаунчер на пакет PyPI, который uvx запускает без ручной установки:
{
"mcpServers": {
"google-maps": {
"command": "uvx",
"args": ["hasdata-google-maps-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}Клиент с поддержкой OAuth может вместо этого добавить URL как пользовательский коннектор и пропустить лаунчер.
.cursor/mcp.json:
{
"mcpServers": {
"google-maps": {
"url": "https://mcp.hasdata.com/api/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"google-maps": {
"serverUrl": "https://mcp.hasdata.com/api/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}{
"mcpServers": {
"google-maps": {
"url": "https://mcp.hasdata.com/api/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/api/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}~/.gemini/settings.json:
{
"mcpServers": {
"google-maps": {
"httpUrl": "https://mcp.hasdata.com/api/mcp?apis=google_maps",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}Примеры запросов
Каждый из этих примеров — один вызов инструмента, если не указано иное.
Найди в Google Maps кофейни рядом с центром Сиэтла и дай мне десять лучших с их рейтингом, количеством отзывов и сайтом.
Один вызов, 5 кредитов. Поиск возвращает места с уже прикреплёнными placeId и dataId, и последующие шаги ниже не требуют отдельного поиска.
Получи полные данные для
ChIJAb0KE0RrkFQRuI4X0By5Mcw: часы работы, варианты обслуживания, уровень цен и ссылку на меню.
Один вызов, 5 кредитов.
Прочитай последние отзывы об этом месте, отсортированные сначала новые, и скажи, какие темы встречаются чаще всего.
Один вызов, 5 кредитов. Ответ содержит собственные тематические кластеры Google с количеством упоминаний каждого, и ранжирование уже в данных.
Возьми автора лучшего отзыва и перечисли все остальные места, которые он оценил, с указанием его оценки.
Один вызов, 5 кредитов. Отзыв содержит contributorId автора, который как раз и принимает инструмент для авторов.
Получи ленту фотографий этого места и недавние посты компании.
Два вызова. Фотографии стоят 5 кредитов, посты — 10.
Две вещи делают эти цепочки дешёвыми. Поиск возвращает placeId и dataId для каждого результата, и вызовы для деталей, отзывов, фото и постов не требуют отдельного шага разрешения. А отзыв содержит contributorId автора, что превращает «кто оставил этот отзыв» в один вызов к всей истории этого человека.
Инструменты
Шесть инструментов, все только для чтения. Примеры ниже сокращены из реальных вызовов, и числа в них меняются по мере добавления отзывов к местам. Воспринимайте их как структуру. Каждое название инструмента ведёт к справочнику по его конечной точке.
Примеры — это полезная нагрузка, а не весь ответ. Результат tools/call содержит один текстовый блок, и этот текст сам является JSON, содержащим url, status, text и json, с извлечёнными данными в json. В сыром ответе JSON-RPC путь — result.content[0].text, затем парсинг, затем .json. Чат-клиент разворачивает это за вас, а код, обращающийся к конечной точке напрямую, — нет.
Четыре из инструментов принимают место по placeId или dataId. Поиск возвращает оба для каждого результата. Обычный поток — один поиск, затем вызовы для деталей, отзывов, фото или постов, которые используют тот идентификатор, который вы сохранили.
Поиск в Google Maps
hasdata_google_maps_search_performMapSearch
Места по запросу, ранжированные так, как их ранжирует Google Maps.
Параметр | Тип | Обязателен | Примечания |
| string | да | Произвольный текстовый запрос, например |
| string | Центр карты и масштаб в формате | |
| string | Двухбуквенные коды страны и языка | |
| string | Домен Google для запроса, например | |
| number | Смещение результатов для постраничного вывода, шаг 20. Требует также указания |
Местоположение задаётся в
ll, а не в запросе. Указывайте центр карты и масштаб там, потому что один «coffee» вернёт то, где Google решит, что вы находитесь. Цифра масштаба расширяет или сужает область, из которой берутся результаты.
{
"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" } ]
}
}
]
}Получить данные о месте
hasdata_google_maps_place_getPlaceDetails
Одно место полностью по placeId.
Параметр | Тип | Обязателен | Примечания |
| string | да |
|
| string | Код языка | |
| string | Домен Google |
Возвращает один объект placeResults с теми же полями, что и результат поиска, плюс массив images. Это способ получить полную запись одного места без выполнения ненужного поиска.
Получить отзывы о месте
hasdata_google_maps_reviews_getMapReviews
Лента отзывов о месте, постранично.
Параметр | Тип | Обязателен | Примечания |
| string | Место. Должен присутствовать либо | |
| string | Место как | |
| string |
| |
| string | Фильтр по одной теме, используя | |
| string | Код языка | |
| string |
|
Возвращает placeInfo, массив topics, массив reviews и pagination. Каждый отзыв содержит reviewId, rating, snippet, date, isoDate, link, images, объект user и, если владелец ответил, response.
topics— это собственная кластеризация Google того, что упоминается в отзывах, каждый сkeywordи количествомmentions, и темы уже подсчитаны, так что вам не нужно читать каждый отзыв. Передайтеidтемы обратно какtopicId, чтобы читать только те отзывы, которые её упоминают.
Объект
userкаждого отзыва содержитcontributorId. Это входные данные для инструмента автора, так что «кто это написал» — один вызов от «всего, что они написали».
{
"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": "…" }
}Получить отзывы автора
hasdata_google_maps_contributor_reviews_getMapReviews
Все отзывы, которые написал один человек, по всем местам, которые он оценил.
Параметр | Тип | Обязателен | Примечания |
| string | да |
|
| number | Сколько отзывов вернуть | |
| string | Коды страны и языка | |
| string | Токен из предыдущего ответа |
Возвращает объект contributor с полями name, level, points и разбивкой contributions, а также массив reviews, где каждая запись содержит собственный placeInfo, и вы видите, о каком месте каждый отзыв, без второго запроса. Это инструмент, лежащий в основе работы с достоверностью авторов и сетью отзывов, которую один лишь фид отзывов не может обеспечить. Он читает публичную историю отзывов одного человека, поэтому используйте результаты в соответствии с условиями Google и применимым к вам законодательством.
Получение фотографий места
hasdata_google_maps_photos_getMapPhotos
Фотолента для места.
Параметр | Тип | Обязательный | Примечания |
| string | Место. Должен присутствовать либо | |
| string | Место как | |
| string | Фильтр по одной категории, используя | |
| string | Код языка | |
| string | Токен из предыдущего ответа |
Возвращает массив categories (All, Latest, Videos, Menu и специфичные для места), массив photos, где каждая запись содержит URL-адреса image и thumbnail, и pagination.
Получение публикаций места
hasdata_google_maps_posts_getMapPosts
Собственные публикации и обновления компании в её списке Google.
Параметр | Тип | Обязательный | Примечания |
| string | Место. Должен присутствовать либо | |
| string | Место как | |
| string | Код языка | |
| string | Токен из предыдущего ответа |
Возвращает массив posts.
Большинство мест ничего не публикует, поэтому пустой массив
posts— обычный случай. Проверьте длину, прежде чем предполагать, что публикация есть.
Ошибки и пути отказа
Ваш клиент почти никогда не видит код ошибки HTTP от вызова инструмента. Слой MCP отвечает 200 и помещает сбой внутрь результата, с isError, установленным в true, и причиной в виде текста. Агент читает сообщение там, где вы могли бы ожидать строку состояния.
Неверный ключ проявляется как вывод инструмента, а не как неудачное соединение. Перечисление инструментов принимает любой непустой ключ, и клиент завершает рукопожатие и показывает зелёный индикатор. Первый вызов инструмента затем возвращается с isError: true и текстом HasData API error: 401 Unauthorized. Следите за этой строкой, потому что ничто ранее в потоке не сообщает о проблеме.
Единственная настоящая ошибка HTTP — отсутствующий ключ. Авторизация выполняется перед любым инструментом, и само соединение завершается с ошибкой 401.
Аргумент, нарушающий схему, отклоняется до того, как станет запросом. Поиск без q возвращается с isError: true и текстом MCP error -32602: Input validation error, с указанием поля. Ничего не извлекается и не списывается.
Вызов отзыва, фото или публикации требует места. Эти три принимают placeId или dataId, и отправка ни одного из них возвращает 422 с указанием обоих полей, потому что требование условное, и схема не может выразить его как простой список обязательных полей. Передайте одно.
Идентификатор места, который не разрешается, — это чистая ошибка, а не пустые данные. Он возвращает isError: true с HasData API error: 400 Bad Request и requestMetadata.status, установленным в error. Проверяйте флаг, а не длину массива.
Пустой posts — это реальные данные. У большинства списков нет публикаций, поэтому вызов завершается успешно с status ok и пустым массивом. У места просто ничего не опубликовано.
Результаты, содержащие данные, также содержат requestMetadata.id, который стоит цитировать в поддержке, а также ссылки html и json на сохранённый артефакт этого конкретного вызова.
Цены, бесплатный тариф и лимиты
Поиск, детали места, отзывы, отзывы авторов и фотографии стоят 5 кредитов за успешный вызов. Публикации — 10. Размер ответа не меняет цену. Полная страница отзывов стоит столько же, сколько страница с одним отзывом.
Бесплатная пробная версия — 1000 кредитов на 30 дней без карты, что составляет 200 вызовов по ставке 5 кредитов. После этого активная учётная запись продолжает получать 100 кредитов ежедневно, когда её баланс опускается ниже 100, так что агент с низким объёмом может работать на бесплатном тарифе бесконечно.
Платные планы начинаются с 49 долларов в месяц за 200 000 кредитов, что составляет 40 000 вызовов по 5 кредитов. Цена за кредит снижается с объёмом, и актуальные цифры приведены на странице цен.
Ваш план также определяет параллельность. Бесплатная пробная версия допускает 1 запрос одновременно, Startup — 15, Business — 30, Growth — 50, а планы с высоким объёмом — от 200 до 1500. Параллельность — единственное ограничение. Отдельного лимита запросов в минуту нет, и пробная версия не замедляется и не урезается каким-либо иным образом. Обрабатывайте переполнение защитно в любом автоматическом процессе, потому что агент, который распределяется по местам, достигнет потолка раньше вас.
Пагинация стоит один вызов за каждый раз. Отзывы идут примерно по десять на страницу, так что сотня отзывов — это примерно десять вызовов и 50 кредитов, а фотографии — по двадцать на страницу. Пробная версия продержится долго, прежде чем вы это почувствуете.
Выбор инструментов
?apis=google_maps открывает ровно эти шесть инструментов. Параметр принимает список, и ?apis=google_maps,google_serp добавляет поиск Google рядом с инструментами карт. Уберите параметр — и вы получите всё, что предоставляет HasData, а это в настоящее время 57 инструментов.
Узкий список обычно лучший выбор по умолчанию. Модель, выбирающая среди шести инструментов, выбирает правильный чаще, чем та, что выбирает среди пятидесяти семи, а сами описания инструментов стоят контекста на каждом ходу.
Сравнение
Почти каждый другой MCP-сервер Google Maps оборачивает официальную платформу Google Maps, и это настоящий выбор, который стоит взвесить.
Эти серверы вызывают API Places, Routes и Geocoding с вашими собственными учётными данными Google Cloud. Чтобы запустить такой сервер, вы создаёте проект Google Cloud, включаете биллинг с картой, включаете каждый API и управляете ключом и его квотами. Это правильный инструмент, когда вам нужны маршрутизация, геокодирование и проверка адресов, чего этот сервер не делает.
Этот сервер читает то, что Google Maps показывает посетителю, и возвращает это в разобранном виде. Нет проекта Google Cloud, не нужно включать биллинг и управлять квотами на каждый API. Он также получает данные, которые Places API не выдаёт: полный фид отзывов, а не небольшую фиксированную выборку, всю историю одного автора, фотоленту и публикации компании.
Официальная обёртка платформы | Этот сервер | |
Что вы настраиваете | Проект Google Cloud, биллинг, ключи и квоты на каждый API | Один ключ API, один раз |
Маршрутизация, геокодирование, проверка адресов | Да | Не предлагается |
Отзывы | Небольшая фиксированная выборка на место | Фид, с пагинацией, с тематическими кластерами |
История автора | Недоступно | Да, по |
Фотографии и публикации | Ограниченно | Фотолента и публикации компании |
Вывод | JSON по схеме платформы | JSON, разобранный из того, что видит посетитель |
Стоимость | Цены Google за вызов в вашем счете | 5 кредитов за вызов, 10 за публикации |
Решение сводится к двум строкам. Если вам нужны маршруты или преобразование адреса в координаты, этот сервер не поможет, а платформа может. Если вам нужны отзывы за первыми несколькими или информация о том, кто такой автор во всех местах, которые он оценил, платформа не поможет, а этот сервер может.
Чего этот сервер не делает. Нет маршрутизации, нет геокодирования, нет проверки адресов, нет матрицы расстояний и ничего, что записывает. Он читает карту.
Часто задаваемые вопросы
Что такое MCP-сервер Google Maps?
Сервер, который предоставляет данные Google Maps как инструменты, которые может вызывать ИИ-клиент. Клиент отправляет вызов инструмента через Model Context Protocol, сервер получает данные и возвращает структурированный JSON, и модель работает с результатом, никогда не видя страницу HTML. Этот сервер предоставляет шесть инструментов только для чтения и работает удалённо. Клиент подключается к URL и не запускает локальный процесс.
Есть ли официальный MCP-сервер Google Maps?
Google не публикует универсальный. Есть Google Maps Platform — набор платных API, которые вы вызываете со своим собственным проектом Cloud, и несколько сообществ MCP-серверов оборачивают его. Этот сервер — размещённая альтернатива, не требующая проекта Cloud.
Нужен ли мне проект Google Cloud или ключ Maps API?
Нет. Единственное учётное данное — ваш ключ HasData. Нет проекта Google Cloud для создания, нет биллинга для включения и нет квот на каждый API для управления.
В чём разница между placeId и dataId?
Это два идентификатора, которые Google использует для одного и того же места. Поиск возвращает оба в каждом результате, и инструменты деталей, отзывов, фото и публикаций принимают любой. Сохраните любой, который вам нравится, из результата поиска и используйте его повторно.
Как получить все отзывы, а не только первую страницу?
Читайте pagination.nextPageToken из каждого ответа и передавайте его обратно как nextPageToken, пока он не перестанет приходить. Каждая страница — один вызов.
Нужно ли мне размещать или запускать что-либо?
Нет. Это удалённый MCP-сервер на streamable HTTP. Ничего устанавливать, никакой среды Python, никакого процесса для перезапуска.
Данные живые или кэшированные?
Живые. Каждый вызов получает данные в момент запроса и несёт собственный requestMetadata.id. Два одинаковых вызова — это два отдельных получения, а не воспроизведение сохранённой копии.
Можно ли использовать один сервер для нескольких поверхностей Google?
Да. Параметр apis принимает список, и ?apis=google_maps,google_serp даёт вашему агенту инструменты карт плюс поиск Google одновременно.
Истекает ли срок действия ключа API?
Нет. Ключ не истекает. Вращайте его в панели управления, когда это необходимо.
Связан ли этот сервер с Google?
Нет. HasData — независимый сервис и не аффилирован с Google, не одобрен и не спонсируется Google. Google и Google Maps являются товарными знаками их соответствующего владельца. Инструменты работают только с общедоступными данными, и вы несёте ответственность за использование результатов в соответствии с условиями Google и применимым к вам законодательством.
Ссылки HasData
Страницы продуктов | |
Документация сервера | |
Все 57 инструментов в одном сервере | |
Пошаговые руководства для клиентов | |
Другие площадки, которые мы парсим | |
Тарифы и стоимость кредитов | |
Ключи и использование | |
Node-лаунчер на npm | |
Python-лаунчер на PyPI |
Разработка
Этот репозиторий представляет собой конфигурацию и документацию для удалённого сервера. Здесь нет этапа сборки и нечего контейнеризировать.
В нём есть контрактный тест. В README обещаны шесть инструментов с определёнными параметрами, а список инструментов вышестоящего сервера может измениться без коммита здесь, из-за чего этот файл тихо врал бы вам. Тест проверяет это обещание и запускается еженедельно в CI, а также при каждом пуше.
HASDATA_API_KEY=your_key_here npm testВ PowerShell:
$env:HASDATA_API_KEY = "your_key_here"; npm testПоследняя проверка выполняет реальный вызов и стоит 5 кредитов — это цена канарейки, которая может упасть по правильной причине. Получение списка инструментов успешно с любым непустым ключом, а тест, который только получает список инструментов, остаётся зелёным с отозванным ключом.
Участие
Исправления в таблицах инструментов и образцах ответов — самый полезный вклад, потому что именно эти части расходятся с реальностью. Приложите выполненный вами запрос и полученный ответ. Пул-реквесты из форков запускают набор тестов без ключа, а живые проверки пропускаются, а не становятся красными.
Лицензия
MIT. См. LICENSE.
Available Tools
6 toolshasdata_google_maps_contributor_reviews_getMapReviewsgoogle_maps_contributor_reviews: GET /AInspect
Get Map Contributor Reviews
Lists all Google Maps reviews authored by a specific Local Guide / contributor by contributorId, with language/country targeting and nextPageToken pagination. Returns per-review rating, text, date, place name, place address, placeId, photos, and owner responses. Use for reviewer reputation checks, detecting fake/bot review patterns, local-guide activity analysis, and building review-author profiles for trust scoring.
| Name | Required | Description | Default |
|---|---|---|---|
| gl | No | The two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`. | |
| hl | No | The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`. | |
| num | No | Number of results per page, ranging from 10 to 200. | |
| contributorId | Yes | Google Maps Contributor ID. | |
| nextPageToken | No | Defines the next page token. It is used for retrieving the next page results. |
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 discloses that the tool 'Lists all' reviews and returns a comprehensive set of fields per review, indicating a read-only behavior (GET) without side effects. It does not hide the requirement for contributorId or the pagination mechanism. While it doesn't state 'read-only' explicitly, the description's phrasing and the GET method imply it, and no behavioral surprises are hidden.
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 two sentences plus a use-case list, with no fluff. It front-loads the core action ('Lists all...') immediately, then provides targeting details and return fields, and ends with concrete use cases. Every sentence adds information relevant to invocation; there is no repetition or filler.
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 moderate complexity (5 params), lack of annotations, and no output schema, the description is remarkably complete. It states what the tool returns (rating, text, date, place details, photos, owner responses), mentions targeting and pagination, and provides clear application scenarios. An agent has sufficient context to call this tool correctly and interpret the response.
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 100%, so the baseline is 3. The description adds value by linking 'language/country targeting' to the hl and gl parameters, and 'nextPageToken pagination' to the nextPageToken parameter, and clarifies the primary 'by contributorId' scope. It enriches the schema without being redundant, so a 4 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 clearly states a specific verb ('Lists') and a specific resource ('all Google Maps reviews authored by a specific Local Guide / contributor by contributorId'). It also lists the returned fields (rating, text, date, place name, etc.), making the tool's function unambiguous. It distinguishes from siblings like getMapReviews by emphasizing the contributor-scoped nature, which is not evident in other tool names.
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 gives explicit use cases ('reviewer reputation checks, detecting fake/bot review patterns, local-guide activity analysis, and building review-author profiles for trust scoring'), which clearly indicate when to use this tool. It does not explicitly name alternative tools or exclusion criteria, but the use cases are specific enough to guide an agent. This is better than the MID example but not as strong as naming a sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hasdata_google_maps_photos_getMapPhotosgoogle_maps_photos: GET /AInspect
Get Place Photos
Fetches the photo gallery of a Google Maps place by dataId or placeId, paginated with nextPageToken and filterable by categoryId (all, latest, menu, by owner, videos, street view). Returns each photo with image URL, thumbnail, upload date, uploader, and photoId. Use for restaurant-menu extraction, venue/ambience visual audits, building rich place detail pages, and sourcing up-to-date imagery for POI listings.
| Name | Required | Description | Default |
|---|---|---|---|
| hl | No | The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`. | |
| dataId | No | Google Maps data ID. Either dataId or placeId should be set. | |
| placeId | No | Unique reference to a place on Google Maps. Either dataId or placeId should be set. | |
| categoryId | No | Filters photos by category. | |
| nextPageToken | No | Token for fetching the next page of photos. |
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 explicitly mentions pagination via nextPageToken, filtering via categoryId (listing values like 'all, latest, menu, by owner, videos, street view'), and the return fields (image URL, thumbnail, upload date, uploader, photoId). This gives the agent a clear picture of what happens when called, though it does not cover rate limits, authentication, or error behavior.
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 compact and front-loaded: the title 'Get Place Photos' immediately states the action, followed by a single paragraph that packs all essential details without redundancy. Each sentence contributes new information—pagination, filtering, return fields, and use cases. No wasted words.
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 (5 parameters, no output schema, no annotations), the description covers the key aspects: purpose, parameters, pagination, filtering, and return data. It could be improved by mentioning edge cases (e.g., handling of no results, or interaction between dataId and placeId) but the core information an agent needs to call it correctly is present.
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 100%, so baseline is 3. The description adds meaningful semantics beyond the schema: it explains how dataId/placeId identify the place, what categoryId filters (with explicit values), and how nextPageToken drives pagination. It also clarifies the shape of the return object, which is not in the schema. This goes beyond simply restating parameter names.
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 clear verb-resource pairing: 'Fetches the photo gallery of a Google Maps place'. It specifies the two identifying parameters (dataId/placeId) and distinguishes itself from sibling tools (reviews, details, posts, search) by focusing solely on photos. The purpose is unambiguous and not a tautology.
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 gives concrete use cases ('restaurant-menu extraction, venue/ambience visual audits, building rich place detail pages, and sourcing up-to-date imagery for POI listings'), which clearly contextualize when to use this tool. However, it does not explicitly name alternative tools or state when not to use it, so it falls short of a 5 but is well above vague guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hasdata_google_maps_place_getPlaceDetailsgoogle_maps_place: GET /AInspect
Get Place Details
Fetches full Google Maps place data by placeId with optional domain/language localization. Returns name, address, coordinates, phone, website, categories, hours, rating, review count, price level, photos, popular times, attributes/amenities, plus_code, and map URL. Use for local SEO audits, POI enrichment, lead generation, competitor mapping, and building location-aware agents.
| Name | Required | Description | Default |
|---|---|---|---|
| hl | No | The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`. | |
| domain | No | Google domain to use. Default is google.com. Provide one exact documented value (195 allowed), e.g. `google.ac`, `google.ad`. | |
| placeId | Yes | A unique identifier for the place. This ID can be obtained from Google Maps search results. |
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. 'Fetches' implies a safe read operation, and the 17-field return list discloses what the agent gets. But it does not mention rate limits, auth requirements, error conditions, or pagination behavior — gaps for a no-annotation tool, though acceptable for a straightforward GET.
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?
Two dense sentences plus a use-case list, with the purpose front-loaded and the return payload enumerated compactly. The use-case list is slightly redundant with the resource description but earns its place as routing signal. No filler or repetition.
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?
Moderate complexity (3 params, 1 required) with no output schema, so the description rightly compensates by enumerating the full return fields. The placeId source is covered by the schema. Missing only edge details like limits or error handling, which are minor for a details-fetch tool.
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 100%, so the schema already documents all three parameters. The description adds only minimal meaning via 'optional domain/language localization,' which loosely maps to hl and domain. The schema itself already notes language-code and Google-domain constraints with allowed values, so the description adds little beyond baseline.
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 a specific verb (Fetches) and resource (full Google Maps place data by placeId), then enumerates the return fields explicitly. It clearly distinguishes itself from the sibling tools (search, reviews, photos, posts) by being the single place-details endpoint.
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?
Provides clear use cases (local SEO audits, POI enrichment, lead generation, competitor mapping, location-aware agents) and the 'by placeId' phrasing implies it should follow a search that yields an ID. However, it does not explicitly name alternatives or state when not to use it, leaving sibling differentiation to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hasdata_google_maps_posts_getMapPostsgoogle_maps_posts: GET /AInspect
Get Map Posts
Paginated fetch of Google Maps Posts (timeline-style updates such as offers, events, announcements, and notices) for a place by dataId or placeId, with language targeting and nextPageToken pagination. Returns per-post title, description, image, posted_at, link, and source/business name. Use for small-business intelligence, local-marketing monitoring, competitor activity tracking, and surfacing current promotions and events from local merchants.
| Name | Required | Description | Default |
|---|---|---|---|
| hl | No | The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`. | |
| dataId | No | Google Maps data ID. | |
| placeId | No | Unique reference to a place on a Google Map. Either dataId or placeId should be set. | |
| nextPageToken | No | Defines the next page token. It is used for retrieving the next page results. |
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 states it is a 'paginated fetch' and describes the returned data, implying a read-only operation, but it does not explicitly say it has no side effects or mention any prerequisites (e.g., needing one of dataId/placeId). The GET verb in the title helps, but the description itself is not explicit.
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, starting with the core purpose, then listing use cases. It is efficient and easy to parse, though it could be slightly more structured with parameter explanations.
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?
Moderate complexity with four optional parameters and no output schema. The description lists returned fields and mentions pagination, which covers most essentials. However, it lacks an explicit note that either dataId or placeId is required, and does not describe any rate limits or error conditions. Given the sibling context and schema coverage, it is sufficiently complete for basic 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 covers all four parameters with descriptions, so baseline is 3. The tool description adds context by mentioning 'language targeting' and 'nextPageToken pagination' and that it fetches by dataId or placeId, which helps clarify the parameter usage beyond the schema.
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 clearly states the tool fetches Google Maps Posts (timeline-style updates) for a place, distinct from sibling tools for reviews, photos, and place details. It specifies the resource and action precisely.
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?
Provides explicit use cases (small-business intelligence, local-marketing monitoring, etc.) and mentions the pagination and targeting options. However, it does not explicitly state when to use this tool over siblings, though the purpose differentiation is fairly obvious.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hasdata_google_maps_reviews_getMapReviewsgoogle_maps_reviews: GET /AInspect
Get Map Reviews
Paginated fetch of Google Maps reviews for a place by dataId or placeId, with sort (mostRelevant, newestFirst, ratingHigh, ratingLow), topicId filter, and language. Returns per-review author name and profile link, star rating, text, published/relative date, likes count, owner response, attached photos, and local-guide flag. Use for reputation management, sentiment and topic mining, competitor review benchmarking, and feeding review data into summarization or trust-score LLMs.
| Name | Required | Description | Default |
|---|---|---|---|
| hl | No | The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`. | |
| dataId | No | Google Maps data ID. | |
| sortBy | No | Parameter used for sorting and refining results. | |
| placeId | No | Unique reference to a place on a Google Map. Either dataId or placeId should be set. | |
| topicId | No | Defines the ID of the topic you want to use for filtering reviews. | |
| nextPageToken | No | Defines the next page token. It is used for retrieving the next page results. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are not provided, so the description must carry the full burden of behavioral disclosure. It mentions 'Paginated fetch', which implies pagination behavior, and lists the exact fields returned (author name, profile link, star rating, etc.). This is valuable transparency. However, it omits details such as rate limits, error handling, the requirement to supply either dataId or placeId (which is only in the schema), and behavior when no results are found. With no annotations, a 3 is fair—it provides some behavioral context but leaves gaps.
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 well-structured. It opens with a one-sentence summary, then a second sentence detailing the fetch parameters and returned data, and a final sentence on use cases. Every sentence adds value, with no redundancy or fluff. The key capabilities are front-loaded, making it easy for an agent to quickly grasp the tool's functionality.
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 there is no output schema, the description compensates by listing the exact fields returned per review, which is highly useful for an agent. It also covers the input parameters and use cases. However, it does not explicitly state the requirement to set either dataId or placeId, and pagination behavior is only implied by the word 'paginated' without explaining the nextPageToken. These gaps prevent a perfect score, but overall, the description is quite complete for a fetch tool.
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 schema has 100% coverage, with all six parameters having descriptions. The description adds minimal new meaning beyond the schema: it summarizes that sorting and filtering are possible and mentions language, but these are already in the schema. The description does not clarify parameter constraints further, such as the exact format of dataId or how nextPageToken is used. Since the schema already handles the semantics, a baseline 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 'Get Map Reviews' and then provides a detailed explanation: 'Paginated fetch of Google Maps reviews for a place by dataId or placeId, with sort...'. This clearly states the verb (fetch), the resource (Google Maps reviews), and the key distinguishing capabilities (pagination, sorting, filtering). It differentiates from sibling tools that handle photos, place details, posts, or search, leaving no ambiguity about the tool's purpose.
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 includes explicit use cases: 'Use for reputation management, sentiment and topic mining, competitor review benchmarking, and feeding review data into summarization or trust-score LLMs.' This provides clear context on when to use the tool. However, it does not explicitly state when not to use it or name alternative tools, relying on the sibling list for that. Since the context is clear but exclusions are absent, a score of 4 is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hasdata_google_maps_search_performMapSearchgoogle_maps_search: GET /AInspect
Get Google Maps Search Results
Runs a Google Maps search by keyword plus optional GPS coordinates (@lat,lng,zoomz via ll) with language, country, domain, and offset-based pagination (start). Returns the local pack list with placeId, name, address, coordinates, rating, review count, price level, categories, phone, website, hours, and thumbnail. Use for local lead generation, competitor density mapping, market expansion research, hyperlocal directories, and feeding placeIds into the Maps Place, Reviews, or Photos endpoints.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query term or phrase. | |
| gl | No | The two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`. | |
| hl | No | The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`. | |
| ll | No | GPS coordinates of the location where the search query is to be performed. This parameter is required if the 'start' parameter is present. The format for the `ll` parameter is `@` followed by latitude, longitude, and zoom level, separated by commas. The latitude and longitude should be in decimal degrees, and the zoom level is an integer. Example: `@40.7455096,-74.0083012,14z`. | |
| start | No | Specifies the result offset for pagination purposes. The offset dictates the number of rows to skip from the beginning of the results. This is useful for accessing subsequent pages of search results. For example, an offset of 0 (the default value) returns the first page of results, 20 returns the second page, 40 returns the third page, and so on. This parameter is especially relevant when used in conjunction with the 'll' parameter for location-based searches. | |
| domain | No | Google domain to use. Default is google.com. Provide one exact documented value (195 allowed), e.g. `google.ac`, `google.ad`. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses pagination via 'start' and the return format, but does not explicitly state that the operation is read-only or mention any rate limits, authentication, or error behavior. While a search is inherently non-destructive, the description could have added more explicit behavioral context.
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 front-loaded with a clear one-line summary followed by a concise explanation of parameters, return values, and use cases. It is efficient without irrelevant details, though slightly more verbose than strictly necessary.
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 read-only search tool with 6 parameters (only 1 required), no output schema, and no annotations, the description covers the essential aspects: action, return fields, parameter roles, and when to use it. It lacks explicit handling of edge cases or limitations, but is adequate for an agent to call it correctly.
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 100% with detailed descriptions for every parameter. The description adds light context by grouping parameters (e.g., 'optional GPS coordinates' and 'offset-based pagination') and clarifying the purpose of 'll' and 'start', but it does not significantly go beyond the schema. Thus the baseline of 3 applies.
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 'Get Google Maps Search Results' and 'Runs a Google Maps search by keyword', clearly stating the action and resource. It specifies the output (local pack list with defined fields) and implicitly distinguishes itself from sibling tools (reviews, photos, place details) since it is the search entry point.
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 lists explicit use cases ('local lead generation, competitor density mapping, market expansion research, hyperlocal directories') and mentions downstream tools ('feeding placeIds into the Maps Place, Reviews, or Photos endpoints'), which helps an agent decide when to use this tool. However, it does not explicitly state when NOT to use it or name alternatives directly, leaving a small gap.
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. Dates show when Glama detected each change.
6 tool updates
v1.0.0- First observed
hasdata_google_maps_contributor_reviews_getMapReviews - First observed
hasdata_google_maps_photos_getMapPhotos - First observed
hasdata_google_maps_place_getPlaceDetails - First observed
hasdata_google_maps_posts_getMapPosts - First observed
hasdata_google_maps_reviews_getMapReviews - First observed
hasdata_google_maps_search_performMapSearch
TDQS
Each tool targets a distinct data type: search for places, place details, reviews for a place, reviews by a contributor, photos, and posts. There is no ambiguity between them, even though search and place details both return place info — search is for discovery, place details is for a specific known place.
All tool names follow a consistent pattern: hasdata_google_maps_<resource>_get<Action> (or performMapSearch for search). The resource is always a clear noun (search, place, reviews, contributor_reviews, photos, posts), and the action verb is consistent (get) or explicit (performMapSearch). This is highly predictable.
Six tools is a well-scoped count for a Google Maps data extraction server. Each tool covers a distinct endpoint needed for local business intelligence, and none are redundant or trivial. This is within the ideal range and feels complete for the stated purpose.
The tool set covers the core lifecycle of Google Maps data: search for places, fetch details for a place, retrieve reviews (both for a place and by a contributor), get photos, and get posts/updates. This is a comprehensive read-only surface for building location-aware agents, lead generation, and reputation management, with no obvious gaps.
Maintenance
Related MCP Connectors
Live Google Maps business search, review, and photo data for AI agents over MCP.
- geoOAuthco.thinair
Geocoding, truck routing, traffic, weather, and place search via MCP — 11 hosted tools.
Search Google Maps businesses via MCP - name, address, phone, rating, hours, GPS.
11Google Maps MCP Pack — geocoding, places, directions, distance matrix, elevation.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.410MIT
- AlicenseAqualityDmaintenanceProvides access to Google Maps API functionality including places search, geocoding, directions, distance matrix, elevation data, and static map generation through the MCP interface.8191MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for Google Maps services including directions, geocoding, distance matrix, and places search.14Apache 2.0
- AlicenseBqualityFmaintenanceProvides comprehensive access to Google Maps Platform APIs through MCP, enabling geocoding, places search, routing, and geospatial operations.151592MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HasData/google-maps-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server