tianditu-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
天地图 MCP Server
AI 霞客的地理能力底座:把天地图 5 类 HTTP API 包装成 6 个 MCP 标准工具,供 CloudBase Agent / 任意 MCP Host 调用。
工具清单
工具 | 功能 | 典型提问 |
| 地址 → 经纬度 | "西湖在哪里" |
| 经纬度 → 地址 | "我现在在哪" |
| 周边/普通/行政区/视野四合一搜索 | "附近有什么吃的" |
| 驾车/步行路线(距离/时长/引导) | "从这到那怎么走" |
| 行政区划(中心点/编码/下级) | "杭州有哪些区" |
| 复合:周边三类去处+距离一次返回 | "逛累了吃点啥" |
Related MCP server: Google Maps MCP Server
本地运行
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.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP for live place search, geocoding & turn-by-turn routes. No Maps API key to manage.
Geocode, reverse-geocode, autocomplete, route and search places.
Render static locator maps (area highlight, places, routes) and search places from AI assistants.
Unofficial 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.4MIT
- AlicenseBqualityDmaintenanceProvides comprehensive access to Google Maps Platform APIs through MCP, enabling geocoding, places search, routing, and geospatial operations.15115 npm3MIT
- AlicenseAqualityDmaintenanceIntegrates Chinese travel and map services into MCP-compatible clients, offering geocoding, POI search, and reverse geocoding via Amap API.4MIT
- AlicenseNot gradedqualityCmaintenanceProvides premium geocoding, places, and traffic-aware routing services from HERE Technologies, accessible via MCP gateway.62 npmMIT