Repository avatar
Other Tools
v0.2.2
active

birdingbuddy-mcp-stdio

io.github.korsakowii/birdingbuddy-mcp-stdio

Run the BirdingBuddy stdio bridge locally to access the public birding trip-planning service.

Documentation

BirdingBuddy MCP

Plan birding outings using recent eBird evidence. Recent reports describe where birds have been reported. They cannot predict a sighting.

This repository contains the open-source, MIT-licensed BirdingBuddy MCP Client. It includes a stdio bridge for MCP hosts and a synthetic offline demo. The closed-source BirdingBuddy Hosted Server provides the live tools and report generation as a separate service.

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.

https://mcp.birdingbuddy.app/mcp

Stdio-only hosts: use Python 3.13 or 3.14 and a current, patched uv. When the matching Client version is available on PyPI, set the host command to uvx with the arguments --from, birdingbuddy-mcp@0.2.2, and birdingbuddy-stdio in that order. The package also exposes the birdingbuddy-mcp command for tools that use the distribution name as the executable. Tool inputs sent through the live bridge are handled according to the BirdingBuddy privacy policy.

To install from a source checkout:

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:

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

Client and server compatibility

Client v0.2.2 adds standard Python distribution packaging for the same stdio bridge. Remote MCP continues to use the independent Hosted Server.

The Client and Hosted Server have independent versions. Client v0.2.1 documents the strict recent-target filter and optional time-zone credit in Hosted Server v0.3.1 and adds relay test coverage. Existing Client v0.2.0 installations can use these hosted features without upgrading.

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. The bridge uses the legacy handshake by default to give the hosted service more time to start. Set BIRDINGBUDDY_MCP_PROTOCOL=auto in the local stdio process environment to try modern MCP. The SDK gives modern discovery 10 seconds. The first auto connection to an idle hosted service can time out because the service may take about a minute to start. If that happens, wait about a minute and reconnect manually, or keep the legacy default. Auto mode uses the legacy handshake only after the upstream explicitly reports that discovery is unsupported or advertises a compatible legacy version.

The bridge can relay three planning templates: plan a birding trip, find a target species, and prepare a hotspot visit. Prompt discovery and rendering require the hosted service to advertise prompts and allow anonymous prompt access. Native prompt menus depend on the host.

With auto negotiation and a modern host that declares standard MCP Form support, the bridge can relay a destination selection when the hosted service offers one. A confirmed selection resumes the original request once. With a legacy connection or a host that does not support forms, clarify ambiguous places in conversation. Platform-specific forms and Tasks are outside this bridge's supported feature set.

Public tools

ToolPurpose
search_placesFind supported birding destinations.
resolve_targetsResolve bird names and target groups.
check_species_evidenceCheck recent evidence for target birds.
find_birding_opportunitiesRank 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." Supply an explicit trip date as YYYY-MM-DD, or omit it for today's date at the destination. Ask for a city or public landmark if no location was shared. 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.

Require a recent report of a target bird

On the hosted service, set require_recent_target to true with goal: "closest" and one entry in targets that resolves to a single unambiguous species. The default is false. The service keeps only public hotspots with a report of that species at the same hotspot in the requested recent window, then ranks the remaining spots by Closest. Strict mode does not support New/Seen or a maximum one-way driving time. If complete coverage yields no matches, the result is empty. If coverage is incomplete or unavailable, the service reports that it cannot verify the result.

Time-zone source credit

When the hosted report uses a coordinate lookup to determine the destination's time zone, its result includes a report-level timezone_boundary_notice crediting Timezone Boundary Builder and OpenStreetMap contributors under ODbL 1.0. The credit can appear with an explicit trip date or an empty result. The stdio bridge relays the optional notice and card resources. Whether a host displays them depends on the host.

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:

{"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 uses a fixed seven-day synthetic evidence window and defaults to the fixture date 2026-10-10 when the trip date is omitted. It validates explicit dates and returns at most one balanced recommendation. No recommendation is returned if the filter leaves no evidence. The demo rejects targets and require_recent_target and does not use geographic time-zone lookup.

The package also includes the species-name and identity validation library. See the synthetic taxonomy guide 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:

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. Live eBird data is not covered by that license; see third-party notices. Use CITATION.cff to cite the software. See Contributing and Security for feedback and vulnerability reporting.

PYPI
birdingbuddy-mcp
Install Command
pip install birdingbuddy-mcp
Runtime: uvx