urban-forestry-mcp
Enables municipal tree inventory management, work order tracking, canopy analysis, and GIS boundary queries via 15 MCP tools.
README
🌳 Urban Forestry Model Context Protocol (MCP) Server
A municipal Model Context Protocol (MCP) server for urban forestry, tree inventory management, Tree Canopy Assessment (TCA) metrics, resident communications, work orders, and GIS boundary analysis.
🚀 Features & Datasets
- Tree Sites (17,700+ records): Search public tree stock by species, condition (0–5), street, address, risk, or maintenance status.
- Tree Activities (11,600+ records): Full work order history (cycle pruning, removals, planting, inspections).
- Historical Annual Tree Log: Track year-over-year DBH growth and condition changes (
Original_GlobalID <-> GlobalID). - Master Taxonomy Roster (731 species): Authoritative catalog for mature sizes, growth rate, native status, and street tree approvals.
- Tree Canopy Assessment (TCA 2025): True aerial canopy coverage percentage and acre metrics citywide, by Ward, Zoning, Subdivision, Land Use, or Park.
- Forestry Contacts & Communications (Read-Only): Resident requests, safety warnings, and full interaction logs with soft address matching.
- Forestry Tasks: Real-time work assignments and status tracking.
- Subdivisions & Parcels: Spatial queries for developments and parcel-specific canopy data.
🛠️ The 15 MCP Tools
search_trees- Search public tree stock by species, street, address, condition, or risk.get_tree_details- Complete tree site details with activities, snapshots count, and soft-matched contacts.get_tree_activities- Chronological maintenance/inspection history for a tree.get_tree_history- Annual snapshot logs tracking tree attributes over time.search_trees_by_location- Proximity search within a radius in FEET or bounding box.get_tree_statistics- Server-side grouping and aggregation across tree inventory.get_activity_statistics- Server-side grouping across work orders.get_urban_forest_health_report- Complete health, 10-20-30 diversity, condition, and risk report.get_tree_canopy_metrics- True TCA tree canopy coverage % and acre metrics.search_taxonomy_roster- Master 731-species taxonomy catalog search.get_subdivision_profile- Subdivision tree stock and aerial canopy coverage profile.search_parcels- Parcel number/address search with parcel canopy % and soft tree matching.search_forestry_contacts- Resident contact details, planting requests, and communication logs.search_forestry_tasks- Work assignments by assignee, status, priority, or task type.get_recent_updates- Real-time tracking of edits and additions in the last N days.
🏃 Local Quickstart
1. Install Requirements
pip install -r requirements.txt
2. Verify Tools
python test_tools.py
3. Run Locally (stdio mode for Antigravity / Claude Desktop)
python server.py --transport stdio
4. Run Locally (SSE mode on port 8000 for LibreChat / Web)
python server.py --transport sse --host 0.0.0.0 --port 8000
🐳 Docker Deployment (For Field / Cloud Hosting)
# Build and start container in the background
docker-compose up -d --build
The SSE endpoint will be available at http://<your-server-ip>:8000/sse.
📱 Connecting Field Clients (LibreChat / Mobile)
Add to your librechat.yaml:
mcpServers:
urban-forestry:
type: sse
url: http://<your-server-or-domain>:8000/sse
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。