高德地图 MCP Server logo

高德地图 MCP Server

Community
sugarforever

高德地图MCP Server,支持stdio, sse和streamable-http

Publishersugarforever
Repositoryamap-mcp-server
LanguagePython
Forks
21
Stars
129
Available tools
0
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    高德地图 MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    129 stars and 21 forks from the linked repository.

MseeP.ai Security Assessment Badge

高德地图 MCP Server

该高德地图 MCP Server 发布在 PyPI。

MCP 工具列表

本服务提供以下工具:

地理编码工具

maps_regeocode

将一个高德经纬度坐标转换为行政区划地址信息

参数:

  • location: 经纬度坐标

maps_geo

将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标

参数:

  • address: 结构化地址
  • city (可选): 指定查询的城市

位置服务工具

maps_ip_location

IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置

参数:

  • ip: IP地址

maps_weather

根据城市名称或者标准adcode查询指定城市的天气

参数:

  • city: 城市名称或者adcode

路线规划工具

骑行路线

maps_bicycling_by_coordinates

骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划

参数:

  • origin: 起点经纬度坐标
  • destination: 终点经纬度坐标
maps_bicycling_by_address

骑行路径规划(地址版),使用地址进行骑行路线规划,推荐优先使用此工具

参数:

  • origin_address: 起点地址(例如:"北京市朝阳区阜通东大街6号")
  • destination_address: 终点地址(例如:"北京市海淀区上地十街10号")
  • origin_city (可选): 起点所在城市,用于提高地理编码准确性
  • destination_city (可选): 终点所在城市,用于提高地理编码准确性

步行路线

maps_direction_walking_by_coordinates

步行路径规划 API 可以根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据

参数:

  • origin: 起点经纬度坐标
  • destination: 终点经纬度坐标
maps_direction_walking_by_address

步行路径规划(地址版),使用地址进行步行路线规划,推荐优先使用此工具

参数:

  • origin_address: 起点地址(例如:"北京市朝阳区阜通东大街6号")
  • destination_address: 终点地址(例如:"北京市海淀区上地十街10号")
  • origin_city (可选): 起点所在城市,用于提高地理编码准确性
  • destination_city (可选): 终点所在城市,用于提高地理编码准确性

驾车路线

maps_direction_driving_by_coordinates

驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据

参数:

  • origin: 起点经纬度坐标
  • destination: 终点经纬度坐标
maps_direction_driving_by_address

驾车路径规划(地址版),使用地址进行驾车路线规划,推荐优先使用此工具

参数:

  • origin_address: 起点地址(例如:"北京市朝阳区阜通东大街6号")
  • destination_address: 终点地址(例如:"北京市海淀区上地十街10号")
  • origin_city (可选): 起点所在城市,用于提高地理编码准确性
  • destination_city (可选): 终点所在城市,用于提高地理编码准确性

公共交通路线

maps_direction_transit_integrated_by_coordinates

根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市

参数:

  • origin: 起点经纬度坐标
  • destination: 终点经纬度坐标
  • city: 起点城市
  • cityd: 终点城市
maps_direction_transit_integrated_by_address

公共交通路径规划(地址版),使用地址进行公共交通路线规划,推荐优先使用此工具

参数:

  • origin_address: 起点地址(例如:"北京市朝阳区阜通东大街6号")
  • destination_address: 终点地址(例如:"北京市海淀区上地十街10号")
  • origin_city: 起点所在城市(跨城交通必需)
  • destination_city: 终点所在城市(跨城交通必需)

距离测量工具

maps_distance

测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量

参数:

  • origins: 起点经纬度坐标
  • destination: 终点经纬度坐标
  • type (可选,默认为"1"): 测量类型

POI搜索工具

maps_text_search

关键词搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息

参数:

  • keywords: 搜索关键词
  • city (可选): 查询城市
  • citylimit (可选,默认为"false"): 是否限制城市范围内搜索

maps_around_search

周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI

参数:

  • location: 中心点经纬度坐标
  • radius (可选,默认为"1000"): 搜索半径
  • keywords (可选): 搜索关键词

maps_search_detail

查询关键词搜或者周边搜获取到的POI ID的详细信息

参数:

  • id: POI ID

配置方法

要使用此服务,您需要在应用中添加以下MCP配置。服务支持三种传输方式:stdio(默认)、sse 和 streamable-http。

stdio 传输(默认)

直接在客户端配置如下MCP Server即可。

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

SSE 传输

SSE传输支持实时数据推送,适合远程部署MCP Server。

本地以SSE运行 amap-mcp-server:

bash
$ export AMAP_MAPS_API_KEY=你的有效API Key
$ uvx amap-mcp-server sse

INFO:     Started server process [50125]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

MCP客户端配置:

json
{
    "mcpServers": {
        "amap-mcp-server": {
            "url": "http://0.0.0.0:8000/sse"
        }
    }
}

Streamable HTTP 传输

本地以Streamable HTTP运行 amap-mcp-server:

bash
$ export AMAP_MAPS_API_KEY=你的有效API Key
$ uvx amap-mcp-server streamable-http

INFO:     Started server process [50227]
INFO:     Waiting for application startup.
StreamableHTTP session manager started
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

MCP客户端配置:

json
{
    "mcpServers": {
        "amap-mcp-server": {
            "url": "http://localhost:8000/mcp"
        }
    }
}

您可以在高德开放平台注册并获取API密钥。

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "sugarforever-amap-mcp-server": {
      "command": "uvx",
      "args": [
        "amap-mcp-server"
      ]
    }
  }
}

Use 高德地图 MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once 高德地图 MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add 高德地图 MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the 高德地图 MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "sugarforever-amap-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "amap-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the 高德地图 MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the 高德地图 MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use 高德地图 MCP Server to help me with this task?
高德地图 MCP Server
Sure. I read it.
Here is what I found using 高德地图 MCP Server.

Option 2: Add an MCP server URL

Use this when 高德地图 MCP Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for 高德地图 MCP Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the 高德地图 MCP Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the 高德地图 MCP Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the 高德地图 MCP Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use 高德地图 MCP Server to help me with this task?
高德地图 MCP Server
Sure. I read it.
Here is what I found using 高德地图 MCP Server.

Frequently asked questions

What is the 高德地图 MCP Server MCP server used for?

高德地图 MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use 高德地图 MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use 高德地图 MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use 高德地图 MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With 高德地图 MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect 高德地图 MCP Server MCP to TypingMind?

高德地图 MCP Server can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does 高德地图 MCP Server MCP provide in TypingMind?

高德地图 MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use 高德地图 MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If 高德地图 MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇