io.github.cyanheads/brapi-mcp-server

io.github.cyanheads/brapi-mcp-server · v0.13.0 · ai-and-media

io.github.cyanheads/brapi-mcp-server is healthy: it completed an MCP handshake in 1179 ms and exposes 23 tools.

Collaborative BrAPI v2.1 MCP workspace: studies, germplasm, genotypes across Breedbase, T3, more.

Endpoint: https://brapi.caseyjhand.com/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count23
Latency1179 ms
Last checked (UTC)2026-12-01T00:25:19.868Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T00:25:19.868ZHealthy1179
2026-11-28T14:35:11.802ZHealthy924
2026-11-26T06:35:34.684ZHealthy2894
2026-11-24T00:20:54.746ZHealthy2352
2026-11-21T20:05:27.606ZHealthy877
2026-11-19T17:15:12.743ZHealthy2749
2026-11-17T15:30:32.988ZHealthy526
2026-11-15T15:20:41.865ZHealthy1916
2026-11-13T16:25:58.983ZHealthy2079
2026-11-11T18:30:32.077ZHealthy1472
2026-11-09T21:35:37.872ZHealthy761
2026-11-08T02:10:22.548ZHealthy307
2026-11-06T07:50:53.697ZHealthy2041
2026-11-04T14:15:31.951ZHealthy3675
2026-11-02T21:35:35.942ZHealthy3854
2026-11-01T06:05:21.784ZHealthy1083
2026-10-30T15:31:16.770ZHealthy1002
2026-10-29T01:35:21.700ZHealthy1802
2026-10-27T12:05:23.430ZHealthy2259
2026-10-26T00:05:10.664ZHealthy1673

Tools (23)

brapi_connectOpen a connection to a BrAPI v2 server, authenticate, and return the full orientation envelope (server identity, capability profile, content summary, suggested next tools). Other BrAPI tools connect an alias the server has a URL configured for (a built-in or operator-configured alias, or `default` o
brapi_build_phenotype_matrixPull observations across one or more studies and pivot them into a germplasm × trait matrix materialized as a canvas dataframe. Returns a dataframe handle (read it with brapi_dataframe_describe and brapi_dataframe_query) plus a summary of dimensions and aggregate method. Long-form output is suitable
brapi_server_infoReturn the full orientation envelope for a BrAPI connection — server identity, capabilities, content counts, suggested finders, and notes. Pass forceRefresh to refetch the cached capability scan; pass an alias to read a non-default connection.
brapi_describe_filtersList the valid filter names for a BrAPI endpoint (studies, germplasm, observations, variables, images, variants, locations) — companion lookup for the `extraFilters` passthrough on any `find_*` tool. Entries reflect the BrAPI v2.1 spec; individual servers may implement subsets.
brapi_federated_findFind studies, germplasm, or observations across BrAPI connection aliases. Reuses each finder’s filters, dialect handling, and read limits. Rows retain their source alias and DbId. Only an unambiguous exact germplasm PUI can group records across aliases. Returns per-alias coverage and stages the merg
brapi_find_studiesLocate studies matching crop, trial type, season, location, program, or recorded observation variable. Enriches results with program/trial/location context in one call. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched se
brapi_get_studyFetch a single study by DbId with its program, trial, and location records resolved where those lookups succeed. Response includes cheap observation/observation-unit/variable counts as drill-down signals.
brapi_find_germplasmFind germplasm by name, synonym, accession number, PUI, crop, study, trial, program, or free-text query. Matches across registered synonyms. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataf
brapi_get_germplasmFetch a single germplasm by DbId with attributes and direct parents. Response companions report study count, direct parent count, and direct descendant count — signals for pedigree depth and observation coverage.
brapi_walk_pedigreeWalk germplasm ancestry or descendancy as a deduplicated DAG with cycle detection and depth limits. leafCount counts graph terminals, confirmedLeafCount counts successfully verified leaves, and frontier records unresolved directions. Nodes and edges each fit loadLimit and a 24,000-byte preview budge
brapi_germplasm_performanceAggregate a single germplasm's observations across studies, returning per-variable statistics (n, mean, median, sd, min, max), contributing studies, seasons, and collection coverage. SGN/Breedbase uses advertised germplasm-scoped observation units with embedded measurements, including zeros. Other s
brapi_find_variablesFind observation variables (traits) by name, trait class, ontology term, or free-text query. Free-text queries are ranked against every fetched row by PUI, name, synonym, and trait text; every match leads results[] with its textMatchRank, and a candidate carries the ontology PUI of its row as termId
brapi_find_observationsPull observation records filtered by study, germplasm, variable, season, or observation unit. SGN/Breedbase uses advertised embedded units for study or germplasm scopes. Other GET observation queries without a study, trial, observation unit, or observation anchor run a one-row count probe and skip t
brapi_find_imagesFilter images by observation unit, observation, study, descriptive ontology term, file name, or MIME type. Named mimeTypes are verified case-insensitively on each scanned row. Returns metadata only — use brapi_get_image to fetch bytes inline. results[] holds the leading matches up to loadLimit and a
brapi_get_imageFetch image bytes for up to 5 imageDbIds and return them inline as `type: image` content blocks. Falls back to the metadata `imageURL` when the server lacks dedicated image-content delivery or that request fails. No filesystem side-effects.
brapi_find_locationsFind research stations / field sites by country, abbreviation, type, location ID, or free-text. Pass countryCodes directly or use English countryNames to resolve ISO codes. On SGN-family servers (CassavaBase, Sweetpotatobase, other Breedbase deployments), resolved names also search alpha-2, ISO nume
brapi_find_variantsFind variant records by variant set, reference sequence, or genomic region. Named reference and region filters are verified on each scanned row using exact reference names and overlap with the 0-based half-open window [start, end). results[] holds the leading matches up to loadLimit and a 24,000-byt
brapi_find_genotype_callsPull genotype calls for a call set × variant set. Filter to bound cost — at minimum, set one of `variantSetDbId`, `variantSetDbIds`, `germplasmDbIds`, `callSetDbIds`, or `variantDbIds`. The upstream pull is capped by deployment policy; when the pull is truncated, narrow the filters. results[] holds
brapi_export_genotype_matrixPull genotype calls for a variant set and pivot them into a call set × variant matrix. Each row is one call set (one sample's calls), led by callSetDbId, callSetName, and germplasmDbId — the germplasm resolved through the call set's sample, null when unresolved. Join to brapi_build_phenotype_matrix
brapi_dataframe_describeStart here after a spillover. Lists dataframes (or describes one) with columns, row counts, and originating-source provenance. The dataframe name appears inline on every find_* response that spilled (`result.dataframe.tableName`) — pass it as `dataframe` to inspect schema and provenance before writi
brapi_dataframe_queryRun read-only SQL across in-memory dataframes. Dataframes auto-populate when find_* tools spill (named `df_<uuid>`) — the dataframe name appears inline on every find_* response that spilled (`result.dataframe.tableName`), so the typical flow is find_* → read the name → query here. Use brapi_datafram
brapi_raw_getPassthrough to BrAPI GET /{path} without foreign-key resolution. List results (result array or result.data) return a leading preview within loadLimit and a 24,000-byte budget on each serialized row representation; an oversized first row returns no inline rows. Omitted fetched rows remain in a datafr
brapi_raw_searchPassthrough to BrAPI POST /search/{noun}, polling async search IDs. Sends loadLimit as the initial pageSize unless body.page/pageSize drives explicit paging. List previews fit loadLimit and a 24,000-byte budget on each serialized row representation; an oversized first row returns no inline rows. Eve