Amap MCP Server

Python版本高德地图MCP Server

Local serverstdio

What is the Amap MCP server?

Python版本高德地图MCP Server. The amap mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.

What it actually does

该高德地图 MCP Server 发布在 PyPI

Its toolset

Everything the assistant can do here goes through one of these:

  • location — 经纬度坐标
  • address — 结构化地址
  • city — 城市名称或者adcode
  • origin — 起点经纬度坐标
  • destination — 终点经纬度坐标
  • origin_address — 起点地址(例如:"北京市朝阳区阜通东大街6号")
  • destination_address — 终点地址(例如:"北京市海淀区上地十街10号")
  • cityd — 终点城市
  • origin_city — 起点所在城市(跨城交通必需)
  • destination_city — 终点所在城市(跨城交通必需)
  • origins — 起点经纬度坐标
  • keywords — 搜索关键词

Configuration

You will need one environment variable: AMAP_MAPS_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

The server ships on PyPI as amap-mcp-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Amap's toolset — location, address, city and 11 more — is a fair guide to whether it matches your workflow.

This entry was verified against Amap's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Amap.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the amap mcp server does with a few real requests.

Available tools

ToolWhat it does
location经纬度坐标
address结构化地址
city城市名称或者adcode
origin起点经纬度坐标
destination终点经纬度坐标
origin_address起点地址(例如:"北京市朝阳区阜通东大街6号")
destination_address终点地址(例如:"北京市海淀区上地十街10号")
cityd终点城市
origin_city起点所在城市(跨城交通必需)
destination_city终点所在城市(跨城交通必需)
origins起点经纬度坐标
keywords搜索关键词
maps_regeocodeThe maps_regeocode tool exposed by this server.
maps_geoThe maps_geo tool exposed by this server.

How to install the Amap MCP server

{
    "mcpServers": {
        "amap-mcp-server": {
            "command": "uvx",
            "args": [
                "amap-mcp-server"
            ],
            "env": {
                "AMAP_MAPS_API_KEY": "your valid amap maps api key"
            }
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AMAP_MAPS_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Amap to location.
  • Use Amap to address.
  • Use Amap to city.

Frequently asked questions

It connects Amap to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (location, address, city, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Amap directly.