
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

A Tianditu MCP server that provides geospatial interfaces for geocoding, reverse geocoding, and nearby POI search, with administrative and POI classification resources.
Tianditu MCP Server is cataloged as an MCP server attributed to bailaohe. A Tianditu MCP server that provides geospatial interfaces for geocoding, reverse geocoding, and nearby POI search, with administrative and POI classification resources. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Tianditu MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Coordinates use the gcj02ll format.
Administrative division codes use the Tianditu adcode mapping table, and Chinese string type parameters should follow Tianditu POI type standards.
README.md · 20910cc7b673 · 采集于 2026-11-13 12:04:02 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
天地图API现已全面兼容MCP协议,提供了一套符合MCP协议标准的地理信息服务接口。
天地图提供的MCP Server,包含6个符合MCP协议标准的API接口,涵盖地理编码、逆地理编码、周边检索、行政区内搜索、驾驶规划、公交规划等核心地图服务功能。
依赖MCP Python SDK,任意支持MCP协议的智能体助手(如Claude、Cursor以及千帆AppBuilder等)都可以快速接入。
描述: 将地址解析为对应的位置坐标,地址结构越完整,地址内容越准确,解析的坐标精度越高。
参数:
输出:
描述: 根据纬经度坐标, 获取对应位置的地址描述, 所在行政区划, 道路以及相关POI等信息
参数:
输出:
描述: 设置圆心和半径,检索圆形区域内的地点信息(常用于周边检索场景)。
参数:
输出:
描述: 中国行政区划编码,包括省市区。
描述: 数据分类编码表,包含餐馆、商店、医院等各类POI分类编码。
使用天地图MCP Server主要通过两种形式,分别是Python和Typescript,下面分别介绍。
在选择两种方法之前,你需要在天地图开放平台的控制台中创建一个服务端AK,通过AK你才能够调用天地图API能力。
获取方式请参考: https://console.tianditu.gov.cn/api/key
使用pip安装mcp-tianditu:
pip install mcp-tianditu
安装后,我们可以使用以下命令将其作为脚本运行:
python -m mcp_tianditu
在任意MCP客户端(如Claude.app)中添加如下配置,部分客户端下可能需要做一些格式化调整。
其中TIANDITU_API_KEY对应的值需要替换为你自己的AK。
{
"mcpServers": {
"tianditu-map": {
"command": "python",
"args": [
"-m",
"mcp_tianditu"
],
"env": {
"TIANDITU_API_KEY": "你的天地图API密钥"
}
}
}
}
如果使用uv配置,配置内容如下:
{
"mcpServers": {
"tianditu-map": {
"command": "uvx",
"args": [
"mcp-tianditu"
],
"env": {
"TIANDITU_API_KEY": "你的天地图API密钥"
}
}
}
}
接下来就可以进行提问,验证出行规划小助手的能力了。
请帮我查询北京市海淀区中关村的位置坐标
我现在在北京天安门(39.908823, 116.397470),请帮我找出5公里内的博物馆
请告诉我坐标(39.908823, 116.397470)对应的地址信息
请帮我查询北京市海淀区内的大学
请帮我规划从北京市海淀区中关村到北京市朝阳区国贸的驾车路线
请帮我规划从北京西站到北京站的公交路线
千帆平台接入,目前支持SDK接入或是API接入,通过AppBuilder构建一个应用,每个应用拥有一个独立的app_id,在python文件中调用对应的app_id,再调用天地图 Python MCP Tool即可。
模板代码可向下跳转,通过SDK Agent && 天地图MCP Server,拿到位置信息及周边POI信息,并给出出行建议。
前往千帆平台,新建一个应用,并发布。
将Agent的思考轮数调到6。发布应用。
此代码可以当作模板,以SDK的形式调用千帆平台上已经构建好且已发布的App,再将MCP Server下载至本地,将文件相对路径写入代码即可。
(注意:使用实际的app_id、token、query、mcp文件)
import os
import asyncio
import appbuilder
from appbuilder.core.console.appbuilder_client.async_event_handler import (
AsyncAppBuilderEventHandler,
)
from appbuilder.mcp_server.client import MCPClient
class MyEventHandler(AsyncAppBuilderEventHandler):
def __init__(self, mcp_client):
super().__init__()
self.mcp_client = mcp_client
def get_current_weather(self, location=None, unit="摄氏度"):
return "{} 的温度是 {} {}".format(location, 20, unit)
async def interrupt(self, run_context, run_response):
thought = run_context.current_thought
# 绿色打印
print("\033[1;31m", "-> Agent 中间思考: ", thought, "\033[0m")
tool_output = []
for tool_call in run_context.current_tool_calls:
tool_res = ""
if tool_call.function.name == "get_current_weather":
tool_res = self.get_current_weather(**tool_call.function.arguments)
else:
print(
"\033[1;32m",
"MCP工具名称: {}, MCP参数:{}\n".format(tool_call.function.name, tool_call.function.arguments),
"\033[0m",
)
mcp_server_result = await self.mcp_client.call_tool(
tool_call.function.name, tool_call.function.arguments
)
print("\033[1;33m", "MCP结果: {}\n\033[0m".format(mcp_server_result))
for i, content in enumerate(mcp_server_result.content):
if content.type == "text":
tool_res += mcp_server_result.content[i].text
tool_output.append(
{
"tool_call_id": tool_call.id,
"output": tool_res,
}
)
return tool_output
async def success(self, run_context, run_response):
print("\n\033[1;34m", "-> Agent 非流式回答: ", run_response.answer, "\033[0m")
async def agent_run(client, mcp_client, query):
tools = mcp_client.tools
conversation_id = await client.create_conversation()
with await client.run_with_handler(
conversation_id=conversation_id,
query=query,
tools=tools,
event_handler=MyEventHandler(mcp_client),
) as run:
await run.until_done()
### 用户Token
os.environ["APPBUILDER_TOKEN"] = ""
async def main():
appbuilder.logger.setLoglevel("DEBUG")
### 发布的应用ID
app_id = ""
appbuilder_client = appbuilder.AsyncAppBuilderClient(app_id)
mcp_client = MCPClient()
### 注意这里的路径为MCP Server文件在本地的相对路径
await mcp_client.connect_to_server("./<YOUR_FILE_PATH>/main.py")
print(mcp_client.tools)
await agent_run(
appbuilder_client,
mcp_client,
'请帮我查询北京市海淀区中关村的位置坐标',
)
await appbuilder_client.http_client.session.close()
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
经过Agent自己的思考,通过调用MCPServer 地理编码服务、逆地理编码服务、周边检索服务等多个tool,拿到位置信息及周边POI信息,并给出出行建议。
实际用户请求:"请帮我规划一次北京故宫一日游,并考虑周边的餐饮和交通。"
在天地图MCP Server中传入的部分参数规格:
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Tianditu MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp_tianditu)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.