L'Atlas / MCP servers / brapi-mcp-server
MCP server

brapi-mcp-server

io.github.cyanheads/brapi-mcp-server

MCP server OK 23 tools

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/brapi-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server)
HTML
<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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/brapi-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server)
HTML
<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

DateResultResponseTools
28 Nov 2026, 09:22OK2,185 ms23

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.

ParameterTypeRequiredDescription
baseUrlstringnoBrAPI 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.
authobject | object | object | object | objectnoAuth payload. Omit to use credentials configured server-side for this alias (or no auth when none are configured).
aliasstringnoAlias 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
studiesarray<string>yesstudyDbIds to include in the matrix. At least one is required — the tool is study-anchored to avoid full-table scans.
variablesarray<string>noOptional subset of observationVariableDbIds to include. Omit to include all variables found in the queried studies.
germplasmarray<string>noOptional subset of germplasmDbIds to include. Omit to include all germplasm found in the queried studies.
shapeenum: "wide" | "long"noMatrix 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.
aggregateenum: "mean" | "median" | "first" | "all"noHow 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…
loadLimitintegernoCap on matching observations collected per study. Defaults to 50,000. A study that stops at it is reported as truncated.
extraFiltersobjectnoExtra 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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-…
forceRefreshbooleannoBypass 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.

ParameterTypeRequiredDescription
endpointenum: "germplasm" | "images" | "locations" | "observations" | "studies" | "variables" | "variants"yesBrAPI 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.

ParameterTypeRequiredDescription
aliasesarray<string>yesSource aliases to query in the order given.
queryobject | object | objectyesEntity and its finder-specific filters.
loadLimitintegernoCap 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).

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
cropstringnoFilter by common crop name (single value).
trialTypesarray<string>noFilter by study types.
seasonsarray<string>noFilter by seasons (e.g. "2022").
locationsarray<string>noFilter 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.
programsarray<string>noFilter by programDbIds.
trialsarray<string>noFilter by trialDbIds.
studyNamesarray<string>noFilter by study display name.
variablesarray<string>noFilter by observationVariableDbIds — studies that recorded these variables. Get IDs from brapi_find_variables.
activebooleannoRestrict to active / inactive studies.
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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.

ParameterTypeRequiredDescription
studyDbIdstringyesStudy identifier.
aliasstringnoConnection 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
namesarray<string>noFilter by germplasm display names.
germplasmDbIdsarray<string>noFilter by DbIds.
germplasmPUIsarray<string>noPersistent unique identifiers.
accessionNumbersarray<string>noFilter by accession numbers (gene-bank catalog codes).
cropsarray<string>noFilter by common crop names.
synonymsarray<string>noMatch registered synonyms.
collectionsarray<string>noFilter by germplasm collection names.
genusstringnoBotanical genus.
speciesstringnoBotanical species.
studiesarray<string>noScope germplasm by study DbIds.
trialsarray<string>noScope germplasm by trial DbIds.
programsarray<string>noScope germplasm by program DbIds.
textstringnoFree-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…
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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.

ParameterTypeRequiredDescription
germplasmDbIdstringyesGermplasm identifier.
aliasstringnoConnection 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.

ParameterTypeRequiredDescription
germplasmDbIdsarray<string>yesWalk the first 20 distinct roots. Additional roots are returned for the next call.
directionenum: "ancestors" | "descendants" | "both"noWhich 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.
maxDepthintegernoMax generations per direction (default 3, clamped to 10).
diagramenum: "mermaid" | "dot"noAlso 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.
loadLimitintegernoRow 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.
aliasstringnoConnection 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
germplasmDbIdstringyesThe germplasmDbId to summarize performance for.
studyDbIdsarray<string>noOptional 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.
variablesarray<string>noOptional subset of observationVariableDbIds to aggregate. Omit to include every variable observed for the germplasm.
loadLimitintegernoCap 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).

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
variablesarray<string>noFilter by observationVariableDbIds.
variableNamesarray<string>noFilter by exact observationVariableNames.
variablePUIsarray<string>noFilter by persistent ontology URIs.
traitClassesarray<string>noFilter by trait class.
ontologiesarray<string>noFilter by ontologyDbIds.
studiesarray<string>noFilter 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.
methodsarray<string>noFilter by methodDbIds.
scalesarray<string>noFilter by scaleDbIds.
cropstringnoFilter by common crop name (single value).
textstringnoFree-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…
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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).

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
studiesarray<string>noFilter by studyDbIds.
germplasmarray<string>noFilter by germplasmDbIds.
variablesarray<string>noFilter by observationVariableDbIds.
observationUnitsarray<string>noFilter by observationUnitDbIds.
observationsarray<string>noFilter by observationDbIds.
seasonsarray<string>noFilter by seasonDbIds (e.g. "2022").
programsarray<string>noFilter by programDbIds.
trialsarray<string>noFilter by trialDbIds.
observationLevelsarray<string>noObservation unit level (plot, plant, field, etc.).
timestampFromstringnoISO 8601 start of the observation-time window.
timestampTostringnoISO 8601 end of the observation-time window.
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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).

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
imagesarray<string>noFilter by imageDbIds.
observationUnitsarray<string>noFilter by observationUnitDbIds.
observationsarray<string>noFilter by observationDbIds.
studiesarray<string>noFilter by studyDbIds.
imageFileNamesarray<string>noFilter by uploaded file name.
mimeTypesarray<string>noFilter by MIME type — e.g. "image/jpeg", "image/png".
descriptiveOntologyTermsarray<string>noFilter by ontology tags (e.g. "CO_334:plot").
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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.

ParameterTypeRequiredDescription
imageDbIdsarray<string>yesFetch the first 5 distinct image IDs. Additional IDs are returned for the next call.
aliasstringnoConnection 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).

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
locationsarray<string>noFilter by locationDbIds.
locationNamesarray<string>noFilter by display name.
countryCodesarray<string>noCountry codes sent as given: alphabetic codes are uppercased, numeric codes keep their spelling, and rows they match are never re-checked against countryName.
countryNamesarray<string>noEnglish 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…
locationTypesarray<string>noLocation type — e.g. "Research Station", "Field".
abbreviationsarray<string>noShort location abbreviations.
bboxobjectnoOptional post-fetch bounding box. Nonempty boxes require all four bounds with minimum <= maximum; malformed boxes fail. An empty object is omitted.
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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).

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
variantSetsarray<string>noFilter by variantSetDbIds.
variantsarray<string>noFilter by variantDbIds.
referencesarray<string>noFilter by referenceDbIds.
referenceNamestringnoReference display name (e.g. "chr01", "chr1").
startintegernoWindow start, 0-based inclusive.
endintegernoWindow end, 0-based exclusive.
loadLimitintegernoCap 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…
extraFiltersobjectnoExtra 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
variantSetDbIdstringnoScope 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.
variantSetDbIdsarray<string>noAlternative: multiple variant sets at once, found the same way.
germplasmDbIdsarray<string>noResolve these germplasm IDs to call sets before pulling calls.
callSetDbIdsarray<string>noRestrict to these call sets directly.
variantDbIdsarray<string>noRestrict to specific variants.
callFormatenum: "VCF" | "FLAPJACK" | "DARTSEQ" | "JSON"noRequested call-encoding format, when the server honors it.
loadLimitintegernoCap 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
germplasmDbIdsarray<string>noResolve these germplasm IDs to call sets before pulling calls. Omit to include all call sets in the variant set.
variantSetDbIdstringyesVariant 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.
variantDbIdsarray<string>noRestrict 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.
formatenum: "plink" | "vcf-lite" | "matrix-json"yesOutput 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.
maxCallsintegernoLower 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`.
maxColumnsintegernoLower 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.

ParameterTypeRequiredDescription
dataframestringnoWhen 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.

ParameterTypeRequiredDescription
sqlstringyesOne 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.
registerAsstringnoPersist 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…
previewintegernoCap 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.
rowLimitintegernoHard 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
pathstringyesEndpoint path — e.g. "/samples", "/methods". Leading "/" is optional.
paramsobjectnoQuery parameters to append. Arrays are repeated per BrAPI convention.
loadLimitintegernoCap 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.

ParameterTypeRequiredDescription
aliasstringnoConnection 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…
nounstringyesSearch noun — e.g. "observations", "calls", "germplasm".
bodyobjectyesFilter body passed verbatim to POST /search/{noun}.
loadLimitintegernoCap 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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://brapi.caseyjhand.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http brapi-mcp-server https://brapi.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : brapi-mcp-server ; URL : https://brapi.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : brapi-mcp-server ; Server URL : https://brapi.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "brapi-mcp-server": {
      "url": "https://brapi.caseyjhand.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "brapi-mcp-server": {
      "type": "http",
      "url": "https://brapi.caseyjhand.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "brapi-mcp-server": {
      "url": "https://brapi.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "brapi-mcp-server": {
      "httpUrl": "https://brapi.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[brapi-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/brapi-mcp-server)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.