# Slope Drainage Flow Calculator AI Agent Connect

> Slope Drainage Flow Calculator MCP handles the heavy lifting for hydrologic and hydraulic modeling. Your AI client uses this tool to calculate runoff volumes, determine channel capacities using Manning's equation, and set optimal spacing for drainage lines. It's built for engineers who need to verify outlet adequacy and design effective water management systems on sloped surfaces.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Dq4rKNsUWn1nX7DMW404tXSedKt9XhV5U8RcY3dd/ai-agent-connect
- **Tags:** hydrology, drainage, runoff, hydraulics, civil-engineering

## Description

You can now bring hydraulic modeling directly into your agent-driven design workflow. This MCP gives your agent the ability to solve complex water management problems on sloped terrain without you having to manually run formulas. Instead of jumping between spreadsheets and calculators, you give your AI client the site parameters. 

It handles everything from calculating the total volume of water generated during a specific rainfall event to assessing if a ditch or pipe can actually handle the predicted flow. You can use it to figure out how far apart your drainage lines should be or to double check that your existing outlets won't be overwhelmed by peak runoff. It's a specialized toolkit for civil and hydrologic engineering tasks that requires high precision and specific hydraulic equations.

## Tools

### calculate_channel_capacity
This tool calculates the maximum water volume a specific drainage channel can carry. It uses Manning's equation to determine flow based on your design parameters.

### calculate_drain_spacing
Use this to find the maximum allowable distance between drainage lines. It helps you determine how far apart to place infrastructure to manage runoff effectively.

### calculate_runoff_volume
This tool determines the total volume of water produced by a sloped area during a rainfall event. It factors in area size, rainfall intensity, and runoff coefficients.

### validate_outlet_adequacy
This tool checks if a drainage outlet can handle predicted loads. It compares your calculated runoff against the capacity of the outlet to ensure it won't fail.

## Prompt Examples

**Prompt:** 
```
Calculate the runoff volume for a 500 square meter slope with a rainfall intensity of 25 mm/h and a runoff coefficient of 0.3.
```

**Response:** 
```
The total runoff volume is 3.47 cubic meters and the peak flow rate is 0.00096 cubic meters per second.
```

**Prompt:** 
```
What is the capacity of a channel with an area of 0.5 square meters, a wetted perimeter of 1.2 meters, Manning's roughness of 0.015, and a slope grade of 0.02?
```

**Response:** 
```
The flow velocity is 1.35 meters per second and the discharge capacity is 0.675 cubic meters per second.
```

**Prompt:** 
```
Check if an outlet with a capacity of 0.5 cubic meters per second is adequate for a peak flow rate of 0.4 cubic meters per second.
```

**Response:** 
```
Yes, the outlet is adequate with a safety margin of 0.1 cubic meters per second.
```

## Capabilities

### Runoff Modeling
Your agent calculates total water volume based on slope area and rainfall intensity.

### Channel Sizing
Your agent uses Manning's equation to assess the capacity of ditches and pipes.

### Infrastructure Spacing
Your client determines the optimal distance between drainage lines for a given slope.

### Outlet Verification
The tool compares predicted runoff against outlet capacity to prevent overflows.

## Use Cases

### Site Drainage Design
Calculate the necessary spacing for drainage lines on a new construction site.

### Infrastructure Auditing
Check if existing ditches can handle increased runoff from new developments.

### Flood Risk Assessment
Determine the total runoff volume for a slope during extreme rainfall events.

### Pipe Sizing
Use channel capacity tools to select the correct diameter for drainage pipes.

## Benefits

- Eliminates manual Manning's equation calculations.
- Provides immediate verification of outlet capacity against predicted runoff.
- Automates the determination of drainage line spacing.
- Reduces errors in runoff volume estimation for sloped areas.

## How It Works

You connect the MCP to your AI client and start running hydraulic models through natural language.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide site parameters like slope, area, and rainfall intensity to your agent.
3. Your agent invokes the specific hydraulic tool needed for the task.
4. The MCP performs the calculation and returns the precise result to your client.

## Frequently Asked Questions

**What math does this MCP use for channel capacity?**
The MCP uses Manning's equation to calculate how much water a designed drainage channel can carry.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client including Claude, Cursor, and Windsurf.

**Does this tool handle runoff volume calculations?**
Yes, it includes a tool specifically designed to determine the total volume of water generated by a sloped area during rainfall.

**How does it help with drainage spacing?**
It includes a tool to find the maximum allowable distance between drainage lines to ensure effective water management.

**Can I verify if my drainage outlet is large enough?**
Yes, the validate_outlet_adequacy tool compares predicted runoff against the capacity of your drainage outlet.

**What can I calculate with this tool?**
You can calculate total runoff volume, peak flow rates, channel discharge capacity using Manning's roughness, optimal spacing for drainage lines, and whether an outlet is adequate for the predicted flow.

**Does this tool provide slope stability analysis?**
No, this tool is strictly for hydrologic and hydraulic flow calculations. It does not certify or analyze slope stability.

**How do I connect this to my AI client?**
You can connect this MCP server to Cursor, VS Code, Claude Desktop, or Windsurf using your personal Connection Token from the Vinkius dashboard via Vinkius Edge.
