Skip to main content
Glama
urban-forestry-mcp

urban-forestry-mcp

🌳 Urban Forestry Model Context Protocol (MCP) Server

都市林、樹木台帳管理、Tree Canopy Assessment (TCA) メトリクス、住民対応、作業指示、GIS 境界解析のための自治体向け Model Context Protocol (MCP) サーバーです。


🚀 機能とデータセット

  • Tree Sites(17,700 件以上のレコード):種、状態(0–5)、通り、住所、危険度、または管理ステータスで公開樹木台帳を検索できます。

  • Tree Activities(11,600 件以上のレコード):定期剪定、伐採、植栽、点検などの全作業指示履歴を提供します。

  • Historical Annual Tree Log: 毎年のDBH(胸高直径)の成長や状態の変化(Original_GlobalID <-> GlobalID)を追跡します。

  • Master Taxonomy Roster(731 種): 成木のサイズ、成長速度、在来種ステータス、および街路樹の承認に関する正規のカタログです。

  • Tree Canopy Assessment (TCA 2025): 真の航空画-画撮影をとの分析に基づく樹冠被覆率とエクリア指標を市内全域(区、ゾーニング、区画、土地利用、公園別)で提供します。

  • Forestry Contacts & Communications(読み取り専用): 住民からの相談、安全警告、および住所のあいまい転置による完全な交流の履歴を提供します。

  • Forestry Tasks: リアルタイムの作業割り当てとステータス管理を行います。

  • Subdivisions & Parcels: 区画境界や発展地域に関する空間クエリを提供します。


Related MCP server: arcgis-pittsburgh

🛠️ 15 の MCP ツール

  1. search_trees — 種、通り、住所、状態、またはリスクに基づいて公開データ樹木を検索します。

  2. get_tree_details — 活動履歴・スナップショット数・緩い一致したコンタクトを含む、すべての木位置情報を取得します。

  3. get_tree_activities — 1 本の木に対する保守・消火履歴を時系列で提供します。

  4. get_tree_history — 毎年の樹木属性のスナップショット履歴を取得します。

  5. search_trees_by_location — 半径(FEET 単位)またはバウンディングボックス内の近隣検索を提供します。

  6. get_tree_statistics — 樹木台帳全体に対するサーバーサイドの集約・集計を行います。

  7. get_activity_statistics — 作業指示全体に対するサーバーサイドの集計を行います。

  8. get_urban_forest_health_report — 多様性、状態、リスクを含む包括的な都市林の健康レポートを生成します。

  9. get_tree_canopy_metrics — TCA(樹冠評価)による樹冠被率%とエーカー数値を、各区地域の単位で提供します。

  10. search_taxonomy_roster — 全 731 種が収められた分類標準カタログを検索します。

  11. get_subdivision_profile — 分譲地ごとの樹木の数量と青の樹冠の概要を表示します。

  12. search_parcels — 固定資産番号・住所による検索と、区画ごとの樹冠率や近隣樹木の一致検索を実行します。

  13. search_forestry_contacts — 居住者連絡先、植栽リクエスト、連絡履歴を検索します。

  14. search_forestry_tasks — 作業者、管理者、優先度、または作業種別で作業指示を検索します。

  15. get_recent_updates — 直近 N 日間の編縱や追加をリアルタイムで取得します。


🏃 ローカル クイック スタート

1. 必要なツールをインストール

pip install -r requirements.txt

2. ツールの動作確認

python test_tools.py

3. Antigravity / Claude Desktop 用にローカル(stdio モード)で実行

python server.py --transport stdio

4. LibreChat / Web 用にローカル(ポート 8000 の SSE モード)で実行

python server.py --transport sse --host 0.0.0.0 --port 8000

🐳 Docker デプロイ(フィールド / クラウドホスティング用)

# Build and start container in the background
docker-compose up -d --build

SSE エンドポイントは http://<your-server-ip>:8000/sse で利用できます。


📱 フィールドクライアント(LibreChat / モバイル)の接続

librechat.yaml に以下を追加します:

mcpServers:
  urban-forestry:
    type: sse
    url: http://<your-server-or-domain>:8000/sse

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Unified MCP server for ArcGIS Online and Enterprise providing tools for user/group management, item management, geoprocessing, feature layer queries/editing, and server administration.
      3
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables governed analytics and research on land development optionality, infrastructure proximity, and stewardship via MCP tools that provide transparent screening heuristics and reproducible evidence.
      -