MCP Google Map Server

Integrations

  • Requires Google Cloud Console for API setup and key generation to enable the Google Maps services.

  • Provides comprehensive Google Maps API integration with location search, place details, geocoding, distance calculation, directions, and elevation data retrieval capabilities.

  • Serves as the runtime environment for the MCP server, enabling server-side execution of the Google Maps integration.

MCP 谷歌地图服务器

强大的模型上下文协议 (MCP) 服务器提供全面的 Google Maps API 集成和 LLM 处理功能。

特征

Google 地图功能

  • 位置搜索
    • 使用可自定义的半径和过滤器搜索特定位置附近的地点
    • 获取详细地点信息,包括评级、营业时间和联系方式
  • 地理编码服务
    • 将地址转换为坐标(地理编码)
    • 将坐标转换为地址(反向地理编码)
  • 距离和方向
    • 计算多个出发地和目的地之间的距离和行程时间
    • 获取两点之间的详细路线,并逐步说明
    • 支持不同的出行方式(驾车、步行、骑自行车、公交)
  • 海拔数据
    • 检索特定位置的海拔数据

安装

通过 NPM

npm install -g @cablate/mcp-google-map

用法

命令行

mcp-google-map

Dive Desktop集成

  1. 在 Dive Desktop 中点击“+ 添加 MCP 服务器”
  2. 复制并粘贴以下配置:
{ "mcpServers": { "google-map": { "command": "npx", "args": ["-y", "@cablate/mcp-google-map"], "env": { "GOOGLE_MAPS_API_KEY": "your_api_key" }, "enabled": true } } }
  1. 点击“保存”完成安装

可用工具

该服务器提供以下工具:

  1. search_nearby - 搜索特定位置附近的地点
  2. get_place_details - 获取特定地点的详细信息
  3. map_geocode - 将地址转换为坐标
  4. map_reverse_geocode - 将坐标转换为地址
  5. map_distance_matrix - 计算多个起点和终点之间的距离和时间
  6. map_directions - 获取两点之间的路线
  7. map_elevation - 获取特定位置的海拔数据

Google Maps API 设置

要使用此服务,您需要:

  1. Google Cloud Console中创建项目
  2. 启用 Google Maps API 服务
  3. 获取 API 密钥
  4. 设置GOOGLE_MAPS_API_KEY环境变量

技术栈

  • TypeScript
  • Node.js
  • Google 地图服务 JS
  • 模型上下文协议 SDK

执照

麻省理工学院

贡献

欢迎社区参与和贡献!您可以通过以下方式贡献:

  • ⭐️ 如果您觉得有用,请为项目加星标
  • 🐛 提交问题:报告错误或提供建议
  • 🔧 创建 Pull 请求:提交代码改进

接触

如果您有任何问题或建议,请随时联系我们:

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

提供 Google Maps API 集成的模型上下文协议服务器,允许用户通过 LLM 处理功能搜索位置、获取地点详细信息、对地址进行地理编码、计算距离、获取方向和检索海拔数据。

  1. 特征
    1. Google 地图功能
  2. 安装
    1. 通过 NPM
  3. 用法
    1. 命令行
    2. 与Dive Desktop集成
  4. 可用工具
    1. Google Maps API 设置
      1. 技术栈
        1. 执照
          1. 贡献
            1. 接触

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.
                Last updated -
                1
                7
                TypeScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.
                Last updated -
                16
                2
                TypeScript
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides seamless integration with Google Workspace, allowing operations with Google Drive, Docs, and Sheets through secure OAuth2 authentication.
                Last updated -
                Python
                MIT License
                • Linux
                • Apple
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables LLMs to perform Google searches via the Serper API, allowing models to retrieve current information from the web.
                Last updated -
                1
                Python

              View all related MCP servers

              ID: zklgabgp2q