# Peanut Aflatoxin Risk Model AI Agent Connect

> Predict aflatoxin contamination risk and economic impact in peanut crops.

## Overview
- **Category:** risk-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_jMUjEYevdTZvXNNfxD1w3UfA2rvC7lH2kkHy3pOt/ai-agent-connect
- **Tags:** agriculture, aflatoxin, peanut, risk-prediction, food-safety

## Description

This MCP server provides specialized tools for managing aflatoxin risks in peanut production. It connects AI agents to predictive models that analyze environmental stressors like soil temperature and drought to estimate toxin concentrations. Users can use `predict_contamination_risk` to assess contamination likelihood, `estimate_economic_impact` to project financial losses, `recommend_mitigation_strategy` for harvest and segregation advice, and `validate_regulatory_compliance` to ensure crops meet USA or Europe standards.

## Tools

### estimate_economic_impact
Calculates the projected financial loss based on the contamination risk

### predict_contamination_risk
Calculates the estimated toxin concentration and the likelihood of regulatory non-compliance

### recommend_mitigation_strategy
Provides actionable advice on when to harvest and how to sort the crop

### validate_regulatory_compliance
Checks if the predicted levels meet the specific requirements of US or European markets

## Prompt Examples

**Prompt:** 
```
What is the predicted aflatoxin risk if soil temperature is 30C, drought stress is 0.5, insect damage is 0.2, harvest is 2 days late, and curing humidity is 60%?
```

**Response:** 
```
The predicted aflatoxin concentration is 12 ppb with a low risk level.
```

**Prompt:** 
```
Will a predicted concentration of 25 ppb be compliant for the USA market?
```

**Response:** 
```
No, the concentration exceeds the FDA action level for the USA.
```

**Prompt:** 
```
What should I do to mitigate risk if the predicted concentration is 15 ppb and I have standard drying facilities?
```

**Response:** 
```
You should prioritize immediate harvest and implement a segregation strategy to separate high-risk batches.
```

## Frequently Asked Questions

**How does the model calculate contamination risk?**
The model uses `predict_contamination_risk` to evaluate cumulative stressors including soil temperature, drought intensity, insect damage, and curing humidity to estimate toxin levels.

**Can I check if my crop is safe for export?**
Yes, you can use the `validate_regulatory_compliance` tool to check predicted levels against USA or Europe regulatory thresholds.

**Does this tool help with financial planning?**
Yes, the `estimate_economic_impact` tool calculates projected financial losses based on predicted toxin concentrations and market prices.
