Overview
What is Amap Maps?
Amap Maps is a server that supports any MCP protocol client, allowing users to easily utilize the Amap Maps MCP server for various location-based services.
How to use Amap Maps?
To use Amap Maps, configure it in a compatible client like Cursor by copying your API key and setting up the server command as specified in the documentation.
Key features of Amap Maps?
- Supports multiple location services including geocoding, weather, and distance measurement.
- Provides APIs for various transportation modes including walking, driving, and public transit.
- Allows for detailed searches of points of interest (POIs) based on keywords or location.
Use cases of Amap Maps?
- Converting geographic coordinates to administrative addresses.
- Planning routes for cycling, walking, or driving.
- Searching for nearby points of interest based on user-defined criteria.
FAQ from Amap Maps?
- What types of location services does Amap Maps provide?
Amap Maps provides geocoding, weather information, distance measurement, and route planning for various transportation modes.
- Is there a limit to the number of requests I can make?
The usage limits depend on the API key and the specific service being used. Please refer to the Amap documentation for details.
- How do I obtain an API key?
You can obtain an API key by creating a project on the Amap developer platform.
Content
支持任意 MCP 协议的客户端(如:Cursor、Claude、Cline)可方便使用高德地图 MCP server。如下以 Cursor 平台为例
在 Cursor 中配置
建议使用最新版本的 Cursor 客户端
接入配置
{
"mcpServers": {
"amap-maps": {
"command": "npx",
"args": [
"-y",
"@amap/amap-maps-mcp-server"
],
"env": {
"AMAP_MAPS_API_KEY": "您在高德官网上申请的key"
}
}
}
}
Tools
maps_regeocode
将一个高德经纬度坐标转换为行政区划地址信息
maps_geo
将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标
maps_ip_location
IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置
maps_weather
根据城市名称或者标准adcode查询指定城市的天气
maps_search_detail
查询关键词搜或者周边搜获取到的POI ID的详细信息
maps_bicycling
骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划
maps_direction_walking
步行路径规划 API 可以根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据
maps_direction_driving
驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。
maps_direction_transit_integrated
公交路径规划 API 可以根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市
maps_distance
距离测量 API 可以测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量
maps_text_search
关键词搜,根据用户传入关键词,搜索出相关的POI
maps_around_search
周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI