BirdWeather

v0.2.5
io.github.pfrederiksen/birdweather-mcp Checked 2 days ago Published 19 days ago

MCP server for BirdWeather station detections, species, and stats.

Values you need

VariableWhat it is
BIRDWEATHER_STATION_TOKENoptional secret Optional station REST API token (never logged).
BIRDWEATHER_CACHE_TTLoptional In-memory upstream cache TTL in seconds. Set 0 to disable. Default: 60
BIRDWEATHER_CACHE_MAX_ENTRIESoptional Max cached GraphQL/REST responses. Default: 256
BIRDWEATHER_CACHE_ENABLEDoptional Set false/0/no/off to disable caching; true/1/yes/on to force on. Default: enabled when TTL > 0.
BIRDWEATHER_MAX_RETRIESoptional Retries with exponential backoff on HTTP 429/5xx and timeouts (min effective 1). Default: 5
MCP_TRANSPORToptional Transport: stdio, streamable-http, or sse. Default: stdio
MCP_HOSToptional Bind host for HTTP transports. Inside Docker use 0.0.0.0 and restrict on the host. Default: 127.0.0.1
MCP_PORToptional Bind port for HTTP transports. Default: 8000
MCP_ALLOWED_HOSTSoptional Comma-separated Host header patterns for streamable-HTTP (e.g. nas.example.local:*). Unset = loopback only; * = any host.
MCP_AUTH_TOKENoptional secret Optional bearer token required for HTTP /mcp (not /health).

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add birdweather-mcp -- uvx birdweather-mcp==0.2.5
Add to claude_desktop_config.json
{
  "mcpServers": {
    "birdweather-mcp": {
      "args": [
        "birdweather-mcp==0.2.5"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "birdweather-mcp": {
      "args": [
        "birdweather-mcp==0.2.5"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "birdweather-mcp": {
      "args": [
        "birdweather-mcp==0.2.5"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.birdweather-mcp]
command = "uvx"
args = ["birdweather-mcp==0.2.5"]

Docker

Requires Docker

Run in a terminal
claude mcp add birdweather-mcp -- docker run -i --rm ghcr.io/pfrederiksen/birdweather-mcp:0.2.5
Add to claude_desktop_config.json
{
  "mcpServers": {
    "birdweather-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pfrederiksen/birdweather-mcp:0.2.5"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "birdweather-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pfrederiksen/birdweather-mcp:0.2.5"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "birdweather-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pfrederiksen/birdweather-mcp:0.2.5"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.birdweather-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/pfrederiksen/birdweather-mcp:0.2.5"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_station, station_counts, get_weather, recent_detections, top_species, species_list, daily_counts, species_info, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json