L'Atlas / Serveurs MCP / brapi-mcp-server
Serveur MCP

brapi-mcp-server

io.github.cyanheads/brapi-mcp-server

Serveur MCP OK 23 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
cyanheads (espace de noms du registre)
Dépôt
github.com/cyanheads/brapi-mcp-server
Site
—
Version
0.13.0
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://brapi.caseyjhand.com/mcp Streamable HTTP
Paquets
@cyanheads/brapi-mcp-server 0.13.0 npm stdio
@cyanheads/brapi-mcp-server 0.13.0 npm Streamable HTTP
Outils
23
Catégories
—
Dernière mise à jour
28 nov. 2026
Publication
28 nov. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/brapi-mcp-server.svg)](https://latlas.dev/mcp/io.github.cyanheads/brapi-mcp-server)
HTML
<a href="https://latlas.dev/mcp/io.github.cyanheads/brapi-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/brapi-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/brapi-mcp-server.svg)](https://latlas.dev/mcp/io.github.cyanheads/brapi-mcp-server)
HTML
<a href="https://latlas.dev/mcp/io.github.cyanheads/brapi-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/brapi-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://brapi.caseyjhand.com/mcp
Dernier résultat
OK 28 nov. 2026, 09:22
Temps de réponse
2 185 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
brapi-mcp-server 0.13.0
Outils
23

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:22OK2 185 ms23

Outils exposés (23, réponse à 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.

ParamètreTypeRequisDescription
baseUrlstringnonBrAPI 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 | objectnonAuth payload. Omit to use credentials configured server-side for this alias (or no auth when none are configured).
aliasstringnonAlias 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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>ouistudyDbIds to include in the matrix. At least one is required — the tool is study-anchored to avoid full-table scans.
variablesarray<string>nonOptional subset of observationVariableDbIds to include. Omit to include all variables found in the queried studies.
germplasmarray<string>nonOptional subset of germplasmDbIds to include. Omit to include all germplasm found in the queried studies.
shapeenum: "wide" | "long"nonMatrix 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"nonHow 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…
loadLimitintegernonCap on matching observations collected per study. Defaults to 50,000. A study that stops at it is reported as truncated.
extraFiltersobjectnonExtra 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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-…
forceRefreshbooleannonBypass 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.

ParamètreTypeRequisDescription
endpointenum: "germplasm" | "images" | "locations" | "observations" | "studies" | "variables" | "variants"ouiBrAPI 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.

ParamètreTypeRequisDescription
aliasesarray<string>ouiSource aliases to query in the order given.
queryobject | object | objectouiEntity and its finder-specific filters.
loadLimitintegernonCap 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).

ParamètreTypeRequisDescription
aliasstringnonConnection 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…
cropstringnonFilter by common crop name (single value).
trialTypesarray<string>nonFilter by study types.
seasonsarray<string>nonFilter by seasons (e.g. "2022").
locationsarray<string>nonFilter 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>nonFilter by programDbIds.
trialsarray<string>nonFilter by trialDbIds.
studyNamesarray<string>nonFilter by study display name.
variablesarray<string>nonFilter by observationVariableDbIds — studies that recorded these variables. Get IDs from brapi_find_variables.
activebooleannonRestrict to active / inactive studies.
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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.

ParamètreTypeRequisDescription
studyDbIdstringouiStudy identifier.
aliasstringnonConnection 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonFilter by germplasm display names.
germplasmDbIdsarray<string>nonFilter by DbIds.
germplasmPUIsarray<string>nonPersistent unique identifiers.
accessionNumbersarray<string>nonFilter by accession numbers (gene-bank catalog codes).
cropsarray<string>nonFilter by common crop names.
synonymsarray<string>nonMatch registered synonyms.
collectionsarray<string>nonFilter by germplasm collection names.
genusstringnonBotanical genus.
speciesstringnonBotanical species.
studiesarray<string>nonScope germplasm by study DbIds.
trialsarray<string>nonScope germplasm by trial DbIds.
programsarray<string>nonScope germplasm by program DbIds.
textstringnonFree-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…
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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.

ParamètreTypeRequisDescription
germplasmDbIdstringouiGermplasm identifier.
aliasstringnonConnection 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.

ParamètreTypeRequisDescription
germplasmDbIdsarray<string>ouiWalk the first 20 distinct roots. Additional roots are returned for the next call.
directionenum: "ancestors" | "descendants" | "both"nonWhich 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.
maxDepthintegernonMax generations per direction (default 3, clamped to 10).
diagramenum: "mermaid" | "dot"nonAlso 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.
loadLimitintegernonRow 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.
aliasstringnonConnection 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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…
germplasmDbIdstringouiThe germplasmDbId to summarize performance for.
studyDbIdsarray<string>nonOptional 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>nonOptional subset of observationVariableDbIds to aggregate. Omit to include every variable observed for the germplasm.
loadLimitintegernonCap 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).

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonFilter by observationVariableDbIds.
variableNamesarray<string>nonFilter by exact observationVariableNames.
variablePUIsarray<string>nonFilter by persistent ontology URIs.
traitClassesarray<string>nonFilter by trait class.
ontologiesarray<string>nonFilter by ontologyDbIds.
studiesarray<string>nonFilter 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>nonFilter by methodDbIds.
scalesarray<string>nonFilter by scaleDbIds.
cropstringnonFilter by common crop name (single value).
textstringnonFree-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…
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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).

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonFilter by studyDbIds.
germplasmarray<string>nonFilter by germplasmDbIds.
variablesarray<string>nonFilter by observationVariableDbIds.
observationUnitsarray<string>nonFilter by observationUnitDbIds.
observationsarray<string>nonFilter by observationDbIds.
seasonsarray<string>nonFilter by seasonDbIds (e.g. "2022").
programsarray<string>nonFilter by programDbIds.
trialsarray<string>nonFilter by trialDbIds.
observationLevelsarray<string>nonObservation unit level (plot, plant, field, etc.).
timestampFromstringnonISO 8601 start of the observation-time window.
timestampTostringnonISO 8601 end of the observation-time window.
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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).

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonFilter by imageDbIds.
observationUnitsarray<string>nonFilter by observationUnitDbIds.
observationsarray<string>nonFilter by observationDbIds.
studiesarray<string>nonFilter by studyDbIds.
imageFileNamesarray<string>nonFilter by uploaded file name.
mimeTypesarray<string>nonFilter by MIME type — e.g. "image/jpeg", "image/png".
descriptiveOntologyTermsarray<string>nonFilter by ontology tags (e.g. "CO_334:plot").
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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.

ParamètreTypeRequisDescription
imageDbIdsarray<string>ouiFetch the first 5 distinct image IDs. Additional IDs are returned for the next call.
aliasstringnonConnection 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).

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonFilter by locationDbIds.
locationNamesarray<string>nonFilter by display name.
countryCodesarray<string>nonCountry 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>nonEnglish 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>nonLocation type — e.g. "Research Station", "Field".
abbreviationsarray<string>nonShort location abbreviations.
bboxobjectnonOptional post-fetch bounding box. Nonempty boxes require all four bounds with minimum <= maximum; malformed boxes fail. An empty object is omitted.
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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).

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonFilter by variantSetDbIds.
variantsarray<string>nonFilter by variantDbIds.
referencesarray<string>nonFilter by referenceDbIds.
referenceNamestringnonReference display name (e.g. "chr01", "chr1").
startintegernonWindow start, 0-based inclusive.
endintegernonWindow end, 0-based exclusive.
loadLimitintegernonCap 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…
extraFiltersobjectnonExtra 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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…
variantSetDbIdstringnonScope 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>nonAlternative: multiple variant sets at once, found the same way.
germplasmDbIdsarray<string>nonResolve these germplasm IDs to call sets before pulling calls.
callSetDbIdsarray<string>nonRestrict to these call sets directly.
variantDbIdsarray<string>nonRestrict to specific variants.
callFormatenum: "VCF" | "FLAPJACK" | "DARTSEQ" | "JSON"nonRequested call-encoding format, when the server honors it.
loadLimitintegernonCap 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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>nonResolve these germplasm IDs to call sets before pulling calls. Omit to include all call sets in the variant set.
variantSetDbIdstringouiVariant 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>nonRestrict 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"ouiOutput 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.
maxCallsintegernonLower 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`.
maxColumnsintegernonLower 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.

ParamètreTypeRequisDescription
dataframestringnonWhen 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.

ParamètreTypeRequisDescription
sqlstringouiOne 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.
registerAsstringnonPersist 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…
previewintegernonCap 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.
rowLimitintegernonHard 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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…
pathstringouiEndpoint path — e.g. "/samples", "/methods". Leading "/" is optional.
paramsobjectnonQuery parameters to append. Arrays are repeated per BrAPI convention.
loadLimitintegernonCap 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.

ParamètreTypeRequisDescription
aliasstringnonConnection 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…
nounstringouiSearch noun — e.g. "observations", "calls", "germplasm".
bodyobjectouiFilter body passed verbatim to POST /search/{noun}.
loadLimitintegernonCap 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.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

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

Configs prêtes à copier

Adresse distante utilisée : https://brapi.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.

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"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

brapi-mcp-server · L’Atlas · Test du

Markdown
[brapi-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/brapi-mcp-server)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.