Overview
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.
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.
- Bird detection data retrieval with date and species filtering - Detection statistics and analysis - Access to audio recordings - Daily activity patterns tracking - Report generation capabilities
- Analyzing bird detection data over specific time periods.
- Generating reports on bird activity and detections.
- Accessing audio recordings of bird detections for further study.
Add to your AI client
Use these steps to connect BirdNet-Pi MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"dmontgomery40-mcp-local-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dmontgomery40-mcp-local-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"dmontgomery40-mcp-local-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dmontgomery40-mcp-local-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"dmontgomery40-mcp-local-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dmontgomery40-mcp-local-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"dmontgomery40-mcp-local-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dmontgomery40-mcp-local-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dmontgomery40-mcp-local-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dmontgomery40-mcp-local-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"dmontgomery40-mcp-local-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-dmontgomery40-mcp-local-server-mcp-mirror"
]
}
}
}FAQ
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.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":739,"uuid":"95c51ed6-8f21-49ae-8dbe-839b075e2820","name":"DMontgomery40_mcp-local-server","title":"BirdNet-Pi MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:28:26.575Z","updated_at":"2025-02-23T07:18:49.836Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"birdnet,mcp-server,python-server","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/DMontgomery40_mcp-local-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]