Skip to main content
Glama
BirdingBuddy MCP

BirdingBuddy MCP

by korsakowii
README.md
# BirdingBuddy MCP

Plan birding outings using recent eBird evidence through the hosted
[BirdingBuddy](https://birdingbuddy.app/) service. Recent reports describe
reported presence; they do not predict a sighting.

## Quick start

**Remote MCP (recommended):** add this Streamable HTTP endpoint to a
compatible MCP host. No sign-in is required for the four public tools.

```text
https://birdingbuddy.onrender.com/mcp
```

**Stdio-only hosts:** install Python 3.13 or 3.14 and uv, then run:

```sh
git clone https://github.com/korsakowii/birdingbuddy-mcp.git
cd birdingbuddy-mcp
uv sync --locked --no-editable
```

Use the absolute path to the installed command in your host configuration.
For example, on macOS or Linux:

```json
{
  "mcpServers": {
    "birdingbuddy": {
      "command": "/absolute/path/to/birdingbuddy-mcp/.venv/bin/birdingbuddy-stdio"
    }
  }
}
```

Both connection methods use the same hosted service and require internet
access. The stdio bridge relays the public tool schemas, results and card
resources; card rendering depends on the host.

## Public tools

| Tool | Purpose |
| --- | --- |
| `search_places` | Find supported birding destinations. |
| `resolve_targets` | Resolve bird names and target groups. |
| `check_species_evidence` | Check recent evidence for target birds. |
| `find_birding_opportunities` | Rank hotspots using recent evidence and planning preferences. |

Try: "Where should I go birding in East Bay today? Give me one
recommendation using reports from the last seven days." Use dates in
`YYYY-MM-DD` format. For species evidence, try American Coot in East Bay.

`find_birding_opportunities` accepts a request-scoped `life_list` and
`life_list_filter`: `all` (default), `new_only`, or `seen_only`.
The last two require a nonempty list. The bridge forwards the list for that
call without saving it. Consult the hosted tool schemas for supported inputs.

## Offline demo

To try the synthetic demo, use the same stdio configuration with
`birdingbuddy-stdio-demo` as the executable instead. It starts a local
loopback gateway and uses invented taxonomy and evidence for Lantern Marsh.
No account or API key is needed. Call `find_birding_opportunities` with:

```json
{"destination":"Lantern Marsh","requested_date":"2026-10-10","life_list":["Amber Lanternbird"],"life_list_filter":"new_only"}
```

The demo returns Moss Lanternbird as `New for you`. With `seen_only`, it
returns Amber Lanternbird instead. Without a Life List, both birds appear.
The demo validates dates, uses a fixed seven-day synthetic evidence window
and returns at most one balanced recommendation. No recommendation is
returned if the filter leaves no evidence. Unsupported inputs such as
`targets` are rejected.

The package also includes the species-name and identity validation library.
See the [synthetic taxonomy guide](birdingbuddy_public/taxonomy/README.md)
for configuring `BIRDINGBUDDY_TAXONOMY_DIR` before importing it.

## Tests and limitations

After the initial dependency installation from PyPI, the demo and tests
can run without external network access:

```sh
uv run --offline --locked --no-editable python -m pytest -q
```

For live connections, shared rate and concurrency limits apply. For HTTP
429, follow any supplied wait time before retrying manually. HTTP 403 can
come from the service or an intermediary; check host error details, stderr
and network or proxy settings if startup fails.

## License, citation and support

The source is [MIT licensed](LICENSE). Live eBird data is not covered by
that license; see [third-party notices](THIRD_PARTY_NOTICES.md).
Use [CITATION.cff](CITATION.cff) to cite the software.
See [Contributing](CONTRIBUTING.md) and [Security](SECURITY.md) for feedback
and vulnerability reporting.