Koskamo

BESTPRED MCP

An MCP server providing USDA's BESTPRED lactation records, allowing AI agents to calculate 305-day and mature-equivalent milk, fat, and protein yields, along with reliability and persistency metrics from test day data.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

BESTPRED MCP logo, by Dairy Data ScienceCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-12-01Published by Dairy Data Science
MCP endpoint (Streamable HTTP)
https://bestpred.dairydatascience.com/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 0 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Calculate 305-day milk, fat, and protein yields
  • Determine mature-equivalent production metrics
  • Compute reliability and persistency scores
  • Analyze lactation records from test days

Source and maintenance

Community listingRegistry 0.3.1

Protocol and capabilities

Server
bestpred 0.3.1
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
0 advertised
Resource templates
0 advertised
Prompts
0 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

USDA's best prediction (BESTPRED) of dairy lactation yields: 305-day and 365-day milk, fat and protein, mature equivalent when the age is known, reliability and persistency, from a cow's test days. Use herd_lactations for a herd's test-day export, lactation for one cow, expected_curve for a cow's expected daily milk, and mature_equivalent_factors for USDA's age factors. Pounds unless the user works in kilograms. 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.

Tools

4 advertised

lactation — One cow's lactation record
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

lactation input schema
{
  "type": "object",
  "$defs": {
    "MilkTest": {
      "type": "object",
      "title": "MilkTest",
      "required": [
        "dim",
        "milk"
      ],
      "properties": {
        "dim": {
          "type": "integer",
          "title": "Dim",
          "description": "Days in milk on the test day"
        },
        "fat": {
          "type": "number",
          "title": "Fat",
          "default": 0,
          "description": "Fat %, 0 if not tested"
        },
        "scs": {
          "type": "number",
          "title": "Scs",
          "default": 0,
          "description": "Somatic cell score (linear score, 0-9.9), 0 if not tested"
        },
        "milk": {
          "type": "number",
          "title": "Milk",
          "description": "Milk that day, lb (or kg)"
        },
        "protein": {
          "type": "number",
          "title": "Protein",
          "default": 0,
          "description": "Protein %, 0 if not tested"
        }
      },
      "description": "One test day."
    }
  },
  "title": "lactationArguments",
  "required": [
    "tests",
    "parity",
    "fresh"
  ],
  "properties": {
    "breed": {
      "type": "string",
      "title": "Breed",
      "default": "H"
    },
    "fresh": {
      "type": "string",
      "title": "Fresh"
    },
    "state": {
      "type": "string",
      "title": "State",
      "default": ""
    },
    "tests": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MilkTest"
      },
      "title": "Tests"
    },
    "units": {
      "type": "string",
      "title": "Units",
      "default": "lb"
    },
    "parity": {
      "type": "integer",
      "title": "Parity"
    },
    "herd_fat": {
      "type": "number",
      "title": "Herd Fat",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "herd_scs": {
      "type": "number",
      "title": "Herd Scs",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "herd_milk": {
      "type": "number",
      "title": "Herd Milk",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "age_months": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Age Months",
      "default": null
    },
    "match_usda": {
      "type": "boolean",
      "title": "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."
    },
    "herd_protein": {
      "type": "number",
      "title": "Herd Protein",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "prev_days_open": {
      "type": "integer",
      "title": "Prev Days Open",
      "default": 0
    }
  }
}
lactation annotations
{
  "title": "One cow's lactation record",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
expected_curve — A cow's expected daily milk
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

expected_curve input schema
{
  "type": "object",
  "$defs": {
    "MilkTest": {
      "type": "object",
      "title": "MilkTest",
      "required": [
        "dim",
        "milk"
      ],
      "properties": {
        "dim": {
          "type": "integer",
          "title": "Dim",
          "description": "Days in milk on the test day"
        },
        "fat": {
          "type": "number",
          "title": "Fat",
          "default": 0,
          "description": "Fat %, 0 if not tested"
        },
        "scs": {
          "type": "number",
          "title": "Scs",
          "default": 0,
          "description": "Somatic cell score (linear score, 0-9.9), 0 if not tested"
        },
        "milk": {
          "type": "number",
          "title": "Milk",
          "description": "Milk that day, lb (or kg)"
        },
        "protein": {
          "type": "number",
          "title": "Protein",
          "default": 0,
          "description": "Protein %, 0 if not tested"
        }
      },
      "description": "One test day."
    }
  },
  "title": "expected_curveArguments",
  "required": [
    "tests",
    "parity",
    "fresh"
  ],
  "properties": {
    "breed": {
      "type": "string",
      "title": "Breed",
      "default": "H"
    },
    "every": {
      "type": "integer",
      "title": "Every",
      "default": 7
    },
    "fresh": {
      "type": "string",
      "title": "Fresh"
    },
    "tests": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MilkTest"
      },
      "title": "Tests"
    },
    "units": {
      "type": "string",
      "title": "Units",
      "default": "lb"
    },
    "parity": {
      "type": "integer",
      "title": "Parity"
    },
    "herd_milk": {
      "type": "number",
      "title": "Herd Milk",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "match_usda": {
      "type": "boolean",
      "title": "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."
    }
  }
}
expected_curve annotations
{
  "title": "A cow's expected daily milk",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mature_equivalent_factors — Mature-equivalent factors
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

mature_equivalent_factors input schema
{
  "type": "object",
  "title": "mature_equivalent_factorsArguments",
  "required": [
    "age_months",
    "fresh",
    "parity",
    "state"
  ],
  "properties": {
    "breed": {
      "type": "string",
      "title": "Breed",
      "default": "H"
    },
    "fresh": {
      "type": "string",
      "title": "Fresh"
    },
    "state": {
      "type": "string",
      "title": "State"
    },
    "parity": {
      "type": "integer",
      "title": "Parity"
    },
    "age_months": {
      "type": "integer",
      "title": "Age Months"
    },
    "prev_days_open": {
      "type": "integer",
      "title": "Prev Days Open",
      "default": 0
    }
  }
}
mature_equivalent_factors annotations
{
  "title": "Mature-equivalent factors",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
herd_lactations — A herd's lactation records
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

herd_lactations input schema
{
  "type": "object",
  "title": "herd_lactationsArguments",
  "required": [
    "csv_text"
  ],
  "properties": {
    "state": {
      "type": "string",
      "title": "State",
      "default": ""
    },
    "units": {
      "type": "string",
      "title": "Units",
      "default": "lb"
    },
    "csv_text": {
      "type": "string",
      "title": "Csv Text"
    },
    "herd_fat": {
      "type": "number",
      "title": "Herd Fat",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "herd_scs": {
      "type": "number",
      "title": "Herd Scs",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "herd_milk": {
      "type": "number",
      "title": "Herd Milk",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    },
    "match_usda": {
      "type": "boolean",
      "title": "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."
    },
    "herd_protein": {
      "type": "number",
      "title": "Herd Protein",
      "default": 0,
      "description": "The herd's 305-day mature-equivalent average; 0 if unknown (the breed average is used)"
    }
  }
}
herd_lactations annotations
{
  "title": "A herd's lactation records",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (10 of 10 answered).

  1. 2026-12-02: 4 of 4 checks answered
  2. 2026-12-03: 4 of 4 checks answered
  3. 2026-12-04: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
859 ms
95th percentile latency
859 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 859 ms · metadata changed · 4 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http bestpred-mcp https://bestpred.dairydatascience.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add bestpred-mcp --url https://bestpred.dairydatascience.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable bestpred-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "bestpred-mcp": {
      "url": "https://bestpred.dairydatascience.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "bestpred-mcp": {
      "type": "streamableHttp",
      "url": "https://bestpred.dairydatascience.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start bestpred-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "bestpred-mcp": {
      "type": "http",
      "url": "https://bestpred.dairydatascience.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http bestpred-mcp https://bestpred.dairydatascience.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://bestpred.dairydatascience.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "bestpred-mcp": {
      "serverUrl": "https://bestpred.dairydatascience.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like BESTPRED MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.