# Road Width & Clearance Calculator AI Agent Connect

> Road Width & Clearance Calculator MCP gives your AI client the math needed for civil engineering and logistics planning. It handles the heavy lifting for road geometry, calculating everything from lane and shoulder widths to specific vehicle envelopes and lateral clearance gaps. You can quickly check if a specific vehicle can safely navigate a corridor or determine the exact space a truck occupies including safety buffers.

## Overview
- **Category:** logistics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_rtuJjtq4qmLmnvSV8l61tjaPugqCpk54l04qMMXf/ai-agent-connect
- **Tags:** road-safety, lane-width, vehicle-clearance, civil-engineering, logistics-planning

## Description

This MCP provides the precise geometric calculations required for road safety and logistics planning. Instead of manual math, you can ask your AI client to handle complex spatial requirements for vehicles and infrastructure. You can determine road component widths like lanes and shoulders or define the total space a vehicle occupies using a safety buffer. It is built for checking if a specific vehicle can safely pass through a corridor or calculating the exact lateral gaps between a vehicle and its surroundings. Whether you are planning a new road layout or checking if a heavy load can clear a specific passage, this MCP provides the specific metrics you need to make safe, data-driven decisions.

## Tools

### get_lateral_clearance_stats
This tool calculates the specific gaps between a vehicle and its immediate surroundings.

### assess_passage_clearance
This tool compares a vehicle's specific requirements against existing road limits to check for safe passage.

### calculate_lane_and_shoulder_metrics
Use this to determine the exact widths of road components like lanes and shoulders.

### calculate_vehicle_envelope
This tool calculates the total space a vehicle occupies, including any necessary safety buffers.

## Prompt Examples

**Prompt:** 
```
Calculate the vehicle envelope for a truck that is 2.5 meters wide with a 0.5 meter safety buffer.
```

**Response:** 
```
The total envelope width for the truck is 3.5 meters, consisting of a 2.5 meter physical width and a 0.5 meter buffer on each side.
```

**Prompt:** 
```
A road has a total paved width of 12 meters, 2 lanes, and a shoulder width of 1 meter on each side. What are the lane widths?
```

**Response:** 
```
The lane width is 5.0 meters.
```

**Prompt:** 
```
Is it safe for a vehicle with a 3.2 meter envelope to pass through a 3.5 meter wide passage?
```

**Response:** 
```
Yes, the passage is safe with a clearance margin of 0.3 meters.
```

## Capabilities

### Road Geometry Analysis
Your agent uses this to break down total paved widths into lanes and shoulders.

### Vehicle Envelope Modeling
Your agent calculates the total footprint of a vehicle including safety margins.

### Passage Safety Checks
Your client compares vehicle dimensions against corridor limits to confirm safe passage.

### Lateral Gap Calculation
Your agent determines the specific distance between a vehicle and its surroundings.

## Use Cases

### Route Feasibility
Check if a heavy transport vehicle can fit through a specific road corridor before dispatching.

### Road Design Verification
Confirm that lane and shoulder widths meet specific requirements for a new road project.

### Safety Buffer Planning
Calculate the total space needed for a vehicle by adding safety buffers to its physical width.

### Corridor Clearance Analysis
Determine the exact lateral gaps available when a vehicle moves through a narrow passage.

## Benefits

- Reduces manual calculation errors in road geometry math.
- Provides instant clearance margins for vehicle passage.
- Standardizes how vehicle envelopes and safety buffers are calculated.
- Speeds up the verification of road component widths.

## How It Works

Connecting this MCP to your AI client gives it the ability to perform specialized spatial math.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Select the Road Width & Clearance Calculator MCP from the catalog.
3. Ask your AI client to perform a specific calculation like checking a vehicle envelope.
4. Your agent uses the provided tools to run the math and returns the specific metrics.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates lane and shoulder widths, vehicle envelopes with safety buffers, passage clearance, and lateral gaps between vehicles and their surroundings.

**Which AI clients can use 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 start using the tools.

**Can I include safety buffers in vehicle calculations?**
Yes, the calculate_vehicle_envelope tool is designed to include safety buffers to determine the total space a vehicle occupies.

**Is this tool useful for logistics planning?**
Yes, it is specifically built for logistics planners to verify if vehicles can safely pass through specific road corridors.

**How do I calculate the total space a vehicle needs?**
You can use the `calculate_vehicle_envelope` tool, which adds a safety buffer to the physical width of the vehicle to account for sway and driver error.

**Can I check if a specific vehicle can fit through a narrow road?**
Yes, by using `assess_passage_clearance`, you can compare the available roadway width against the vehicle's envelope width to determine if passage is safe.

**What information is needed to calculate lane widths?**
To use `calculate_lane_and_shoulder_metrics`, you need to provide the total paved width, the number of lanes, and the width of a single shoulder.
