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 请求:提交代码改进
接触
如果您有任何问题或建议,请随时联系我们:
📧 GitHub: CabLate
🤝合作:欢迎洽谈项目合作
📚 技术指导:诚挚欢迎建议和指导
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 Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) based search API server that provides standardized access to Google Maps, Google Flights, Google Hotels and other services. This server enables AI assistants to access various search services through a unified interface.Last updated -58MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.Last updated -241
- AsecurityFlicenseAqualityA Model Context Protocol server that provides an interface for AI models to interact with Google Docs, enabling reading, creating, updating, and searching Google Documents.Last updated -43
- AsecurityAlicenseAqualityA Model Context Protocol server that connects LLMs to GIS operations, enabling AI assistants to perform accurate geospatial analysis including geometric operations, coordinate transformations, and spatial measurements.Last updated -8359MIT License
Appeared in Searches
- A server for finding hotels and attractions with detailed descriptions and images
- Travel Planning Assistant for Routes, Hotels, Flights, Attractions, and Transportation
- A map server for developing interactive maps using deck.gl and leaflet
- A server for finding food reviews and restaurant recommendations on Dianping
- Google search engine