BirdNet-Pi MCP Server

BirdNet-Pi MCP Server

By MCP-Mirror GitHub

Mirror of

birdnet mcp-server
Overview

what is BirdNet-Pi MCP Server?

BirdNet-Pi MCP Server is a Python-based Model Context Protocol (MCP) server designed for BirdNet-Pi integration, enabling users to retrieve and analyze bird detection data.

how to use BirdNet-Pi MCP Server?

To use the BirdNet-Pi MCP Server, clone the repository, set up a virtual environment, install the required dependencies, configure the server with environment variables, and run the server to access its API endpoints.

key features of BirdNet-Pi MCP Server?

  • Bird detection data retrieval with date and species filtering
  • Detection statistics and analysis
  • Access to audio recordings
  • Daily activity patterns tracking
  • Report generation capabilities

use cases of BirdNet-Pi MCP Server?

  1. Analyzing bird detection data over specific time periods.
  2. Generating reports on bird activity and detections.
  3. Accessing audio recordings of bird detections for further study.

FAQ from BirdNet-Pi MCP Server?

  • What are the system requirements for running the server?

The server requires Python 3.8+, FastAPI, Uvicorn, and other dependencies listed in requirements.txt.

  • How do I configure the server?

The server can be configured using environment variables for paths to detection files, audio directories, and report directories.

  • How can I access the server once it's running?

The server runs on http://localhost:8000, and you can access its API endpoints from there.

Content

BirdNet-Pi MCP Server

A Python-based Model Context Protocol (MCP) server for BirdNet-Pi integration.

Features

  • Bird detection data retrieval with date and species filtering
  • Detection statistics and analysis
  • Audio recording access
  • Daily activity patterns
  • Report generation

Requirements

  • Python 3.8+
  • FastAPI
  • Uvicorn
  • Other dependencies listed in requirements.txt

Installation

  1. Clone the repository:
git clone https://github.com/YourUsername/mcp-server.git
cd mcp-server
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up your data directories:
mkdir -p data/audio data/reports

Configuration

The server can be configured using environment variables:

  • BIRDNET_DETECTIONS_FILE: Path to detections JSON file (default: 'data/detections.json')
  • BIRDNET_AUDIO_DIR: Path to audio files directory (default: 'data/audio')
  • BIRDNET_REPORT_DIR: Path to reports directory (default: 'data/reports')

Running the Server

Start the server:

python server.py

The server will run on http://localhost:8000.

API Endpoints

  • /functions - List available functions (GET)
  • /invoke - Invoke a function (POST)

Available Functions

  1. getBirdDetections

    • Get bird detections filtered by date range and species
    • Parameters: startDate, endDate, species (optional)
  2. getDetectionStats

    • Get detection statistics for a time period
    • Parameters: period ('day', 'week', 'month', 'all'), minConfidence (optional)
  3. getAudioRecording

    • Get audio recording for a detection
    • Parameters: filename, format ('base64' or 'buffer')
  4. getDailyActivity

    • Get bird activity patterns for a specific day
    • Parameters: date, species (optional)
  5. generateDetectionReport

    • Generate a report of detections
    • Parameters: startDate, endDate, format ('html' or 'json')

Directory Structure

mcp-server/
├── birdnet/
│   ├── __init__.py
│   ├── config.py
│   ├── functions.py
│   └── utils.py
├── data/
│   ├── audio/
│   └── reports/
├── server.py
├── requirements.txt
└── README.md
No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details