io.github.cyanheads/brapi-mcp-server
v0.10.1Collaborative BrAPI v2.1 MCP workspace: studies, germplasm, genotypes across Breedbase, T3, more.
Endpoint health
degraded- Last checked
- 11/20/2026, 9:18:04 AM
- Latency
- 282 ms
- Consecutive failures
- 144
- Endpoint reachable: pass
- Protocol valid: fail
- MCP handshake valid: fail
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.cyanheads%2Fbrapi-mcp-server
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.cyanheads/brapi-mcp-server": {
"url": "https://brapi.caseyjhand.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
22 shown · authentication unknown
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.
Schema valid · SHA-256 a0db36bd2fd3…
View input schema
{ "type": "object", "properties": { "alias": { "description": "Connection alias. Omit to use alias `default`. An alias registered via brapi_connect works, and so does one the server has a URL configured for (a built-in alias, an operator-configured alias, or `default` on a deployment with a default server), which connects on first use. Calls that used a non-default alias must pass that same alias here.", "type": "string", "pattern": "^[a-zA-Z0-9_-]+$" }, "studies": { "minItems": 1, "type": "array", "items": { "type": "string", "pattern": "\\S" }, "description": "studyDbIds to include in the matrix. At least one is required — the tool is study-anchored to avoid full-table scans." }, "variables": { "description": "Optional subset of observationVariableDbIds to include. Omit to include all variables found in the queried studies.", "type": "array", "items": { "type": "string", "pattern": "\\S" } }, "germplasm": { "description": "Optional subset of germplasmDbIds to include. Omit to include all germplasm found in the queried studies.", "type": "array", "items": { "type": "string", "pattern": "\\S" } }, "shape": { "default": "wide", "description": "Matrix shape. `wide` — one row per germplasm, one column per variable, cell = aggregated value. `long` — one row per observation with columns: germplasmDbId, observationVariableDbId, studyDbId, value, replicateIndex. When `aggregate:\"all\"` is combined with `shape:\"wide\"`, the output falls back to long form with a replicateIndex column.", "type": "string", "enum": [ "wide", "long" ] }, "aggregate": { "default": "mean", "description": "How to aggregate replicate observations (multiple readings of the same variable on the same germplasm). `mean` and `median` attempt numeric conversion and skip non-numeric values (e.g. categorical traits). `first` keeps the first value seen. `all` keeps every replicate as a separate row (produces long-form output even when shape is \"wide\"). Default: `mean`.", "type": "string", "enum": [ "mean", "median", "first", "all" ] }, "loadLimit": { "description": "Cap on matching observations collected per study. Defaults to 50,000. A study that stops at it is reported as truncated.", "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "extraFilters": { "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.", "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} } }, "required": [ "studies" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false }
Connections
streamable-http
https://brapi.caseyjhand.com/mcp