# Fertilizer Calculator AI Agent Connect

> Calculate precise NPK requirements and optimized fertilizer blends.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_FFJva5ch1bpIAsTj2i3bhiPt7Dr1Ivb1rKQou40V/ai-agent-connect
- **Tags:** npk, fertilizer, soil, agriculture, nutrient

## Description

This MCP server provides professional-grade agricultural nutrient calculations. It bridges the gap between soil analysis and field application by determining exact nutrient requirements. Use `calculate_nutrient_gap` to find the N, P2O5, and K2O needs based on soil status and crop type. You can also use `convert_nutrient_forms` to switch between elemental and oxide representations, or `recommend_fertilizer_blend` to find the most cost-effective fertilizer combinations for your specific nutrient gap.

## Tools

### calculate_nutrient_gap
Determines the exact amount of N, P2O5, and K2O that needs to be added to the soil to meet crop requirements

### convert_nutrient_forms
Translates between elemental nutrients and their oxide representations

### get_crop_extraction_data
Retrieves the theoretical nutrient removal values for a specific crop and yield

### recommend_fertilizer_blend
Suggests the most cost-effective combination of available fertilizers to satisfy the calculated nutrient gap

## Prompt Examples

**Prompt:** 
```
What is the nutrient gap for Corn with a target yield of 10 tons/ha, given soil N is 20, P2O5 is 15, and K2O is 10?
```

**Response:** 
```
The required nutrient gap for Corn is 85.0 kg/ha of Nitrogen, 42.5 kg/ha of P2O5, and 30.0 kg/ha of K2O.
```

**Prompt:** 
```
Convert 50 units of elemental Phosphorus to its oxide form.
```

**Response:** 
```
50 units of elemental Phosphorus is equivalent to 115.0 units of P2O5.
```

**Prompt:** 
```
Recommend a blend for a gap of N:20, P2O5:10, K2O:15 using fertilizers: [{"name": "NPK_10_10_10", "n": 10, "p": 10, "k": 10, "cost": 5}, {"name": "High_N", "n": 30, "p": 0, "k": 0, "cost": 8}]
```

**Response:** 
```
The recommended blend is 2 units of NPK_10_10_10 and 0.33 units of High_N for a total cost of 12.67.
```

## Frequently Asked Questions

**How do I calculate the nutrient gap for my crop?**
You can use the `calculate_nutrient_gap` tool. Provide the crop type, target yield, and the current soil nutrient levels to get the exact N, P2O5, and K2O requirements.

**Can I get recommendations for specific fertilizer products?**
Yes. Once you have calculated your nutrient gap, use the `recommend_fertilizer_blend` tool along with your available fertilizer catalog to find the cheapest combination.

**What is the difference between elemental and oxide forms?**
Agricultural products often use oxide forms like P2O5 and K2O. You can use `convert_nutrient_forms` to translate between these and elemental N, P, or K.
