# Crop Yield Estimator AI Agent Connect

> Estimates agricultural production by synthesizing planting metrics and soil constraints.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_e9yrJ4gXa8dfvVgDwcn629TsodOsO4n6HMFB8ODc/ai-agent-connect
- **Tags:** farming, yield, soil, agronomy, prediction

## Description

This MCP server provides a specialized engine for calculating expected crop yields. It bridges the gap between biological potential and environmental reality by processing planting parameters, survival rates, and soil-specific physiological constraints. Users can use `calculate_biological_yield` to determine theoretical potential, `apply_soil_corrections` to adjust for pH, organic matter, and CEC, and `get_production_confidence` to establish statistical yield ranges based on historical variance.

## Tools

### apply_soil_corrections
Adjusts a biological yield estimate based on the physiological constraints of the specific soil type and crop

### calculate_biological_yield
Determines the theoretical yield based solely on planting and survival metrics

### get_production_confidence
Provides a statistical range for the estimated yield to account for environmental uncertainty

### query_crop_metadata
Retrieves the standard coefficients and variance data for a specific crop

## Prompt Examples

**Prompt:** 
```
Calculate the biological yield for 50 hectares with a seed density of 300, a germination rate of 0.9, a survival rate of 0.8, and an average grain weight of 0.5kg.
```

**Response:** 
```
The expected yield per hectare is 108 kg/ha, and the total harvest for 50 hectares is 5,400 kg.
```

**Prompt:** 
```
Adjust a base yield of 2000 kg/ha for Maize using a soil pH of 6.5, organic matter of 3%, and CEC of 15.
```

**Response:** 
```
The corrected yield for Maize after soil adjustments is 2,150 kg/ha.
```

**Prompt:** 
```
What is the confidence interval for a Wheat yield of 3500 kg/ha?
```

**Response:** 
```
The expected yield range for Wheat is between 3,150 kg/ha and 3,850 kg/ha.
```

## Frequently Asked Questions

**How does the engine account for soil quality?**
The engine uses `apply_soil_corrections` to adjust the base biological yield using specific coefficients for pH, organic matter, and Cation Exchange Capacity (CEC) tailored to the selected crop type.

**Can I get a range for my yield estimates?**
Yes, by using `get_production_confidence`, you can retrieve a lower and upper bound for your estimated yield based on historical variance for that specific crop.

**What inputs are required for the initial yield calculation?**
To use `calculate_biological_yield`, you need the planted area, seed density, germination rate, survival rate, and the average grain weight per plant.
