Skip to content

Claude Code skill for AMap (高德地图) Web Service API

License

Notifications You must be signed in to change notification settings

kaichen/amap-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amap-skill

Claude Code skill for querying AMap (高德地图) Web Service API — geocoding, routing, weather, POI search, and more.

Skills

Skill Description
amap 通过脚本直连高德 Web Service API,支持地理编码、逆地理编码、IP 定位、天气查询、路径规划、距离测量和 POI 搜索

Supported Commands

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 搜索

Prerequisites

  • Bun runtime
  • AMap Web Service API Key — set via AMAP_MAPS_API_KEY environment variable

申请高德 API Key

  1. 访问 高德开放平台控制台 注册账号
  2. 注册后进入 应用管理,点击页面右上角 创建新应用
  3. 在「我的应用」中选择需要创建 Key 的应用,点击 添加 Key
  4. 表单中的「服务平台」选择 Web 服务
  5. 将获取到的 Key 设置为环境变量:
    export AMAP_MAPS_API_KEY="your-key-here"

Installation

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/amap

Or install as a plugin:

claude plugin add kaichen/amap-skill

Development

bun install
bun run test
bun run amap:help

License

MIT

About

Claude Code skill for AMap (高德地图) Web Service API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published