Google Maps MCP Server
Сервер Google Карт MCP
Сервер MCP для API Google Карт.
Инструменты
maps_geocodeПреобразовать адрес в координаты
Ввод:
address(строка)Возвращает: местоположение, formatted_address, place_id
maps_reverse_geocodeПреобразовать координаты в адрес
Входные данные:
latitude(число)longitude(число)
Возвращает: formatted_address, place_id, address_components
maps_search_placesПоиск мест с помощью текстового запроса
Входные данные:
query(строка)location(необязательно): { широта: число, долгота: число}radius(необязательно): число (метры, макс. 50000)
Возвращает: массив мест с названиями, адресами, местонахождениями.
maps_place_detailsПолучить подробную информацию о месте
Ввод:
place_id(строка)Возвращает: имя, адрес, контактная информация, рейтинги, отзывы, часы работы
maps_distance_matrixРассчитать расстояние и время между точками
Входные данные:
origins(строка[])destinations(строка[])mode(необязательно): «вождение» | «пешеходная прогулка» | «езда на велосипеде» | «транзит»
Возвраты: матрица расстояний и длительностей
maps_elevationПолучить данные о высоте для местоположений
Входные данные:
locations(массив {широта, долгота})Возвращает: данные о высоте для каждой точки
maps_directionsПолучить маршрут между точками
Входные данные:
origin(строка)destination(строка)mode(необязательно): «вождение» | «пешеходная прогулка» | «езда на велосипеде» | «транзит»
Возвращение: детали маршрута с указанием шагов, расстояния, продолжительности.
Related MCP server: mapbox-mcp-server
Настраивать
API-ключ
Получите ключ API Google Карт, следуя инструкциям здесь .
Использование с Claude Desktop
Добавьте следующее в ваш claude_desktop_config.json :
Докер
{
"mcpServers": {
"google-maps": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_MAPS_API_KEY",
"mcp/google-maps"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
}
}
}
}НПХ
{
"mcpServers": {
"google-maps": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-google-maps"],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Использование с VS Code
Для быстрой установки используйте одну из кнопок установки в один клик ниже...
Для ручной установки добавьте следующий блок JSON в файл настроек пользователя (JSON) в VS Code. Это можно сделать, нажав Ctrl + Shift + P и введя Preferences: Open User Settings (JSON) .
При желании вы можете добавить его в файл .vscode/mcp.json в вашем рабочем пространстве. Это позволит вам поделиться конфигурацией с другими.
Обратите внимание, что ключ
mcpне нужен в файле.vscode/mcp.json.
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "maps_api_key",
"description": "Google Maps API Key",
"password": true
}
],
"servers": {
"google-maps": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-google-maps"],
"env": {
"GOOGLE_MAPS_API_KEY": "${input:maps_api_key}"
}
}
}
}
}Для установки Docker:
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "maps_api_key",
"description": "Google Maps API Key",
"password": true
}
],
"servers": {
"google-maps": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/google-maps"],
"env": {
"GOOGLE_MAPS_API_KEY": "${input:maps_api_key}"
}
}
}
}
}Строить
Сборка Docker:
docker build -t mcp/google-maps -f src/google-maps/Dockerfile .Лицензия
Этот сервер MCP лицензирован по лицензии MIT. Это означает, что вы можете свободно использовать, изменять и распространять программное обеспечение в соответствии с условиями лицензии MIT. Для получения более подробной информации см. файл LICENSE в репозитории проекта.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceMCP server to interact with Google produts.Last updated491MIT
- AlicenseBqualityDmaintenanceMCP Server for the Mapbox API.Last updated512MIT
- Flicense-qualityDmaintenanceAn MCP server that provides access to Google's API Discovery Service, allowing agents to discover and interact with Google APIs through natural language commands.Last updated
- Flicense-qualityDmaintenanceAn MCP Server that enables interaction with Google's Service Usage API, allowing management and control of which Google Cloud Platform APIs and services are enabled for a project.Last updated
Related MCP Connectors
MCP server for Google search results via SERP API
Google Maps MCP Pack — geocoding, places, directions, distance matrix, elevation.
Geospatial MCP server for earthquake, tsunami, volcano, disaster, and FX data queries.
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/modelcontextprotocol/google-maps'
If you have feedback or need assistance with the MCP directory API, please join our Discord server