tianditu-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tianditu-mcp从西湖到灵隐寺怎么走"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
天地图 MCP Server
AI 霞客的地理能力底座:把天地图 5 类 HTTP API 包装成 6 个 MCP 标准工具,供 CloudBase Agent / 任意 MCP Host 调用。
工具清单
工具 | 功能 | 典型提问 |
| 地址 → 经纬度 | "西湖在哪里" |
| 经纬度 → 地址 | "我现在在哪" |
| 周边/普通/行政区/视野四合一搜索 | "附近有什么吃的" |
| 驾车/步行路线(距离/时长/引导) | "从这到那怎么走" |
| 行政区划(中心点/编码/下级) | "杭州有哪些区" |
| 复合:周边三类去处+距离一次返回 | "逛累了吃点啥" |
Related MCP server: MCP Google Maps
本地运行
npm install
# stdio(IDE 调试)
TIANDITU_TK=你的密钥 npm run start:stdio
# HTTP(部署/Agent 挂载)
TIANDITU_TK=你的密钥 PORT=8788 npm start
# 健康检查
curl http://localhost:8788/healthz部署到 CloudBase 云托管
CloudBase 控制台 → 云托管 → 新建服务 → 上传本目录(或接 Git)
环境变量:
TIANDITU_TK=你的天地图密钥;监听端口 8788(或用默认 PORT 注入)部署后得到访问地址
https://<env>.service.tcloudbase.com/mcp(Streamable HTTP)AI+ → Agent → 工具/MCP → 添加 MCP Server → 填该地址 → 勾选 6 个工具
坐标系说明
天地图 CGCS2000 ≈ WGS84,与小程序 wx.getLocation 同坐标系,全程免纠偏。
配额
个人认证 Key:每接口 2 万次/日。内置:LRU+TTL 缓存、单飞合并、令牌桶限流(8 rps)、429 退避重试,实际调用量可压缩 50%+。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- geoOAuthco.thinair
Geocoding, truck routing, traffic, weather, and place search via MCP — 11 hosted tools.
HERE MCP — premium geocoding, places, and TRAFFIC-AWARE routing from HERE
Geocoding, reverse geocoding, and places search for LatLng.
Geoapify MCP — wraps the Geoapify Location Platform (geoapify.com)
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.46MIT
- AlicenseAqualityDmaintenanceProvides access to Google Maps API functionality including places search, geocoding, directions, distance matrix, elevation data, and static map generation through the MCP interface.8191MIT
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive geographic information services and route planning for AI agents via the Amap (Gaode Maps) API. It supports geocoding, multi-modal navigation, POI searches, and administrative region queries.3-
- AlicenseBqualityFmaintenanceProvides comprehensive access to Google Maps Platform APIs through MCP, enabling geocoding, places search, routing, and geospatial operations.151592MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xu-zi-ang/tianditu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server