Amap MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AMAP_KEY | Yes | Amap (高德地图) Web Service API key |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| amap_geocodeA | 地址 ↔ 经纬度互转。传入 address 将地址解析为经纬度;传入 location(lng,lat)做逆地理编码返回结构化地址。做任何路径规划前,先用此工具获取起点/终点的坐标。 |
| amap_direction_drivingA | 驾车路径规划。传入起点/终点(支持坐标或地址),返回最优路线——含总距离、预计时间、沿途步骤、过路费、红绿灯数。strategy: 0=速度优先, 1=费用优先, 2=距离优先, 3=躲避拥堵(不走快速路), 4=躲避拥堵&速度优先, 5=多策略对比。 |
| amap_direction_transitA | 公交/地铁路径规划。传入起点/终点和所在城市,返回公交换乘方案——含步行段、公交线路、地铁线路、换乘次数、总耗时、票价。 |
| amap_direction_walkingA | 步行路径规划。返回步行路线——总距离、预计时间、每一步指引。 |
| amap_direction_bicyclingA | 骑行路径规划。返回骑行路线——总距离、预计时间、沿途道路。 |
| amap_poi_searchB | POI(兴趣点)搜索。按关键词或类型搜索地点——餐厅、酒店、景点、加油站、停车场等。支持城市范围过滤。 |
| amap_poi_aroundA | 周边搜索。给定中心点和半径,搜索周边POI——找附近的餐厅、停车场、银行等。 |
| amap_distanceB | 距离测量。计算多个起点到一个终点的驾车距离和时间。用于比较不同出发点的可达性。 |
| amap_ip_locationA | IP 定位。获取当前网络出口的粗略位置(城市级别),用于快速确定「我在哪」。无需任何参数。 |
| amap_poi_rankingA | POI 评分榜单 —— 类似高德「扫街榜」。搜索指定区域/城市内某类POI,按评分/价格排序,返回Top N。找好餐厅、好酒吧、热门打卡地就用这个。 |
| amap_weatherA | 天气查询。查询指定城市的实时天气或未来预报。 |
| amap_poi_detailA | POI 详情查询。根据 POI ID 获取详细信息——评分、人均、营业时间、图片。配合搜索/扫街榜使用。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a distinct function: geocoding, four direction modes, distance, POI search/around/ranking/detail, IP location, and weather. The naming with amap_ plus domain makes each tool's purpose immediately identifiable, with no overlapping tools.
All tool names follow a consistent pattern: lowercase snake_case with the amap_ prefix. Direction tools use amap_direction_*, POI tools use amap_poi_*, and other utilities are simple nouns. This is predictable and easy to navigate.
12 tools is appropriate for a comprehensive map service, covering geocoding, routing, place search, and utilities without feeling bloated. Each tool serves a clear purpose.
The server covers core mapping workflows: geocoding, multi-modal directions, distance calculation, POI search and details, plus useful extras like weather and IP location. Missing advanced features like traffic conditions or static map rendering are minor gaps that don't hinder common use cases.