# Road Superelevation & Crossfall Calculator AI Agent Connect

> Road Superelevation & Crossfall Calculator MCP handles the heavy lifting for transverse road geometry. Your AI client can determine specific section crossfalls, compute design rates, and analyze vertical height differences between lanes. It also generates station reports to summarize roadway geometry across multiple points.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_DfTxM4VGG8jarXUEtkurMIr1gtRb9DXWqRz1oEZ4/ai-agent-connect
- **Tags:** road-design, geometry, civil-engineering, superelevation, crossfall

## Description

You can now bring precise civil engineering calculations directly into your agent workflow. This MCP gives your agent the ability to handle complex transverse road geometry without manual math. Instead of jumping between spreadsheets and calculators, you provide the dimensions and elevations to your AI client. It can determine the crossfall of a specific road section, calculate the overall design rate for a full cross-section, or find the vertical height differences between adjacent lanes. If you are working across a long stretch of road, you can have your agent process a series of station points to generate a full geometric summary. It turns your agent into a specialized engineering tool that understands slopes, lane differentials, and roadway design parameters.

## Tools

### calculate_crossfall
This tool finds the slope of a specific road section. It uses provided elevations and widths to determine the crossfall.

### calculate_lane_differentials
Use this to find vertical height differences between adjacent lanes or edges. It calculates the height gap and the resulting slopes.

### calculate_superelevation_rate
This tool computes the overall superelevation rate for a full roadway cross-section based on edge and centerline elevations.

### generate_station_report
This tool processes a series of station points. It produces a summary of the road geometry across the specified points.

## Prompt Examples

**Prompt:** 
```
Calculate the crossfall for a 3.5m lane where the centerline is at 100.0m and the edge is at 99.85m on the right side.
```

**Response:** 
```
The calculated crossfall is 0.0428 (or 4.28%) with a positive sign and outward direction.
```

**Prompt:** 
```
What is the superelevation rate if the left edge is 99.5, the right edge is 100.5, the centerline is 100.0, and the total width is 10.0?
```

**Response:** 
```
The superelevation rate is 0.05 (5%) with a total transverse slope of 0.1.
```

**Prompt:** 
```
Find the elevation differences for lanes with elevations [100, 99.8, 99.5] and widths [3.5, 3.5].
```

**Response:** 
```
The vertical elevation differences are -0.2 and -0.3, with slopes of -0.057 and -0.086.
```

## Capabilities

### Crossfall Calculation
Your agent calculates the slope of specific road sections using elevation data.

### Superelevation Computation
Your agent determines the design rate for a full roadway cross-section.

### Lane Differential Analysis
Your client identifies vertical height differences between adjacent lanes or edges.

### Station Reporting
Your agent processes multiple station points to create a geometric summary.

## Use Cases

### Design Verification
Check if a proposed superelevation rate meets design requirements using specific edge and centerline elevations.

### Lane Geometry Checks
Calculate the vertical height differences between adjacent lanes to ensure proper drainage and safety.

### Roadway Summaries
Generate a full geometric report by feeding a series of station points into your agent.

### Crossfall Analysis
Determine the exact slope for a single lane section based on centerline and edge elevations.

## Benefits

- Eliminates manual slope and elevation math.
- Provides consistent geometric summaries across multiple station points.
- Integrates directly into existing AI-assisted design environments.
- Reduces errors in calculating lane height differences.

## How It Works

Connect the MCP to your client and start sending engineering data immediately.

1. Connect your MCP-compatible client to Vinkius.
2. Provide the road dimensions and elevations to your AI agent.
3. Your agent calls the specific tool needed for the calculation.
4. The MCP returns the precise geometric results to your client.

## Frequently Asked Questions

**What AI clients can I use with this MCP?**
You can use this MCP with any 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 connect your client and it is ready to use.

**Can this MCP calculate superelevation for a whole road?**
Yes. You can use the calculate_superelevation_rate tool for a cross-section or generate_station_report for a series of points.

**What kind of data does the crossfall tool need?**
It needs the lane width and the elevations of the centerline and the edge.

**Is there a way to get a summary of multiple points?**
Yes. The generate_station_report tool processes multiple station points to provide a geometric summary.

**How do I calculate the slope for a single lane?**
You can use the `calculate_crossfall` tool by providing the centerline elevation, the edge elevation, the lane width, and the side (left or right).

**Can I generate a report for an entire road section?**
Yes, the `generate_station_report` tool is designed to process an array of station objects to produce a comprehensive summary of the road geometry.

**What is the difference between crossfall and superelevation?**
Crossfall is the slope of a specific section, while superelevation is the specific crossfall applied to a curve to counteract centrifugal force.
