OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  google-maps-grounding-lite:轻量级 Google 地图数据校对工具

google-maps-grounding-lite:轻量级 Google 地图数据校对工具

 
  app ·  2026-02-17 13:01:58 · 3 次点击  · 0 条评论  

名称: grounding-lite
描述: 通过 mcporter 提供位置搜索、天气和路线查询的 Google Maps Grounding Lite MCP。
主页: https://developers.google.com/maps/ai/grounding-lite
元数据: {"clawdbot":{"emoji":"🗺️","requires":{"bins":["mcporter"],"env":["GOOGLE_MAPS_API_KEY"]},"primaryEnv":"GOOGLE_MAPS_API_KEY","install":[{"id":"node","kind":"node","package":"mcporter","bins":["mcporter"],"label":"安装 mcporter (npm)"}]}}


Grounding Lite

Google Maps Grounding Lite MCP 提供基于 AI 的地理位置数据服务。当前为实验性(预发布)版本,预览期间免费使用。

设置

  1. 启用 API:gcloud beta services enable mapstools.googleapis.com
  2. Cloud Console 获取 API 密钥
  3. 设置环境变量:export GOOGLE_MAPS_API_KEY="你的密钥"
  4. 配置 mcporter:
    bash mcporter config add grounding-lite \ --url https://mapstools.googleapis.com/mcp \ --header "X-Goog-Api-Key=$GOOGLE_MAPS_API_KEY" \ --system

工具

  • search_places:查找地点、商家、地址。返回包含 Google Maps 链接的 AI 摘要。
  • lookup_weather:获取当前天气状况和预报(48 小时逐时预报,7 天每日预报)。
  • compute_routes:计算行程距离和耗时(不提供逐向导航)。

命令示例

# 搜索地点
mcporter call grounding-lite.search_places textQuery="纽约时代广场附近的披萨店"

# 查询天气
mcporter call grounding-lite.lookup_weather location='{"address":"San Francisco, CA"}' unitsSystem=IMPERIAL

# 计算路线
mcporter call grounding-lite.compute_routes origin='{"address":"SF"}' destination='{"address":"LA"}' travelMode=DRIVE

# 列出工具
mcporter list grounding-lite --schema

参数说明

search_places
- textQuery(必需):搜索关键词
- locationBias:位置偏好
- languageCode:语言代码
- regionCode:地区代码

lookup_weather
- location(必需):地址/经纬度/地点 ID
- unitsSystem:单位制
- date:日期
- hour:小时

compute_routes
- origin:起点
- destination(必需):终点
- travelMode:出行模式(DRIVE/WALK)

注意事项

  • 速率限制:
  • search_places:100 次/分钟(1000 次/天)
  • lookup_weather:300 次/分钟
  • compute_routes:300 次/分钟
  • 在面向用户的输出中必须包含 Google Maps 链接(需注明来源)
  • 仅限用于不基于输入数据进行训练的模型
3 次点击  ∙  0 人收藏  
登录后收藏  
目前尚无回复
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor