BirdNet-Pi MCP サーバー
BirdNet-Pi 統合用の Python ベースのモデル コンテキスト プロトコル (MCP) サーバー。
特徴
日付と種のフィルタリングによる鳥類検出データの取得
検出統計と分析
音声録音アクセス
日常の活動パターン
レポート生成
要件
Python 3.8以上
ファストAPI
ウビコーン
requirements.txt
に記載されているその他の依存関係
インストール
リポジトリをクローンします。
仮想環境を作成してアクティブ化します。
依存関係をインストールします:
データ ディレクトリを設定します。
構成
サーバーは環境変数を使用して設定できます。
BIRDNET_DETECTIONS_FILE
: 検出JSONファイルへのパス(デフォルト: 'data/detections.json')BIRDNET_AUDIO_DIR
: オーディオファイルディレクトリへのパス(デフォルト: 'data/audio')BIRDNET_REPORT_DIR
: レポートディレクトリへのパス(デフォルト: 'data/reports')
サーバーの実行
サーバーを起動します。
サーバーはhttp://localhost:8000
で実行されます。
APIエンドポイント
/functions
- 利用可能な関数の一覧を表示する (GET)/invoke
- 関数を呼び出す (POST)
利用可能な機能
getBirdDetections
日付範囲と種でフィルタリングされた鳥の検出を取得します
パラメータ: startDate、endDate、species(オプション)
getDetectionStats
一定期間の検出統計を取得する
パラメータ: period ('day', 'week', 'month', 'all'), minConfidence (オプション)
getAudioRecording
検出のための音声録音を取得する
パラメータ: ファイル名、形式 ('base64' または 'buffer')
getDailyActivity
特定の日の鳥の活動パターンを取得する
パラメータ: 日付、種(オプション)
generateDetectionReport
検出レポートを生成する
パラメータ: startDate、endDate、format ('html' または 'json')
ディレクトリ構造
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
モデル コンテキスト プロトコルを介して鳥類検出データにアクセスして分析できる Python ベースのサーバー。検出のフィルタリング、音声録音へのアクセス、レポートの生成などの機能を提供します。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Python-based implementation of the Model Context Protocol that enables communication between a model context management server and client through a request-response architecture.Last updated -
- -securityFlicense-qualityA Model Context Protocol server that allows AI assistants to access bird observation data, hotspots, and taxonomy information from eBird.Last updated -51
- -securityFlicense-qualityA Python server implementing the Model Context Protocol that exposes tools for querying external APIs, compatible with Claude Desktop and ChatGPT Desktop.Last updated -
- -securityFlicense-qualityA Python-based Model Context Protocol server that integrates local AI models for managing data with features like CRUD operations, similarity search, and text analysis.Last updated -