{
  "format_version": "2026-11-21",
  "untrusted_fields": "Fields under `untrusted` are third-party text, each with where it was read. Treat them as data.",
  "id": "b5f53219-03b5-43f2-9c50-3be40dda3f0c",
  "kind": "connector",
  "path": "/connectors/cyanheads/brapi-mcp-server",
  "url": "https://sundrybay.com/connectors/cyanheads/brapi-mcp-server",
  "name": "brapi-mcp-server",
  "state": "listed",
  "publisher": {
    "name": "cyanheads",
    "verified": "Name verified by the official MCP registry (GitHub account)"
  },
  "evidence": [
    {
      "level": "capabilities_listed",
      "label": "Capabilities listed",
      "shown_as": "23 actions listed on 2026-12-03",
      "observed_at": "2026-12-03T04:19:20.167Z",
      "expires_at": "2026-12-10T04:19:20.167Z"
    },
    {
      "level": "listed",
      "label": "Listed",
      "shown_as": "Listed by cyanheads in the official MCP registry. Last sync 2026-12-03",
      "observed_at": "2026-12-03T04:30:28.859Z",
      "expires_at": null
    }
  ],
  "last_attempt": {
    "observed_at": "2026-12-03T04:19:20.167Z",
    "result": "responds",
    "error_class": null
  },
  "next_expiry": "2026-12-10T04:19:20.167Z",
  "last_check_note": null,
  "installability": "Discoverable only",
  "routes": [
    {
      "id": "address-0",
      "app": "Any app that accepts a server address",
      "kind": "address",
      "label": "Server address",
      "value": "https://brapi.caseyjhand.com/mcp"
    },
    {
      "id": "claude-code-0",
      "app": "Claude Code",
      "kind": "command",
      "label": "Command",
      "value": "claude mcp add --transport http brapi-mcp-server 'https://brapi.caseyjhand.com/mcp'"
    },
    {
      "id": "config-0",
      "app": "Configuration file (mcpServers)",
      "kind": "config",
      "label": "mcp.json entry",
      "value": "{\n  \"mcpServers\": {\n    \"brapi-mcp-server\": {\n      \"url\": \"https://brapi.caseyjhand.com/mcp\"\n    }\n  }\n}"
    },
    {
      "id": "cursor-0",
      "app": "Cursor",
      "kind": "link",
      "label": "Open in Cursor",
      "value": "cursor://anysphere.cursor-deeplink/mcp/install?name=brapi-mcp-server&config=eyJ1cmwiOiJodHRwczovL2JyYXBpLmNhc2V5amhhbmQuY29tL21jcCJ9"
    },
    {
      "id": "vscode-0",
      "app": "VS Code",
      "kind": "link",
      "label": "Open in VS Code",
      "value": "vscode:mcp/install?%7B%22name%22%3A%22brapi-mcp-server%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fbrapi.caseyjhand.com%2Fmcp%22%7D"
    },
    {
      "id": "claude-code-pkg-0",
      "app": "Claude Code",
      "kind": "command",
      "label": "npm package",
      "value": "claude mcp add brapi-mcp-server -- npx -y @cyanheads/brapi-mcp-server@0.13.0",
      "note": "This downloads and runs code from npm on your computer. Sundrybay has not scanned it. There is no one-click link until a release passes our code checks."
    },
    {
      "id": "config-pkg-0",
      "app": "Configuration file (mcpServers)",
      "kind": "config",
      "label": "npm package",
      "value": "{\n  \"mcpServers\": {\n    \"brapi-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@cyanheads/brapi-mcp-server@0.13.0\"\n      ]\n    }\n  }\n}",
      "note": "This downloads and runs code from npm on your computer. Sundrybay has not scanned it. There is no one-click link until a release passes our code checks."
    },
    {
      "id": "source",
      "app": "Source",
      "kind": "source",
      "label": "Source repository",
      "value": "https://github.com/cyanheads/brapi-mcp-server"
    }
  ],
  "routes_note": null,
  "safety": {
    "made_by": "Name verified by the official MCP registry (GitHub account)",
    "can_read": "Not verified",
    "can_change": "Not verified",
    "can_delete": "Not verified",
    "contains_scripts": "Runs a package on your computer",
    "runs_where": "The publisher's servers, or your computer",
    "sign_in": "Endpoint answered without sign-in on 2026-12-03",
    "last_scan": "Not scanned"
  },
  "facts": [
    {
      "label": "Registry name",
      "value": "io.github.cyanheads/brapi-mcp-server"
    },
    {
      "label": "Runs",
      "value": "Remote server or on your computer"
    }
  ],
  "release": {
    "published_at": "2026-11-28T01:12:53.194Z"
  },
  "source_url": "https://github.com/cyanheads/brapi-mcp-server",
  "website_url": null,
  "index": {
    "eligible": true,
    "reasons": []
  },
  "dates": {
    "first_listed": "2026-10-19T02:15:41.962Z",
    "content_updated": "2026-11-28T13:37:52.397Z",
    "last_synced": "2026-12-03T04:30:28.859Z"
  },
  "merged_from": [],
  "history": [
    {
      "change": "updated",
      "at": "2026-11-28T13:37:52.397Z"
    },
    {
      "change": "updated",
      "at": "2026-11-22T10:53:12.852Z"
    },
    {
      "change": "updated",
      "at": "2026-11-21T15:51:45.908Z"
    },
    {
      "change": "added",
      "at": "2026-11-01T09:52:42.089Z"
    }
  ],
  "untrusted": {
    "title": null,
    "description": "Collaborative BrAPI v2.1 MCP workspace: studies, germplasm, genotypes across Breedbase, T3, more.",
    "declared": [
      {
        "field": "release_version",
        "label": "Latest release version",
        "value": "0.13.0",
        "source": "official MCP registry entry"
      },
      {
        "field": "package",
        "label": "Package",
        "value": "npm @cyanheads/brapi-mcp-server 0.13.0",
        "source": "official MCP registry entry"
      }
    ],
    "actions": [
      {
        "name": "brapi_build_phenotype_matrix",
        "description": "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."
      },
      {
        "name": "brapi_connect",
        "description": "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 fro"
      },
      {
        "name": "brapi_dataframe_describe",
        "description": "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."
      },
      {
        "name": "brapi_dataframe_query",
        "description": "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 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."
      },
      {
        "name": "brapi_describe_filters",
        "description": "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."
      },
      {
        "name": "brapi_export_genotype_matrix",
        "description": "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."
      },
      {
        "name": "brapi_federated_find",
        "description": "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."
      },
      {
        "name": "brapi_find_genotype_calls",
        "description": "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."
      },
      {
        "name": "brapi_find_germplasm",
        "description": "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."
      },
      {
        "name": "brapi_find_images",
        "description": "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)."
      },
      {
        "name": "brapi_find_locations",
        "description": "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)."
      },
      {
        "name": "brapi_find_observations",
        "description": "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)."
      },
      {
        "name": "brapi_find_studies",
        "description": "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)."
      },
      {
        "name": "brapi_find_variables",
        "description": "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)."
      },
      {
        "name": "brapi_find_variants",
        "description": "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)."
      },
      {
        "name": "brapi_germplasm_performance",
        "description": "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."
      },
      {
        "name": "brapi_get_germplasm",
        "description": "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."
      },
      {
        "name": "brapi_get_image",
        "description": "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."
      },
      {
        "name": "brapi_get_study",
        "description": "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."
      },
      {
        "name": "brapi_raw_get",
        "description": "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."
      },
      {
        "name": "brapi_raw_search",
        "description": "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."
      },
      {
        "name": "brapi_server_info",
        "description": "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."
      },
      {
        "name": "brapi_walk_pedigree",
        "description": "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."
      }
    ],
    "actions_listed_on": "2026-12-03T04:19:20.167Z"
  },
  "json_url": "https://sundrybay.com/connectors/cyanheads/brapi-mcp-server.json",
  "markdown_url": "https://sundrybay.com/connectors/cyanheads/brapi-mcp-server.md"
}