# Environmental Geoscience IDF Calculator AI Agent Connect

> Environmental Geoscience IDF Calculator MCP gives your AI agent the mathematical tools needed for hydrological modeling. It handles rainfall intensity calculations using fitted statistical coefficients, verifies temporal scaling, and checks if your results stay within safe operational bounds.

## Overview
- **Category:** environmental-science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_oi871ffX8jQFhquUAki1QQmO6Ny8bpGe38nQrROM/ai-agent-connect
- **Tags:** rainfall, idf, hydrology, geoscience, meteorology

## Description

You can now run complex hydrological calculations directly through your AI client. This MCP provides the specific mathematical functions required to work with Intensity-Duration-Frequency (IDF) relationships. Instead of manually calculating rainfall intensity, you can provide your agent with fitted statistical coefficients and ask for specific values based on duration and return periods. 

Beyond simple calculation, the MCP helps you maintain statistical integrity. You can check if your requested temporal scaling is sound or if your calculated results fall outside the safe operational envelope of your original observations. It also lets you inspect the metadata and characteristic bounds of your coefficient sets to ensure your models remain grounded in real-world data. It is a specialized toolkit for geoscientists and hydrologists who want to move from raw data to validated intensity models without leaving their coding or reasoning environment.

## Tools

### calculate_idf_intensity
This tool calculates specific rainfall intensity for any given duration and return period using your fitted IDF parameters.

### check_out_of_bounds_status
Use this to see if a calculated intensity result falls outside the safe operational envelope of your data.

### get_idf_coefficients_metadata
This tool retrieves the metadata and characteristic bounds for a specific set of fitted IDF coefficients.

### verify_temporal_scaling_validity
This tool determines if the scaling of intensity across different time increments is statistically sound.

## Prompt Examples

**Prompt:** 
```
Calculate the rainfall intensity for a 30-minute duration with a 50-year return period using coefficients [0.5, 0.2, 0.1] and metric units. The observed durations are [15, 30, 60] and intensities are [10, 8, 5].
```

**Response:** 
```
The calculated rainfall intensity for a 30-minute duration with a 50-year return period is 8.0 mm/hr.
```

**Prompt:** 
```
Check if a scaling factor of 2.5 is valid for observed durations of [10, 20, 30].
```

**Response:** 
```
The scaling is valid with a confidence score of 0.85.
```

**Prompt:** 
```
What are the bounds for the coefficients [1.2, 0.5, 0.3]?
```

**Response:** 
```
The coefficients cover a duration range from 5 to 120 minutes with a mean intensity of 12.5 mm/hr.
```

## Capabilities

### Intensity Calculation
Your agent uses this to find specific rainfall values for any duration and return period.

### Statistical Validation
The AI checks if temporal scaling between time increments remains statistically sound.

### Boundary Checking
Your agent verifies if results stay within the safe operational envelope of the original data.

### Coefficient Inspection
The AI retrieves metadata and bounds for specific sets of fitted IDF coefficients.

## Use Cases

### Flood Risk Assessment
Use the tool to calculate rainfall intensities for specific return periods to model potential flood events.

### Hydrological Model Validation
Check if your scaled intensity values are statistically valid across different time increments.

### Coefficient Management
Inspect the bounds and metadata of coefficient sets to ensure they match your study area.

### Data Integrity Checks
Verify that your calculated intensity results do not exceed the safe operational limits of your observations.

## Benefits

- Calculates rainfall intensity using fitted statistical coefficients.
- Validates temporal scaling to ensure statistical soundness.
- Checks results against safe operational envelopes.
- Provides metadata for coefficient sets to prevent out-of-bounds errors.

## How It Works

You connect the MCP to your client and then provide your coefficients or data to your agent.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your fitted IDF coefficients or observed data to your AI agent.
3. Ask the agent to perform a specific calculation or validation check.
4. The agent executes the corresponding tool through the MCP.
5. Receive the calculated intensity, validation score, or metadata directly in your chat.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates specific rainfall intensity values based on given durations and return periods using fitted IDF coefficients.

**How does it handle statistical validity?**
The MCP includes a tool to verify if temporal scaling across different time increments is statistically sound.

**Can I check if my results are realistic?**
Yes, you can use the tool to check if a result is outside the safe operational envelope of your original observations.

**What clients can I use with this MCP?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**Does this MCP require me to host anything?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use as soon as you connect.

**How do I use the `calculate_idf_intensity` tool?**
Provide the historical durations, corresponding intensities, the target duration, the desired return period, the statistical coefficients, and the unit convention (metric or imperial).

**What does the `isExtrapolation` flag mean?**
The `isExtrapolation` flag is set to true if the target duration you requested falls outside the range of the historical durations provided in the input.

**Can I use this for drainage design approval?**
No, this tool is for calculation and analysis purposes only and does not provide engineering approvals for drainage design.
