# Animal Feed Formulator AI Agent Connect

> Optimizes cost-effective animal diets using linear programming.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_EQ9i1umicIY52cxk1XxwK3D3Fe9jfVG7puMUXDH9/ai-agent-connect
- **Tags:** nutrition, livestock, linear-programming, agriculture-tech, animal-science

## Description

This MCP server provides an optimization engine for animal nutrition. It uses the simplex method to calculate the most cost-effective ingredient combinations that satisfy specific nutritional profiles for cattle, swine, and poultry. Users can retrieve species-specific requirements using `get_species_requirements`, browse available ingredients with `get_available_ingredients`, and generate optimal diets via `formulate_ration`. The server also includes `validate_ration_safety` to ensure formulated mixes stay within biological safety thresholds.

## Tools

### get_species_requirements
Retrieves the standard nutritional target ranges for a specific animal species

### get_available_ingredients
Lists all ingredients available for formulation, including their nutritional content and cost

### validate_ration_safety
Checks if a previously formulated ration complies with safety thresholds for specific nutrients

### formulate_ration
Executes the linear programming optimization to create the cheapest possible feed mix

## Prompt Examples

**Prompt:** 
```
What are the nutritional requirements for cattle?
```

**Response:** 
```
Cattle require specific ranges for Crude Protein, TDN, and NDF to maintain health and growth.
```

**Prompt:** 
```
Formulate a ration for 500kg of swine feed.
```

**Response:** 
```
The optimized ration for 500kg of swine feed consists of 60% corn and 40% soybean meal, with a total cost of $125.00.
```

**Prompt:** 
```
Is this ration safe for poultry: 70% corn and 30% soybean meal?
```

**Response:** 
```
The ration is valid and meets the safety thresholds for poultry.
```

## Frequently Asked Questions

**What species are supported?**
The engine currently supports nutritional profiles for cattle, swine, and poultry.

**How does the optimization work?**
It uses the simplex method (linear programming) to minimize the total cost of the ration while meeting all minimum and maximum nutrient constraints.

**Can I set custom nutrient limits?**
Yes, you can provide custom constraints during the `formulate_ration` process to override standard species requirements.
