brapi-mcp-server
io.github.cyanheads/brapi-mcp-server
MCP server OK 23 tools
Collaborative BrAPI v2.1 MCP workspace: studies, germplasm, genotypes across Breedbase, T3, more.
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/brapi-mcp-server
- Site
- —
- Version
- 0.13.0
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://brapi.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/brapi-mcp-server 0.13.0 npm stdio
@cyanheads/brapi-mcp-server 0.13.0 npm Streamable HTTP - Tools
- 23
- Categories
- —
- Last updated
- 28 Nov 2026
- Published
- 28 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/brapi-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/brapi-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://brapi.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 09:22
- Response time
- 2,185 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- brapi-mcp-server 0.13.0
- Tools
- 23
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:22 | OK | 2,185 ms | 23 |
Exposed tools (23, from tools/list, 28 Nov 2026)
brapi_connect
Brapi Connect
Open 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` on a deployment with a default server) on first use; call this to connect any other server by `baseUrl`, to pass `auth`, or to re-point an alias. Supports multiple concurrent connections via named aliases. Credentials can be configured server-side and omitted from this call. When a request carries no MCP session on a deployment without per-user auth, aliases live in one namespace shared by every such caller: re-registering an alias re-points their later calls to it. Built-in known servers (callable with no `baseUrl` or `auth` — public BrAPI v2 endpoints): `bti-breedbase-demo`, `bti-cassava`, `bti-sweetpotato`. Operator-configured aliases on this deployment (credentials and/or baseUrl read from server env vars): `default`, `cassava`. Aliases are shortcuts only; any other BrAPI v2 server is reachable by passing `baseUrl` directly.
| Parameter | Type | Required | Description |
|---|---|---|---|
| baseUrl | string | no | BrAPI v2 base URL (absolute URL) including any path prefix — e.g. https://test-server.brapi.org/brapi/v2. Omit to use the configured default for this alias. |
| auth | object | object | object | object | object | no | Auth payload. Omit to use credentials configured server-side for this alias (or no auth when none are configured). |
| alias | string | no | Alias for this connection. Use distinct aliases to register multiple BrAPI servers in one session. |
brapi_build_phenotype_matrix
Brapi Build Phenotype Matrix
Pull 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 for downstream GROUP BY analysis by study, germplasm, or variable. A study whose pull fails is named in warnings and the rest still build the matrix; the call fails only when every study failed.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| studies | array<string> | yes | studyDbIds to include in the matrix. At least one is required — the tool is study-anchored to avoid full-table scans. |
| variables | array<string> | no | Optional subset of observationVariableDbIds to include. Omit to include all variables found in the queried studies. |
| germplasm | array<string> | no | Optional subset of germplasmDbIds to include. Omit to include all germplasm found in the queried studies. |
| shape | enum: "wide" | "long" | no | Matrix shape. Wide rows pool observations across requested studies by germplasm and variable and show the count used by each cell. Long rows keep each observation, its identity, and available field design. The `all` aggregate always produces long rows. |
| aggregate | enum: "mean" | "median" | "first" | "all" | no | How to aggregate replicate observations (multiple readings of the same variable on the same germplasm). `mean` and `median` attempt numeric conversion and skip non-numeric values (e.g. categorical traits). `first` keeps the first value seen. `all` keeps every replicate as a separate row (produces l… |
| loadLimit | integer | no | Cap on matching observations collected per study. Defaults to 50,000. A study that stops at it is reported as truncated. |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_server_info
Brapi Server Info
Return 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via `brapi_connect` works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-… |
| forceRefresh | boolean | no | Bypass the cached capability profile and refetch from the server. |
brapi_describe_filters
Brapi Describe Filters
List 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | enum: "germplasm" | "images" | "locations" | "observations" | "studies" | "variables" | "variants" | yes | BrAPI endpoint to describe filters for. |
brapi_federated_find
Brapi Federated Find
Find 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 merged collection when the inline limit is reached.
| Parameter | Type | Required | Description |
|---|---|---|---|
| aliases | array<string> | yes | Source aliases to query in the order given. |
| query | object | object | object | yes | Entity and its finder-specific filters. |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
brapi_find_studies
Brapi Find Studies
Locate 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 set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| crop | string | no | Filter by common crop name (single value). |
| trialTypes | array<string> | no | Filter by study types. |
| seasons | array<string> | no | Filter by seasons (e.g. "2022"). |
| locations | array<string> | no | Filter by locationDbIds (server-side identifiers, not display names). On servers that ignore this filter on /studies, it is applied client-side over the scanned studies, and a study with no locationDbId never matches. |
| programs | array<string> | no | Filter by programDbIds. |
| trials | array<string> | no | Filter by trialDbIds. |
| studyNames | array<string> | no | Filter by study display name. |
| variables | array<string> | no | Filter by observationVariableDbIds — studies that recorded these variables. Get IDs from brapi_find_variables. |
| active | boolean | no | Restrict to active / inactive studies. |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_get_study
Brapi Get Study
Fetch 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| studyDbId | string | yes | Study identifier. |
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
brapi_find_germplasm
Brapi Find Germplasm
Find 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 dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL) instead of paging row-by-row.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| names | array<string> | no | Filter by germplasm display names. |
| germplasmDbIds | array<string> | no | Filter by DbIds. |
| germplasmPUIs | array<string> | no | Persistent unique identifiers. |
| accessionNumbers | array<string> | no | Filter by accession numbers (gene-bank catalog codes). |
| crops | array<string> | no | Filter by common crop names. |
| synonyms | array<string> | no | Match registered synonyms. |
| collections | array<string> | no | Filter by germplasm collection names. |
| genus | string | no | Botanical genus. |
| species | string | no | Botanical species. |
| studies | array<string> | no | Scope germplasm by study DbIds. |
| trials | array<string> | no | Scope germplasm by trial DbIds. |
| programs | array<string> | no | Scope germplasm by program DbIds. |
| text | string | no | Free-text query. Applied client-side as a case-insensitive substring match on germplasmName, germplasmPUI, accessionNumber, defaultDisplayName, and registered synonyms — no BrAPI server reliably supports a server-side free-text filter. Every upstream row is scanned when the filtered set fits one da… |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_get_germplasm
Brapi Get Germplasm
Fetch 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| germplasmDbId | string | yes | Germplasm identifier. |
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
brapi_walk_pedigree
Brapi Walk Pedigree
Walk 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 budget; trimmed discovered graphs and already-fetched omitted relatives are staged for brapi_dataframe_describe and brapi_dataframe_query (SQL). Diagrams describe only the discovered graph, never unvisited relatives.
| Parameter | Type | Required | Description |
|---|---|---|---|
| germplasmDbIds | array<string> | yes | Walk the first 20 distinct roots. Additional roots are returned for the next call. |
| direction | enum: "ancestors" | "descendants" | "both" | no | Which direction to walk: ancestors (parents), descendants (progeny), or both — the union of the two walks. Ancestors are walked only upward and descendants only downward, so a descendant's other parent is not included. |
| maxDepth | integer | no | Max generations per direction (default 3, clamped to 10). |
| diagram | enum: "mermaid" | "dot" | no | Also return the walk as diagram source: `mermaid` (flowchart) or `dot` (Graphviz). Edges point parent → child, roots are bold, loop-closing edges are dashed. Omit for no diagram. |
| loadLimit | integer | no | Row ceiling for each inline graph/frontier preview, also bounded by a 24,000-byte budget. Omit for the deployment default. A first row exceeding the byte budget yields zero preview rows; retrieve narrower projections from the staged dataframe. |
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
brapi_germplasm_performance
Brapi Germplasm Performance
Aggregate 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 servers discover up to 200 studies before pulling per study. Pass studyDbIds to skip discovery and restrict collection to known studies. Per-study observation limits, page limits, failures, and incomplete scans appear in coverage and warnings. For the underlying matrix, use brapi_build_phenotype_matrix.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| germplasmDbId | string | yes | The germplasmDbId to summarize performance for. |
| studyDbIds | array<string> | no | Optional studyDbIds to restrict collection to known studies and skip automatic discovery. Omit to walk germplasm-scoped embedded units on SGN/Breedbase, or discover up to 200 studies on other servers. Find known study IDs with brapi_find_studies; some servers ignore its germplasm filter. |
| variables | array<string> | no | Optional subset of observationVariableDbIds to aggregate. Omit to include every variable observed for the germplasm. |
| loadLimit | integer | no | Cap on matching observations collected per study, including during automatic discovery. Defaults to 50,000. A study that stops at it is reported as partial. |
brapi_find_variables
Brapi Find Variables
Find 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 when the row has one. results[] holds the leading rows up to loadLimit and a 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| variables | array<string> | no | Filter by observationVariableDbIds. |
| variableNames | array<string> | no | Filter by exact observationVariableNames. |
| variablePUIs | array<string> | no | Filter by persistent ontology URIs. |
| traitClasses | array<string> | no | Filter by trait class. |
| ontologies | array<string> | no | Filter by ontologyDbIds. |
| studies | array<string> | no | Filter by studyDbId. Multiple distinct studies are collected under shared page, row and time budgets and unioned by variable ID with studyDbIds provenance; studyCoverage reports incomplete studies. |
| methods | array<string> | no | Filter by methodDbIds. |
| scales | array<string> | no | Filter by scaleDbIds. |
| crop | string | no | Filter by common crop name (single value). |
| text | string | no | Free-text query. Ranks **every row the call fetched** (the whole dataframe walk, not just the first page) via the ontology resolver: each match carries textMatchRank in results[] and the dataframe, textMatchCount counts them, and results[] — up to loadLimit and the 24,000-byte budget — lists every… |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_find_observations
Brapi Find Observations
Pull 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 the bulk pull when the probe fails or reports more than 5,000 rows. results[] holds the leading matches up to loadLimit and a 24,000-byte budget; when those bounds cut it short, read the staged dataframe with brapi_dataframe_describe and brapi_dataframe_query (SQL).
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| studies | array<string> | no | Filter by studyDbIds. |
| germplasm | array<string> | no | Filter by germplasmDbIds. |
| variables | array<string> | no | Filter by observationVariableDbIds. |
| observationUnits | array<string> | no | Filter by observationUnitDbIds. |
| observations | array<string> | no | Filter by observationDbIds. |
| seasons | array<string> | no | Filter by seasonDbIds (e.g. "2022"). |
| programs | array<string> | no | Filter by programDbIds. |
| trials | array<string> | no | Filter by trialDbIds. |
| observationLevels | array<string> | no | Observation unit level (plot, plant, field, etc.). |
| timestampFrom | string | no | ISO 8601 start of the observation-time window. |
| timestampTo | string | no | ISO 8601 end of the observation-time window. |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_find_images
Brapi Find Images
Filter 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 24,000-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| images | array<string> | no | Filter by imageDbIds. |
| observationUnits | array<string> | no | Filter by observationUnitDbIds. |
| observations | array<string> | no | Filter by observationDbIds. |
| studies | array<string> | no | Filter by studyDbIds. |
| imageFileNames | array<string> | no | Filter by uploaded file name. |
| mimeTypes | array<string> | no | Filter by MIME type — e.g. "image/jpeg", "image/png". |
| descriptiveOntologyTerms | array<string> | no | Filter by ontology tags (e.g. "CO_334:plot"). |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_get_image
Brapi Get Image
Fetch 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| imageDbIds | array<string> | yes | Fetch the first 5 distinct image IDs. Additional IDs are returned for the next call. |
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
brapi_find_locations
Brapi Find Locations
Find 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 numeric, and E.164 calling codes, and a row matched only by a numeric code is dropped when its countryName names another country. Optional bbox restricts rows to a latitude/longitude window. The BrAPI Community Test Server dialect reads GeoJSON Points in [lat, lon, alt] order; other dialects use [lon, lat, alt]. 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 dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| locations | array<string> | no | Filter by locationDbIds. |
| locationNames | array<string> | no | Filter by display name. |
| countryCodes | array<string> | no | Country codes sent as given: alphabetic codes are uppercased, numeric codes keep their spelling, and rows they match are never re-checked against countryName. |
| countryNames | array<string> | no | English country names or aliases resolved to ISO alpha-3 codes (on SGN-family servers also alpha-2, ISO numeric, and the E.164 calling code) and merged into countryCodes. A row matched only by one of those numeric codes is kept when its countryName names the requested country, dropped when it names… |
| locationTypes | array<string> | no | Location type — e.g. "Research Station", "Field". |
| abbreviations | array<string> | no | Short location abbreviations. |
| bbox | object | no | Optional post-fetch bounding box. Nonempty boxes require all four bounds with minimum <= maximum; malformed boxes fail. An empty object is omitted. |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_find_variants
Brapi Find Variants
Find 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-byte budget; when it holds fewer rows than matched, the matched set is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL).
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| variantSets | array<string> | no | Filter by variantSetDbIds. |
| variants | array<string> | no | Filter by variantDbIds. |
| references | array<string> | no | Filter by referenceDbIds. |
| referenceName | string | no | Reference display name (e.g. "chr01", "chr1"). |
| start | integer | no | Window start, 0-based inclusive. |
| end | integer | no | Window end, 0-based exclusive. |
| loadLimit | integer | no | Cap on rows returned inline in results[]. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any matched. When results[] holds fewer rows than matched, the matched rows are staged in a dataframe (marked truncat… |
| extraFilters | object | no | Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict. |
brapi_find_genotype_calls
Brapi Find Genotype Calls
Pull 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 the leading calls up to `loadLimit` and a 24,000-byte budget; when it holds fewer than were collected, every collected call is materialized as a dataframe — read it with brapi_dataframe_describe and brapi_dataframe_query (SQL) instead of paging row-by-row.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| variantSetDbId | string | no | Scope calls to a single variant set. Strongly recommended. List variant sets with brapi_raw_get({ path: "/variantsets" }) — add params.studyDbId to narrow to one study or genotyping project — and read variantSetDbId from the rows. |
| variantSetDbIds | array<string> | no | Alternative: multiple variant sets at once, found the same way. |
| germplasmDbIds | array<string> | no | Resolve these germplasm IDs to call sets before pulling calls. |
| callSetDbIds | array<string> | no | Restrict to these call sets directly. |
| variantDbIds | array<string> | no | Restrict to specific variants. |
| callFormat | enum: "VCF" | "FLAPJACK" | "DARTSEQ" | "JSON" | no | Requested call-encoding format, when the server honors it. |
| loadLimit | integer | no | Cap on rows returned inline. Omit for the deployment default. results[] also stops at a 24,000-byte budget, whichever bound comes first, and keeps at least one row when any call was collected. When results[] holds fewer rows than were collected, every collected call lands in a dataframe — query it… |
brapi_export_genotype_matrix
Brapi Export Genotype Matrix
Pull 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 on germplasmDbId; a germplasm with several call sets joins once per call set. `variantDbIds` restricts the pull to chosen variants, such as a region's from brapi_find_variants. `matrix-json` registers a wide canvas dataframe; `vcf-lite` adds VCF-subset text in `vcf`; `plink` adds .ped/.map text in `ped`/`map`. Text formats pull /variants metadata and convert zero-based BrAPI start to one-based positions; missing/invalid positions use `.`/`0`. Read the dataframe with brapi_dataframe_describe and brapi_dataframe_query (SQL). `variantColumnLegend` maps SQL-safe columns to original variant IDs.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| germplasmDbIds | array<string> | no | Resolve these germplasm IDs to call sets before pulling calls. Omit to include all call sets in the variant set. |
| variantSetDbId | string | yes | Variant set to pull calls for. Required. List variant sets with brapi_raw_get({ path: "/variantsets" }) — add params.studyDbId to narrow to one study or genotyping project — and read variantSetDbId from the rows. |
| variantDbIds | array<string> | no | Restrict the matrix to these variants — e.g. the variantDbIds brapi_find_variants returns for a region. Calls the server returns for other variants are left out. Export a large variant set in batches of at most maxColumns variants. |
| format | enum: "plink" | "vcf-lite" | "matrix-json" | yes | Output format. `matrix-json` registers a wide canvas dataframe only. `vcf-lite` returns VCF-subset text and registers the dataframe. `plink` returns .ped/.map text and registers the dataframe. |
| maxCalls | integer | no | Lower the pull cap for this call. Omit to use the deployment ceiling. Cannot raise it: a value above the deployment ceiling is clamped down to it and the effective cap is reported in `warnings`. |
| maxColumns | integer | no | Lower the distinct-variant column cap for this call. Omit to use the deployment ceiling. Cannot raise it: a value above the deployment ceiling is clamped down to it. When the variant set resolves more distinct variants than the effective cap, the matrix keeps that many variant columns (listed in `v… |
brapi_dataframe_describe
Brapi Dataframe Describe
Start 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 writing the first brapi_dataframe_query. On a shared HTTP endpoint without per-caller auth, listing without a name is available only where each MCP session has its own workspace, and never to a request without a session; pass a known name instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dataframe | string | no | When set, return only the named dataframe. Omit to list all dataframes. |
brapi_dataframe_query
Brapi Dataframe Query
Run read-only SQL across in-memory dataframes. Dataframes auto-populate when find_* tools spill (named `df_ `) — 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_dataframe_describe to inspect schema and provenance for a known name. Use `LIMIT/OFFSET` to walk results, projection to trim columns, and aggregation to summarize. Use `registerAs` to chain — the result lands as a new dataframe.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sql | string | yes | One read-only SQL statement against dataframes. Use SELECT for rows and aggregation, DESCRIBE or SHOW for a known table or query, and SUMMARIZE for column statistics. Writes, DDL, file reads, and exports are rejected. Use `LIMIT/OFFSET` to page a large dataframe and projection to trim columns. |
| registerAs | string | no | Persist the full result as a new dataframe under this name. The response is bounded by preview and a 24,000-byte row budget. Conflicts fail — choose a different name, or remove the existing dataframe with brapi_dataframe_drop where this deployment enables it. Identifier rules: letters, digits, and… |
| preview | integer | no | Cap the number of rows returned in this response. A value above `rowLimit` (or, when `rowLimit` is omitted, above the deployment-wide response cap) returns rows up to that ceiling. When omitted, the ceiling applies. Lower this with `registerAs` when you only need a sample to verify the query. |
| rowLimit | integer | no | Hard cap on rows materialized into the response, bounded by the deployment-wide response cap. For larger result sets, use `registerAs` to keep the full result queryable instead of raising this. |
brapi_raw_get
Brapi Raw Get
Passthrough 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 dataframe readable with brapi_dataframe_describe and brapi_dataframe_query. Explicit params.page/pageSize fetches only that upstream page, staging it if trimmed. Non-list results and envelope siblings are preserved. Emits a suggestion when a curated tool covers the endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| path | string | yes | Endpoint path — e.g. "/samples", "/methods". Leading "/" is optional. |
| params | object | no | Query parameters to append. Arrays are repeated per BrAPI convention. |
| loadLimit | integer | no | Cap on rows returned inline. Omit for the deployment default. Rows beyond the cap land in a dataframe; query with brapi_dataframe_query (SQL) instead of paging row-by-row. |
brapi_raw_search
Brapi Raw Search
Passthrough 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. Every fetched row omitted inline stays in a dataframe readable with brapi_dataframe_describe and brapi_dataframe_query. Explicit paging fetches only the requested page, staging it if trimmed. Non-list results and envelope siblings are preserved; no distributions or foreign-key resolution.
| Parameter | Type | Required | Description |
|---|---|---|---|
| alias | string | no | Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-de… |
| noun | string | yes | Search noun — e.g. "observations", "calls", "germplasm". |
| body | object | yes | Filter body passed verbatim to POST /search/{noun}. |
| loadLimit | integer | no | Cap on rows returned inline. Omit for the deployment default. Rows beyond the cap land in a dataframe; query with brapi_dataframe_query (SQL) instead of paging row-by-row. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://brapi.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http brapi-mcp-server https://brapi.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : brapi-mcp-server ; URL : https://brapi.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : brapi-mcp-server ; Server URL : https://brapi.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"brapi-mcp-server": {
"url": "https://brapi.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"brapi-mcp-server": {
"type": "http",
"url": "https://brapi.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"brapi-mcp-server": {
"url": "https://brapi.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"brapi-mcp-server": {
"httpUrl": "https://brapi.caseyjhand.com/mcp"
}
}
}[mcp_servers.brapi-mcp-server]
url = "https://brapi.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
brapi-mcp-server · L’Atlas · Tested on
[brapi-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.