amap-mcp-server

JavaAIDev/amap-mcp-server

3.3

If you are the rightful owner of amap-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Amap MCP Server provides a suite of location-based services through a Model Context Protocol (MCP) server, leveraging Amap's comprehensive mapping and geolocation capabilities.

Tools
6
Resources
0
Prompts
0

Amap MCP Server (高德地图 MCP 服务器)

MCP Server for Amap

使用 Kotlin 开发的高德地图 MCP 服务器

Tools available

How to use

Go to releases page and download latest releases:

  • JAR file, requires Java 11 to run
  • Native executable files on Windows, macOS and Linux.

Or use the container image.

Amap API key is required. This key must be set as the environment variable AMAP_API_KEY.

Below is the config to start the server using java.

{
  "mcpServers": {
    "amap": {
      "command": "java",
      "args": [
        "-jar",
        "amap-mcp-server.jar"
      ],
      "env": {
        "AMAP_API_KEY": "YOUR_AMAP_API_KEY"
      }
    }
  }
}

It's better to use jbang to run a JAR file.

{
  "mcpServers": {
    "amap": {
      "command": "jbang",
      "args": [
        "https://github.com/JavaAIDev/amap-mcp-server/releases/download/v0.9.0/amap-mcp-server.jar"
      ],
      "env": {
        "AMAP_API_KEY": "YOUR_AMAP_API_KEY"
      }
    }
  }
}

The config below starts the server using a container image.

{
  "mcpServers": {
    "amap": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "AMAP_API_KEY=YOUR_AMAP_API_KEY",
        "ghcr.io/javaaidev/amap-mcp-server:0.9.0"
      ]
    }
  }
}