BESTPRED lactation records
USDA's best prediction of dairy lactation yields: 305-day and ME milk, fat, protein from test days.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"bestpred": {
"command": "uvx",
"args": [
"bestpred-mcp"
]
}
}
}Paquetes ejecutables
0.3.1stdioPuntos de conexión remotos
https://bestpred.dairydatascience.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢lactation(tests, parity, fresh, breed, age_months, ...)
Best prediction for one cow from her test days: 305-day and 365-day milk, fat and protein (and mature equivalent when age_months is given), reliability, persistency and data collection rating. Report these numbers as they are: they come from USDA's best prediction method (BESTPRED 2.0rc7), checked against USDA's own program. Never estimate a lactation yourself.
Esquema de entrada
{
"type": "object",
"properties": {
"tests": {
"items": {
"$ref": "#/$defs/MilkTest"
},
"title": "Tests",
"type": "array"
},
"parity": {
"title": "Parity",
"type": "integer"
},
"fresh": {
"title": "Fresh",
"type": "string"
},
"breed": {
"default": "H",
"title": "Breed",
"type": "string"
},
"age_months": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Age Months"
},
"prev_days_open": {
"default": 0,
"title": "Prev Days Open",
"type": "integer"
},
"state": {
"default": "",
"title": "State",
"type": "string"
},
"herd_milk": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Milk",
"type": "number"
},
"herd_fat": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Fat",
"type": "number"
},
"herd_protein": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Protein",
"type": "number"
},
"herd_scs": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Scs",
"type": "number"
},
"units": {
"default": "lb",
"title": "Units",
"type": "string"
},
"match_usda": {
"default": false,
"description": "True to use only a lactation's first 50 test days, as USDA's own program does. By default there is no limit, so daily milk weights all count.",
"title": "Match Usda",
"type": "boolean"
}
},
"required": [
"tests",
"parity",
"fresh"
],
"$defs": {
"MilkTest": {
"description": "One test day.",
"properties": {
"dim": {
"description": "Days in milk on the test day",
"title": "Dim",
"type": "integer"
},
"milk": {
"description": "Milk that day, lb (or kg)",
"title": "Milk",
"type": "number"
},
"fat": {
"default": 0,
"description": "Fat %, 0 if not tested",
"title": "Fat",
"type": "number"
},
"protein": {
"default": 0,
"description": "Protein %, 0 if not tested",
"title": "Protein",
"type": "number"
},
"scs": {
"default": 0,
"description": "Somatic cell score (linear score, 0-9.9), 0 if not tested",
"title": "Scs",
"type": "number"
}
},
"required": [
"dim",
"milk"
],
"title": "MilkTest",
"type": "object"
}
},
"title": "lactationArguments"
}🟢expected_curve(tests, parity, fresh, breed, every, ...)
A cow's expected daily milk to day 305 from her test days (her herd curve plus her own deviation), one point every `every` days, to compare with what she is giving. Report these numbers as they are: they come from USDA's best prediction method (BESTPRED 2.0rc7), checked against USDA's own program. Never estimate a lactation yourself.
Esquema de entrada
{
"type": "object",
"properties": {
"tests": {
"items": {
"$ref": "#/$defs/MilkTest"
},
"title": "Tests",
"type": "array"
},
"parity": {
"title": "Parity",
"type": "integer"
},
"fresh": {
"title": "Fresh",
"type": "string"
},
"breed": {
"default": "H",
"title": "Breed",
"type": "string"
},
"every": {
"default": 7,
"title": "Every",
"type": "integer"
},
"herd_milk": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Milk",
"type": "number"
},
"units": {
"default": "lb",
"title": "Units",
"type": "string"
},
"match_usda": {
"default": false,
"description": "True to use only a lactation's first 50 test days, as USDA's own program does. By default there is no limit, so daily milk weights all count.",
"title": "Match Usda",
"type": "boolean"
}
},
"required": [
"tests",
"parity",
"fresh"
],
"$defs": {
"MilkTest": {
"description": "One test day.",
"properties": {
"dim": {
"description": "Days in milk on the test day",
"title": "Dim",
"type": "integer"
},
"milk": {
"description": "Milk that day, lb (or kg)",
"title": "Milk",
"type": "number"
},
"fat": {
"default": 0,
"description": "Fat %, 0 if not tested",
"title": "Fat",
"type": "number"
},
"protein": {
"default": 0,
"description": "Protein %, 0 if not tested",
"title": "Protein",
"type": "number"
},
"scs": {
"default": 0,
"description": "Somatic cell score (linear score, 0-9.9), 0 if not tested",
"title": "Scs",
"type": "number"
}
},
"required": [
"dim",
"milk"
],
"title": "MilkTest",
"type": "object"
}
},
"title": "expected_curveArguments"
}🟢mature_equivalent_factors(age_months, fresh, parity, state, breed, ...)
USDA's factors that turn a cow's actual 305-day milk, fat and protein into mature equivalent, for her breed, age at calving, calving month, parity, state and previous days open. Report these numbers as they are: they come from USDA's best prediction method (BESTPRED 2.0rc7), checked against USDA's own program. Never estimate a lactation yourself.
Esquema de entrada
{
"type": "object",
"properties": {
"age_months": {
"title": "Age Months",
"type": "integer"
},
"fresh": {
"title": "Fresh",
"type": "string"
},
"parity": {
"title": "Parity",
"type": "integer"
},
"state": {
"title": "State",
"type": "string"
},
"breed": {
"default": "H",
"title": "Breed",
"type": "string"
},
"prev_days_open": {
"default": 0,
"title": "Prev Days Open",
"type": "integer"
}
},
"required": [
"age_months",
"fresh",
"parity",
"state"
],
"title": "mature_equivalent_factorsArguments"
}🟢herd_lactations(csv_text, state, herd_milk, herd_fat, herd_protein, ...)
Best prediction for every lactation in a herd's test-day export (CSV, one row per cow per test; DHI or DairyComp columns such as ID, LACT, FDAT, DIM or TDAT, MILK, PCTF, PCTP, SCS; AGE in months adds mature equivalent). Returns a summary by parity and the least persistent cows; with the full table when the herd is small. Report these numbers as they are: they come from USDA's best prediction method (BESTPRED 2.0rc7), checked against USDA's own program. Never estimate a lactation yourself.
Esquema de entrada
{
"type": "object",
"properties": {
"csv_text": {
"title": "Csv Text",
"type": "string"
},
"state": {
"default": "",
"title": "State",
"type": "string"
},
"herd_milk": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Milk",
"type": "number"
},
"herd_fat": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Fat",
"type": "number"
},
"herd_protein": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Protein",
"type": "number"
},
"herd_scs": {
"default": 0,
"description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)",
"title": "Herd Scs",
"type": "number"
},
"units": {
"default": "lb",
"title": "Units",
"type": "string"
},
"match_usda": {
"default": false,
"description": "True to use only a lactation's first 50 test days, as USDA's own program does. By default there is no limit, so daily milk weights all count.",
"title": "Match Usda",
"type": "boolean"
}
},
"required": [
"csv_text"
],
"title": "herd_lactationsArguments"
}Comunidad
Evidencia