Claude Code skill for querying AMap (高德地图) Web Service API — geocoding, routing, weather, POI search, and more.
| Skill | Description |
|---|---|
| amap | 通过脚本直连高德 Web Service API,支持地理编码、逆地理编码、IP 定位、天气查询、路径规划、距离测量和 POI 搜索 |
| Command | Description |
|---|---|
geocode |
地理编码(地址 → 坐标) |
reverse-geocode |
逆地理编码(坐标 → 地址) |
ip-location |
IP 定位 |
weather |
天气查询 |
bike-route-coords / bike-route-address |
骑行路径规划 |
walk-route-coords / walk-route-address |
步行路径规划 |
drive-route-coords / drive-route-address |
驾车路径规划 |
transit-route-coords / transit-route-address |
公交路径规划 |
distance |
距离测量 |
poi-text / poi-around / poi-detail |
POI 搜索 |
- Bun runtime
- AMap Web Service API Key — set via
AMAP_MAPS_API_KEYenvironment variable
- 访问 高德开放平台控制台 注册账号
- 注册后进入 应用管理,点击页面右上角 创建新应用
- 在「我的应用」中选择需要创建 Key 的应用,点击 添加 Key
- 表单中的「服务平台」选择 Web 服务
- 将获取到的 Key 设置为环境变量:
export AMAP_MAPS_API_KEY="your-key-here"
Copy skills/amap/ into your Claude Code skills directory:
# Project-level
cp -r skills/amap .claude/skills/amap
# Or user-level
cp -r skills/amap ~/.claude/skills/amapOr install as a plugin:
claude plugin add kaichen/amap-skillbun install
bun run test
bun run amap:helpMIT