# Agro Monitoring MCP

> Agro Monitoring MCP connects your AI agent directly to high-resolution satellite imagery, hyper-local weather forecasts, and ground soil metrics. You can track crop health using historical NDVI/EVI data or get real-time measurements for soil moisture and UV index across defined fields.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Tags:** ndvi, satellite-imagery, precision-agriculture, soil-moisture, weather-data

## Description

This MCP lets you analyze agricultural land like a professional GIS analyst does—all through natural conversation. Instead of logging into separate services for weather, satellite views, and soil reports, your agent handles it all. You can define specific areas on a farm using polygons and then query that area against multiple data streams simultaneously. Need to know if the cornfield is stressed? Your agent pulls historical NDVI/EVI data from imagery sources. Want to plan irrigation? It fetches accumulated precipitation alongside current soil moisture levels. All of this raw environmental detail—from UV index tracking to long-term weather trends—is available via your AI client through Vinkius, keeping all the complex math and data plumbing out of your hands.

## Tools

### delete_polygon
Removes an existing polygon from your registered list.

### get_current_weather
Gives you immediate details on temperature, wind, and general weather conditions.

### get_current_uvi
Checks the real-time Ultraviolet Index reading for optimal outdoor work planning.

### create_polygon
Draws and saves a new, specific area of interest (a polygon) on the map.

### get_accumulated_precipitation
Retrieves the total amount of rain that has fallen over a specified period.

### get_accumulated_temperature
Calculates and returns the cumulative temperature reading for an area.

### get_forecast_uvi
Predicts the UV Index for upcoming days so you can plan protective gear.

### get_forecast_weather
Provides predicted weather details, like expected rain or temperature swings, for the near future.

### get_historical_soil
Retrieves soil moisture and temperature records from previous dates.

### get_historical_uvi
Looks up past UV Index readings to assess seasonal exposure risk.

### get_current_soil
Fetches immediate data on soil moisture and surface temperature at a location.

### get_historical_weather
Pulls full weather reports for a given area and date range from the past.

### get_ndvi_history
Retrieves time-series data on Normalized Difference Vegetation Index (NDVI) and EVI.

### get_polygon
Displays the specific details of a single, identified polygon.

### list_polygons
Returns a complete list and basic info for all polygons you have defined.

### search_imagery
Searches available satellite imagery files based on date or location parameters.

### update_polygon
Modifies the boundaries or name of an existing polygon area.

## Prompt Examples

**Prompt:** 
```
List all my registered agricultural polygons.
```

**Response:** 
```
I've retrieved your polygons. You have 3 registered areas: 'North Corn Field' (ID: 64b1...), 'South Vineyard' (ID: 64b2...), and 'Experimental Plot' (ID: 64b3...).
```

**Prompt:** 
```
Get the NDVI history for polygon 64b123456789 for the last 30 days.
```

**Response:** 
```
Fetching NDVI data... For the last 30 days, the average NDVI for 'North Corn Field' started at 0.65 and increased to 0.78, indicating healthy growth. There are 4 data points available from Sentinel-2.
```

**Prompt:** 
```
What is the current soil moisture and temperature at coordinates 45.5, -73.6?
```

**Response:** 
```
Checking soil conditions... At those coordinates, the current soil moisture is 0.28 m3/m3 and the surface temperature is 22.4°C (72.3°F).
```

## Capabilities

### Define Field Boundaries
Create, list, or update polygons that precisely mark the areas you want to analyze on a farm.

### Track Crop Health Over Time
Retrieve historical NDVI and EVI data by searching for available satellite imagery to gauge growth trends.

### Analyze Climate Patterns
Get current, forecast, or historical weather metrics, including total accumulated temperature and precipitation.

### Check Ground Conditions
Access real-time and historical data on soil moisture levels and surface temperatures.

## Use Cases

### Troubleshooting low yield in a specific corner of the farm
The agronomist asks: 'Check Polygon A.' The agent responds by calling `get_ndvi_history` for that polygon, then runs `get_historical_soil` to see if moisture dropped during the critical growth phase. The combined data points to a specific soil drainage issue.

### Preparing for harvest season
The farmer asks: 'What's the weather outlook?' The agent pulls `get_forecast_weather` and checks if accumulated temperature is within optimal ranges, advising on when to start pre-harvest treatments.

### Assessing environmental risk for planting
The scientist asks: 'What were the conditions last fall?' The agent executes a multi-call sequence: `get_historical_uvi` and `get_accumulated_precipitation`, giving a complete picture of past climate stress.

### Updating field boundaries after clearing land
The team leader asks the system to update the map. The agent first uses `list_polygons` to find the old boundary, and then runs `update_polygon` with the new GPS coordinates.

## Benefits

- Analyze crop health by retrieving historical NDVI/EVI data. Instead of reading separate reports, your agent uses `get_ndvi_history` to show clear growth trends over months.
- Consolidate all climate metrics. You can call for total accumulated temperature and precipitation in one go, letting you compare the two variables instantly.
- Manage field boundaries precisely using polygon tools. Use `list_polygons` first, then use `create_polygon` to define exactly which area needs monitoring.
- Plan labor movements with certainty. By calling both `get_forecast_weather` and `get_current_uvi`, you get a full picture of environmental risks for the week ahead.
- See long-term trends easily. You don't need separate dashboards for soil reports; fetching historical data via `get_historical_soil` lets you see degradation over time.

## How It Works

The bottom line is you query one unified system instead of connecting to dozens of specialized environmental databases.

1. Subscribe to this MCP and enter your AgroMonitoring API Key.
2. Your AI client sends a command, like 'Check the weather for Field X last week.'
3. The MCP processes the request by calling multiple underlying tools and returns a structured data report containing all requested metrics.

## Frequently Asked Questions

**How do I find out if my crops are healthy using Agro Monitoring MCP?**
You use `get_ndvi_history`. This tool processes satellite imagery to give you NDVI and EVI, which shows growth patterns over time. It's the standard way to track crop health.

**Can I check both current soil moisture and historical weather data?**
Yes. You call `get_current_soil` for real-time readings, and then separately use `get_historical_weather` to pull past climate records for comparison.

**Which tool should I use to define a new field area?**
You must first use `create_polygon`. This saves the precise coordinates of your field so you can refer to it later using tools like `get_polygon` or `list_polygons`.

**Does Agro Monitoring MCP handle rainfall measurements?**
Yes. You use `get_accumulated_precipitation` to get the total amount of rain that fell over a specific period you specify.

**How do I find all my registered fields using the `list_polygons` tool?**
You use the `list_polygons` tool. It returns a complete list of every polygon you've defined, giving you their unique IDs and boundaries immediately. If you need detailed information on one specific area after listing them all, follow up with `get_polygon`.

**What process should I follow to predict future weather conditions using `get_forecast_weather`?**
Simply call the `get_forecast_weather` tool. This fetches expected weather patterns for a specified time range, letting you plan activities like planting or irrigation ahead of time. It's essential for proactive resource management.

**How do I locate specific historical satellite data using the `search_imagery` tool?**
You use `search_imagery`, providing the necessary coordinates and date filters. This searches available archives for high-resolution imagery, helping you pinpoint the exact source material needed to analyze a particular field condition.

**If my farm boundaries change, how do I correct the area using the `update_polygon` tool?**
You call `update_polygon`, supplying the polygon ID and the new boundary coordinates. This method updates your records to accurately reflect physical changes without forcing you to delete and recreate the entire field profile.

**How do I define a new field for monitoring?**
Use the `create_polygon` tool. You need to provide a name and the area's geometry in GeoJSON format (coordinates). This polygon ID will then be used for satellite and soil queries.

**Can I check the historical health of my crops?**
Yes! Use the `get_ndvi_history` tool with your Polygon ID and a time range. It returns NDVI and EVI data, which are key indicators of vegetation vigor and growth.

**What kind of soil data can I retrieve?**
You can use `get_current_soil` or `get_historical_soil` to get moisture levels and surface temperature for a specific polygon, helping you optimize irrigation schedules.