# Dairy Somatic Cell Score Analyzer AI Agent Connect

> Calculate bulk tank somatic cell count (BTSCC) contributions and quantify mastitis economic impact.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_CZE9Pu2GOxHQlOV6EXpKw2YsoB26PtxkivkY4Jni/ai-agent-connect
- **Tags:** dairy, mastitis, scc, economics, herd-health

## Description

This MCP server provides specialized analytical tools for dairy producers to monitor herd health and profitability. It allows for the calculation of volume-weighted bulk tank somatic cell count (BTSCC) using `get_weighted_btscs`. Producers can estimate financial losses from mastitis using `calculate_economic_impact`, determine if individual cows should be removed from the herd via `evaluate_culling_status`, and model potential infection spread with `predict_outbreak_scenario`.

## Tools

### get_weighted_btscs
Calculates the total somatic cell contribution of the whole herd to the bulk tank

### predict_outbreak_scenario
Models how an infection might spread through the herd based on current infection levels

### evaluate_culling_status
Determines if a cow has exceeded the threshold for economic viability

### calculate_economic_impact
Estimates the total financial loss for a specific cow or a herd due to mastitis

## Prompt Examples

**Prompt:** 
```
Calculate the weighted BTSCC for a herd where Cow A has an SCC score of 250 and produces 30kg of milk, and Cow B has an SCC score of 400 and produces 20kg of milk.
```

**Response:** 
```
The weighted BTSCC for the herd is 300.
```

**Prompt:** 
```
What is the economic impact for a cow with an SCC score of 500, producing 40kg of milk, with a milk price of 0.40 and a penalty of 0.05 per unit of SCC?
```

**Response:** 
```
The total economic loss for this cow is 2.00.
```

**Prompt:** 
```
Predict the outbreak risk if there are 5 infected cows in a herd of 100 with a transmission factor of 1.5.
```

**Response:** 
```
The predicted number of infected cows is 7, and the risk level is low.
```

## Frequently Asked Questions

**How is the bulk tank SCC calculated?**
The `get_weighted_btscs` tool calculates a volume-weighted average, ensuring that cows producing more milk have a proportional impact on the total bulk tank score.

**Can I estimate the cost of mastitis in my herd?**
Yes, by using `calculate_economic_impact`, you can estimate production losses and quality penalties based on current SCC levels and milk prices.

**How do I know if a cow should be culled?**
The `evaluate_culling_status` tool compares a cow's current SCC score against your defined economic threshold to recommend if culling is necessary.
