使用天地图 MCP Server 需要什么?
需要先在天地图开放平台控制台创建服务端 AK,并在客户端配置中设置 `TIANDITU_API_KEY` 环境变量。

@bailaohe
Basic information
天地图MCP Server,包含3个符合MCP协议标准的API接口,涵盖地理编码、逆地理编码、周边检索等核心地图服务功能。
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tianditu-map": {
"command": "uvx",
"args": [
"mcp-tianditu"
],
"env": {
"TIANDITU_API_KEY": "你的天地图API密钥"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
天地图 MCP Server 是天地图 API 的 MCP 协议实现,提供地理编码、逆地理编码、周边检索三个核心地图服务接口。任何支持 MCP 协议的智能体助手(如 Claude、Cursor、千帆 AppBuilder)均可快速接入,适合需要地理信息查询与位置计算的开发者。
在天地图开放平台获取服务端 AK 后,通过 pip install mcp-tianditu 安装,然后在 MCP 客户端配置文件中添加 tianditu-map 工具,设置环境变量 TIANDITU_API_KEY。或使用 uvx mcp-tianditu 运行。具体配置格式参见 README 中的 JSON 片段。
tdt://admin-code)tdt://data-type)需要先在天地图开放平台控制台创建服务端 AK,并在客户端配置中设置 `TIANDITU_API_KEY` 环境变量。
所有经纬度坐标均采用国测局经纬度坐标 `gcj02ll`。
提供中国行政区划编码表 (`tdt://admin-code`) 和数据分类编码表 (`tdt://data-type`),包含省市区编码和各类 POI 分类编码。
兼容任意支持 MCP 协议的智能体助手,如 Claude、Cursor 以及千帆 AppBuilder 等。

Agent-native crypto ads: reach real crypto users from $0.05, paid in USDC via x402. No account.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Mail a real postal letter worldwide from a PDF or text. No account, pay per letter.

Model Context Protocol Servers

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Comments