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
用法
命令行
与Dive Desktop集成
- 在 Dive Desktop 中点击“+ 添加 MCP 服务器”
- 复制并粘贴以下配置:
- 点击“保存”完成安装
可用工具
该服务器提供以下工具:
- search_nearby - 搜索特定位置附近的地点
- get_place_details - 获取特定地点的详细信息
- map_geocode - 将地址转换为坐标
- map_reverse_geocode - 将坐标转换为地址
- map_distance_matrix - 计算多个起点和终点之间的距离和时间
- map_directions - 获取两点之间的路线
- map_elevation - 获取特定位置的海拔数据
Google Maps API 设置
要使用此服务,您需要:
- 在Google Cloud Console中创建项目
- 启用 Google Maps API 服务
- 获取 API 密钥
- 设置
GOOGLE_MAPS_API_KEY
环境变量
技术栈
- TypeScript
- Node.js
- Google 地图服务 JS
- 模型上下文协议 SDK
执照
麻省理工学院
贡献
欢迎社区参与和贡献!您可以通过以下方式贡献:
- ⭐️ 如果您觉得有用,请为项目加星标
- 🐛 提交问题:报告错误或提供建议
- 🔧 创建 Pull 请求:提交代码改进
接触
如果您有任何问题或建议,请随时联系我们:
- 📧邮箱: reahtuoo310109@gmail.com
- 📧 GitHub: CabLate
- 🤝合作:欢迎洽谈项目合作
- 📚 技术指导:诚挚欢迎建议和指导
You must be authenticated.
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.
Tools
提供 Google Maps API 集成的模型上下文协议服务器,允许用户通过 LLM 处理功能搜索位置、获取地点详细信息、对地址进行地理编码、计算距离、获取方向和检索海拔数据。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.Last updated -17TypeScriptMIT License
- -securityFlicense-qualityA 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 -162TypeScript
- -securityAlicense-qualityA 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 -PythonMIT License
- -securityFlicense-qualityA 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 -1Python