urban-forestry-mcp
🌳 城市林业 Model Context Protocol (MCP) 服务器
一个用于城市林业、树木清单管理、树木冠层评估(TCA)指标、居民通信、工作订单和 GIS 边界分析的市政 Model Context Protocol (MCP) 服务器。
🚀 功能与数据集
树木站点(17,700+ 条记录): 按树种、状况(0–5)、街道、地址、风险或维护状态搜索公共树木存量。
树木活动(11,600+ 条记录): 完整的工作订单历史(周期修剪、移除、种植、检查)。
历史年度树木日志: 跟踪逐年 DBH 增长和状况变化(
Original_GlobalID <-> GlobalID)。主分类名册(731 个树种): 权威目录,涵盖成熟尺寸、生长速度、原生状态和街道树木批准。
树木冠层评估(TCA 2025): 全市范围内按选区、分区、小区、用地或公园划分的真实航拍冠层覆盖率百分比和英亩指标。
林业联系人及通信(只读): 居民请求、安全警告以及带有软地址匹配的完整交互日志。
林业任务: 实时工作分配和状态跟踪。
小区与地块: 针对开发项目和地块特定冠层数据的空间查询。
Related MCP server: arcgis-pittsburgh
🛠️ 15 个 MCP 工具
search_trees- 按树种、街道、地址、状况或风险搜索公共树木存量。get_tree_details- 完整的树木站点详情,包括活动、快照数量和软匹配联系人。get_tree_activities- 树木的按时间顺序的维护/检查历史。get_tree_history- 跟踪树木随时间变化的年度快照日志。search_trees_by_location- 在 英尺 半径或边界框内进行邻近搜索。get_tree_statistics- 跨树木清单的服务器端分组和聚合。get_activity_statistics- 跨工作订单的服务器端分组。get_urban_forest_health_report- 完整的健康、10-20-30 多样性、状况和风险报告。get_tree_canopy_metrics- 真实的 TCA 树木冠层覆盖率 % 和英亩指标。search_taxonomy_roster- 主 731 树种分类目录搜索。get_subdivision_profile- 小区树木存量和航拍冠层覆盖率概况。search_parcels- 按地块编号/地址搜索,包含地块冠层 % 和软树木匹配。search_forestry_contacts- 居民联系详情、种植请求和通信日志。search_forestry_tasks- 按受让人、状态、优先级或任务类型进行工作分配。get_recent_updates- 实时跟踪最近 N 天的编辑和新增内容。
🏃 本地快速启动
1. 安装依赖
pip install -r requirements.txt2. 验证工具
python test_tools.py3. 本地运行(stdio 模式,适用于 Antigravity / Claude Desktop)
python server.py --transport stdio4. 本地运行(SSE 模式,端口 8000,适用于 LibreChat / Web)
python server.py --transport sse --host 0.0.0.0 --port 8000🐳 Docker 部署(用于现场 / 云端托管)
# Build and start container in the background
docker-compose up -d --buildSSE 端点将可在 http://<your-server-ip>:8000/sse 使用。
📱 连接现场客户端(LibreChat / 移动端)
添加到你的 librechat.yaml:
mcpServers:
urban-forestry:
type: sse
url: http://<your-server-or-domain>:8000/sseTool 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
Built-environment forecasts, public benchmarks, and permit or zoning readiness through remote MCP.
36 MCP tools for projects, tasks, workers, QR/NFC tags, and AI remediation. Task. Scan. Done.
184 MCP tools for field-service CRM, scheduling and double-entry accounting. Hosted; BYO agent.
Hosted MCP servers for US federal data: 19 servers, 147 tools, one endpoint.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceUnified MCP server for ArcGIS Online and Enterprise providing tools for user/group management, item management, geoprocessing, feature layer queries/editing, and server administration.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching and querying City of Pittsburgh GIS open geospatial data (parcels, zoning, public works) through ArcGIS feature services via MCP tools.66 npmMIT
- FlicenseNot gradedqualityCmaintenanceProvides access to 141 operational workflows across 17 departments, an intelligent guide bot, real-time communities, document processing, and organizational state management through MCP tools.-
- FlicenseNot gradedqualityDmaintenanceEnables governed analytics and research on land development optionality, infrastructure proximity, and stewardship via MCP tools that provide transparent screening heuristics and reproducible evidence.-