PP

plant-phenomics-lab/brapi-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

5 stars 4 forks 质量 76 趋势 33MIT

Jerry Yu, Akarsh Eathamukkala, Jay Shah, Benjamin Maza, Jerome Maleski

概览

Jerry Yu, Akarsh Eathamukkala, Jay Shah, Benjamin Maza, Jerome Maleski This server provides 10 powerful tools for accessing and analyzing plant breeding data from BrAPI-compatible servers: You can access some example workflows in the Examples folder. Conversational_Workflow.md and Covington_MetaAnalysis_EDA.md show some workflows that incorporate some complex interactive filtering. VS Code Copilot with Claude Sonnet/Haiku 4.5 were used to for the workflows. Download data from most BrAPI compatible servers. Generally use it to fetch data for subsequent searches. - "Where are all the locations that sweetpotatoes have been trialed on?" - "For the variantset with the dbID =5, what were the possible genotype calls?" Search and discover breeding data using advanced filters. Supports all search terms compatible with BrAPI. - "Find all studies in 'Mozambique' with 'Advanced Yield Trial' type.

README

以下为原文 README 节选,完整内容请查看原文。

Jerry Yu, Akarsh Eathamukkala, Jay Shah, Benjamin Maza, Jerome Maleski

🛠️ Tools Overview

This server provides 10 powerful tools for accessing and analyzing plant breeding data from BrAPI-compatible servers:

Tool Name Description
Core BrAPI Access
describe_server_capabilities Returns a list of accesible endpoints and searchable filters for the BrAPI compliant server you are connected to.
brapi_get Fetches data from any BrAPI GET endpoint. Supports filtering by Database ID (DbID) and pagination.
brapi_search Performs advanced searches using BrAPI POST search endpoints.
get_search_parameters Gets valid search parameters for a specific service. Use before brapi_search to see available filters.
get_image_search_parameters Retrieves valid filters for the image search endpoint.
download_images Downloads images from the BrAPI server to the local directory based on search criteria.
Data Processing & Management (Mostly for the Model)
get_result_summary Provides a summary of a saved result (columns, row count, size) without loading the full data.
load_result Loads a saved result (or a specific subset) into the conversation context for analysis. Supports pagination and column selection.
get_download_instructions Generates URLs and instructions for downloading a csv of saved results via HTTP.
quick_download_link Returns a direct download URL for a saved result, ideal for quick access.

You can access some example workflows in the Examples folder. Conversational_Workflow.md and Covington_MetaAnalysis_EDA.md show some workflows that incorporate some complex interactive filtering. VS Code Copilot with Claude Sonnet/Haiku 4.5 were used to for the workflows.

Examples

brapi_get

Download data from most BrAPI compatible servers. Generally use it to fetch data for subsequent searches.

Example Use Cases:

  • “Where are all the locations that sweetpotatoes have been trialed on?”
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "brapiserver": { "command": "uv", "args": [ "run", "--directory", "/path/to/Breedbase-Client", "src/main.py" ] } } }