drio
Open app

BirdNet-Pi MCP Server

Source

Local Model Context Protocol Server with BirdNet-Pi integration

Catalog onlyCatalog onlySTDIO

Overview

BirdNet-Pi MCP Server is a Python-based Model Context Protocol (MCP) server that integrates with BirdNet-Pi for bird species detection and data retrieval.

To use the BirdNet-Pi MCP Server, clone the repository, set up your environment, install dependencies, configure the server settings, and run the server locally. You can access various API endpoints to interact with bird detection and analysis.

  • Bird detection data retrieval with date and species filtering - Detection statistics and analysis - Audio recording access - Daily activity patterns - Report generation
  1. Monitoring bird activity in specific habitats.
  2. Collecting data on bird species diversity over time.
  3. Generating reports for research or conservation projects.

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": {
    "mcp-local-server-dmontgomery40": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-local-server-dmontgomery40"
      ]
    }
  }
}

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": {
    "mcp-local-server-dmontgomery40": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-local-server-dmontgomery40"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-local-server-dmontgomery40": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-local-server-dmontgomery40"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-local-server-dmontgomery40": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-local-server-dmontgomery40"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-local-server-dmontgomery40": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-local-server-dmontgomery40"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-local-server-dmontgomery40": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-local-server-dmontgomery40"
      ]
    }
  }
}

FAQ

What environment does BirdNet-Pi MCP Server require?

The server requires Python 3.8+ and several dependencies listed in the requirements.txt file.

How can I access the server's API?

Once the server is running, you can access the API at `http://localhost:8000` and use endpoints like `/functions` and `/invoke`.

Can I customize the detection files and directories?

Yes! You can customize the paths for the detection files and audio directories using environment variables.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":243,"uuid":"61e03f25-9bb6-4dcc-ad04-faccf315f170","name":"mcp-local-server","title":"BirdNet-Pi MCP Server","description":"Local Model Context Protocol Server with BirdNet-Pi integration","avatar_url":"https://avatars.githubusercontent.com/u/130489651?v=4","created_at":"2024-12-13T10:40:19.824Z","updated_at":"2024-12-13T12:28:11.287Z","status":"created","author_name":"DMontgomery40","author_avatar_url":"https://avatars.githubusercontent.com/u/130489651?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/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"}]]}]