# Environmental Geoscience Unit Hydrograph Calculator AI Agent Connect

> Environmental Geoscience Unit Hydrograph Calculator gives your AI agent the hydrological math needed for watershed analysis. It handles everything from deriving primary ordinates to calculating specific storm runoff and auditing hydrograph integrity. Connect it to Claude, Cursor, or Windsurf to turn your AI client into a specialized geoscience tool.

## Overview
- **Category:** environmental-science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_lITr22R02GzzaPJkshegPBSidSRW2md1IYQKnz83/ai-agent-connect
- **Tags:** hydrograph, watershed, runoff, rainfall, geoscience

## Description

You can now perform complex hydrological modeling directly through your AI client. This MCP provides the mathematical framework to analyze how watersheds respond to rainfall. Instead of manually calculating ordinates or running convolutions, you tell your agent what the basin parameters and rainfall data look like, and it handles the heavy lifting. 

You can use it to build a primary unit hydrograph from scratch or apply existing ones to specific storm events to see the resulting runoff. If you have a discharge series and need to know the peak flow or total volume, the MCP extracts those metrics instantly. It also includes a validation step to check that your hydrographs remain physically consistent. It is built for engineers and geoscientists who need to move from raw rainfall data to actionable runoff models without leaving their coding or chat environment.

## Tools

### apply_storm_convolution
This tool calculates the resulting runoff hydrograph for a specific storm event. It uses the unit hydrograph to model how a given rainfall pattern affects the watershed.

### calculate_hydrograph_statistics
This tool extracts summary metrics from a discharge series. It pulls specific data like peak flow and total volume from your provided datasets.

### generate_unit_hydrograph
This tool derives the primary Unit Hydrograph ordinates and characteristics. It uses your basin parameters and rainfall inputs to build the base model.

### validate_hydrograph_integrity
This tool performs a deep audit of a provided hydrograph. It checks the data to ensure it maintains physical consistency for hydrological modeling.

## Prompt Examples

**Prompt:** 
```
Generate a unit hydrograph for a 100 hectare basin with a 1 hour time step.
```

**Response:** 
```
The unit hydrograph has been generated with a peak discharge of 15.5 m³/s and a total volume of 1200 m³.
```

**Prompt:** 
```
What are the statistics for this discharge series: [10, 20, 30, 20, 10] with a 0.5 hour time step?
```

**Response:** 
```
The peak flow is 30.0, the total volume is 45.0, the average flow is 18.0, and the duration is 2.5 hours.
```

**Prompt:** 
```
Apply a storm with rainfall [5, 10, 5] to the existing unit hydrograph.
```

**Response:** 
```
The resulting runoff hydrograph has a total runoff volume of 250.0 m³.
```

## Capabilities

### Unit Hydrograph Generation
Your agent uses this to build primary ordinates based on basin parameters.

### Storm Event Modeling
The AI applies rainfall patterns to existing hydrographs to predict runoff.

### Data Auditing
Your agent checks hydrograph data for physical consistency and errors.

### Metric Extraction
The tool pulls peak flow and volume data from discharge series.

### Watershed Response Analysis
Your agent calculates how specific rainfall events change runoff patterns.

## Use Cases

### Storm Runoff Prediction
Apply specific rainfall amounts to a unit hydrograph to see how a watershed will react.

### Basin Characterization
Generate primary ordinates for new basins using specific area and time step parameters.

### Data Quality Control
Run an audit on existing hydrograph datasets to ensure they are physically valid.

### Hydrological Reporting
Quickly get peak flow and total volume stats from a discharge series for documentation.

## Benefits

- Moves from rainfall data to runoff models through direct AI commands.
- Automates the extraction of peak flow and volume metrics.
- Validates hydrograph data to ensure physical consistency.
- Handles storm convolution without manual mathematical modeling.

## How It Works

You connect the MCP to your client and then use natural language to trigger hydrological calculations.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide basin parameters or rainfall data in your prompt.
3. The agent calls the necessary tool to process the math.
4. The agent returns the calculated hydrograph, statistics, or validation results.

## Frequently Asked Questions

**What AI clients can I use with this MCP?**
You can use any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You just connect your client and start using the tools.

**Can I use this to check if my hydrograph data is valid?**
Yes, the validate_hydrograph_integrity tool performs a deep audit to ensure the data is physically consistent.

**How do I get peak flow values?**
You can use the calculate_hydrograph_statistics tool to extract peak flow and volume from a discharge series.

**Can I model specific storm events?**
Yes, the apply_storm_convolution tool allows you to apply rainfall patterns to a unit hydrograph to find the resulting runoff.

**How do I generate a new unit hydrograph?**
You can use the `generate_unit_hydrograph` tool by providing the basin area, excess rainfall duration, rainfall ordinates, time step, and a normalization target.

**Can I check if my hydrograph data is physically consistent?**
Yes, the `validate_hydrograph_integrity` tool performs a deep audit to ensure the discharge values meet mathematical and physical requirements.

**How do I calculate runoff for a specific storm event?**
Use the `apply_storm_convolution` tool with your pre-calculated unit hydrograph ordinates and the new storm's excess rainfall data.
