I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-local-serveur
Serveur de protocole de contexte de modèle local avec intégration BirdNet-Pi
3 years
Works with Finder
1
Github Watches
1
Github Forks
3
Github Stars
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
- Clone the repository:
git clone https://github.com/YourUsername/mcp-server.git
cd mcp-server
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- 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
-
getBirdDetections
- Get bird detections filtered by date range and species
- Parameters: startDate, endDate, species (optional)
-
getDetectionStats
- Get detection statistics for a time period
- Parameters: period ('day', 'week', 'month', 'all'), minConfidence (optional)
-
getAudioRecording
- Get audio recording for a detection
- Parameters: filename, format ('base64' or 'buffer')
-
getDailyActivity
- Get bird activity patterns for a specific day
- Parameters: date, species (optional)
-
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
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Reviews

user_hUF77VSh
The Test product from github.com is an exceptional tool that has significantly improved my workflow. Its seamless integration and user-friendly interface make it a go-to application for anyone needing a reliable server solution. Highly recommended! Check it out here: https://mcp.so/server/test/github.com.