AMap Map MCP Server
MCP Server for the AMap Map API.
Setup
API Key
Get a AMap Maps API key: https://lbs.amap.com/api/webservice/create-project-and-key.
NPX
环境变量
可配置的环境变量:
AMAP_MAPS_API_KEY
: 高德地图API密钥(必需)HTTP_API_TOKEN
: HTTP API访问令牌(可选)HTTP_API_PORT
: HTTP服务器端口号(可选,默认为3000)
Streamable-HTTP协议服务器
除了作为MCP服务器运行外,本项目还支持启动独立的streamable-http协议服务器:
直接启动
使用环境变量配置
使用示例
启动后,服务器将在 http://localhost:3000
运行,支持以下端点:
POST /mcp
- MCP协议通信端点- 支持streamable-http协议的实时数据流
如果设置了 HTTP_API_TOKEN
,请在请求头中添加:
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 客户端
接入配置
复制 key
https://lbs.amap.com/api/mcp-server/create-project-and-key
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables location-based services through AMap/AutoNavi Maps API including geocoding, weather information, route planning, and POI searches. Supports multiple transportation modes and provides detailed geographic data for Chinese locations.
Related MCP Servers
- -securityFlicense-qualityProvides IP geolocation services using IP-API.com without requiring an API key, enabling users to obtain detailed location and network information for any IP address in a clean, formatted output.Last updated -62TypeScript
- AsecurityAlicenseAqualityEnables LLMs to perform travel-related tasks by interacting with Google Maps and travel planning services including location search, place details, and travel time calculations.Last updated -588475JavaScriptMIT License
- AsecurityAlicenseAqualityProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.Last updated -46JavaScriptMIT License
- -securityFlicense-qualityAn MCP tool that integrates with Amap API services, allowing AI to access geographic information, weather data, and route planning.Last updated -6Python