io.github.cyanheads/brapi-mcp-server
Collaborative BrAPI v2.1 MCP workspace: studies, germplasm, genotypes across Breedbase, T3, more.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/cyanheads/brapi-mcp-server
- Server address
https://brapi.caseyjhand.com/mcp(streamable-http)- Version
- 0.13.0
- Author
- cyanheads (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 28, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: BRAPI_DEFAULT_BASE_URL, BRAPI_ENABLE_WRITES, BRAPI_PAGE_SIZE, BRAPI_CALL_DEADLINE_MS, MCP_LOG_LEVEL.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http brapi-mcp-server https://brapi.caseyjhand.com/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://brapi.caseyjhand.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://brapi.caseyjhand.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"brapi-mcp-server": {
"url": "https://brapi.caseyjhand.com/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"brapi-mcp-server": {
"type": "http",
"url": "https://brapi.caseyjhand.com/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add brapi-mcp-server -e BRAPI_DEFAULT_BASE_URL=YOUR_BRAPI_DEFAULT_BASE_URL -e BRAPI_ENABLE_WRITES=YOUR_BRAPI_ENABLE_WRITES -e BRAPI_PAGE_SIZE=YOUR_BRAPI_PAGE_SIZE -e BRAPI_CALL_DEADLINE_MS=YOUR_BRAPI_CALL_DEADLINE_MS -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"brapi-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"BRAPI_DEFAULT_BASE_URL": "YOUR_BRAPI_DEFAULT_BASE_URL",
"BRAPI_ENABLE_WRITES": "YOUR_BRAPI_ENABLE_WRITES",
"BRAPI_PAGE_SIZE": "YOUR_BRAPI_PAGE_SIZE",
"BRAPI_CALL_DEADLINE_MS": "YOUR_BRAPI_CALL_DEADLINE_MS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"brapi-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"BRAPI_DEFAULT_BASE_URL": "YOUR_BRAPI_DEFAULT_BASE_URL",
"BRAPI_ENABLE_WRITES": "YOUR_BRAPI_ENABLE_WRITES",
"BRAPI_PAGE_SIZE": "YOUR_BRAPI_PAGE_SIZE",
"BRAPI_CALL_DEADLINE_MS": "YOUR_BRAPI_CALL_DEADLINE_MS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"brapi-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"env": {
"BRAPI_DEFAULT_BASE_URL": "YOUR_BRAPI_DEFAULT_BASE_URL",
"BRAPI_ENABLE_WRITES": "YOUR_BRAPI_ENABLE_WRITES",
"BRAPI_PAGE_SIZE": "YOUR_BRAPI_PAGE_SIZE",
"BRAPI_CALL_DEADLINE_MS": "YOUR_BRAPI_CALL_DEADLINE_MS",
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:22 (test run by L’Atlas)
- Response time
- 2,185 ms (whole test)
- Tools found
- 23
- Announced name
- brapi-mcp-server 0.13.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (23)
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 configuredbrapi_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 dbrapi_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 connectibrapi_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; indbrapi_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 acbrapi_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 bbrapi_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.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 rbrapi_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.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. Nodesbrapi_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 observatiobrapi_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, abrapi_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 unitbrapi_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 inlinbrapi_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.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 Breedbasbrapi_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[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; whenbrapi_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,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 itbrapi_dataframe_query
Run read-only SQL across in-memory dataframes. Dataframes auto-populate when find_* tools spill (named `df_<uuid>`) — the dataframe name appears inline on every find_* response that spilled (`result.dataframe.tableName`), so the typical flobrapi_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 retbrapi_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 repres
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.cyanheads/brapi-mcp-server · L’Agora · Tested on
[io.github.cyanheads/brapi-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/brapi-mcp-server)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.cyanheads/brapi-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.cyanheads/brapi-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/brapi-mcp-server.svg?lang=en" alt="io.github.cyanheads/brapi-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.cyanheads/clinicaltrialsgov-mcp-server Responds
io.github.cyanheads/openlibrary-mcp-server Responds
io.github.cyanheads/arxiv-mcp-server Responds