地图服务服务器

使用Kotlin开发的高德地图MCP服务器,提供IP定位、地理编码、天气查询等多种地图相关功能。

  • by JavaAIDev
  • Kotlin
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 JavaAIDev/amap-mcp-server

使用说明

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"
      }
    }
  }
}

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"
      ]
    }
  }
}