BirdWeather
v0.2.5MCP server for BirdWeather station detections, species, and stats.
Values you need
| Variable | What it is | |
|---|---|---|
BIRDWEATHER_STATION_TOKEN | optional secret | Optional station REST API token (never logged). |
BIRDWEATHER_CACHE_TTL | optional | In-memory upstream cache TTL in seconds. Set 0 to disable. Default: 60 |
BIRDWEATHER_CACHE_MAX_ENTRIES | optional | Max cached GraphQL/REST responses. Default: 256 |
BIRDWEATHER_CACHE_ENABLED | optional | Set false/0/no/off to disable caching; true/1/yes/on to force on. Default: enabled when TTL > 0. |
BIRDWEATHER_MAX_RETRIES | optional | Retries with exponential backoff on HTTP 429/5xx and timeouts (min effective 1). Default: 5 |
MCP_TRANSPORT | optional | Transport: stdio, streamable-http, or sse. Default: stdio |
MCP_HOST | optional | Bind host for HTTP transports. Inside Docker use 0.0.0.0 and restrict on the host. Default: 127.0.0.1 |
MCP_PORT | optional | Bind port for HTTP transports. Default: 8000 |
MCP_ALLOWED_HOSTS | optional | Comma-separated Host header patterns for streamable-HTTP (e.g. nas.example.local:*). Unset = loopback only; * = any host. |
MCP_AUTH_TOKEN | optional 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.5Add 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.5Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_station, station_counts, get_weather, recent_detections, top_species, species_list, daily_counts, species_info, ….
- 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