# Junction Turn Path Calculator AI Agent Connect

> Junction Turn Path Calculator MCP provides a geometric engine for calculating the spatial footprint of vehicles during turns. Your AI client can determine turning radii, generate swept paths, and verify if specific maneuvers fit within lane constraints. It handles the complex kinematics so you can focus on site design and vehicle maneuvering.

## Overview
- **Category:** automotive
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4mNFqQxtyIxJ0ymjbqFwgNzGqJts7euhCwsQi7Ob/ai-agent-connect
- **Tags:** vehicle, turning-radius, swept-path, kinematics, junction-analysis

## Description

You can use this MCP to solve the geometric puzzles of vehicle movement. Instead of manual sketching, your AI client performs the heavy lifting of calculating how a vehicle actually occupies space during a turn. It uses a specialized geometric engine to model the footprint of various vehicle configurations. 

You can check if a specific truck can clear a tight intersection or if a new driveway layout will cause a vehicle to clip a curb. The MCP calculates the theoretical turning capability of a vehicle and then translates that into a physical swept path. This allows you to verify lane clearances and get high-level summaries of turning profiles. It is a direct way to bring kinematic modeling into your existing AI-driven design workflows.

## Tools

### calculate_turning_radius
This tool determines the theoretical turning capability of a specific vehicle configuration.

### generate_swept_path
This tool calculates the actual geometric footprint of the vehicle during a turn.

### get_vehicle_footprint_summary
This tool provides a high-level summary of the turning profile for a specific maneuver.

### verify_lane_clearance
This tool checks if a vehicle can complete a turn within the constraints of a specific junction.

## Prompt Examples

**Prompt:** 
```
What is the minimum turning radius for a vehicle with a 3-meter wheelbase and a 35-degree max steering angle?
```

**Response:** 
```
The minimum turning radius for that configuration is 2.57 meters.
```

**Prompt:** 
```
Will a vehicle with a 2m wheelbase, 0.5m front overhang, 1m rear overhang, and 1.8m width be able to turn in a 4m wide lane with a 6m junction width if the swept path is provided?
```

**Response:** 
```
Yes, the vehicle can complete the turn with a positive inner and outer clearance.
```

**Prompt:** 
```
Give me a summary of the footprint for a vehicle with a 2.5m wheelbase, 30 degree steering, 0.6m front overhang, 1.2m rear overhang, and 1.9m width.
```

**Response:** 
```
The maximum width occupied is 2.15 meters, the total length occupied is 3.85 meters, and the tightness rating is Moderate.
```

## Capabilities

### Turning Radius Calculation
Your agent calculates the minimum space needed for a vehicle to initiate a turn.

### Swept Path Modeling
Your agent generates the physical area a vehicle covers as it moves through a curve.

### Junction Constraint Checking
Your client verifies if a vehicle stays within lane boundaries during a maneuver.

### Footprint Summarization
The MCP provides condensed data on width, length, and maneuver tightness.

## Use Cases

### Intersection Design
Verify if a standard delivery truck can navigate a new intersection without hitting curbs.

### Parking Lot Layouts
Check if the turning radius of a specific vehicle fits within the planned aisle widths.

### Fleet Compatibility
Compare the swept paths of different vehicle configurations against existing infrastructure.

### Site Access Analysis
Determine if a vehicle's front or rear overhang will cause issues during tight turns.

## Benefits

- Replaces manual geometric calculations with direct AI tool calls.
- Provides immediate clearance verification for specific junction widths.
- Generates detailed vehicle footprints based on wheelbase and steering angles.
- Reduces errors in spatial planning by using a dedicated kinematic engine.

## How It Works

Connecting to this MCP gives your AI client immediate access to kinematic modeling tools.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide vehicle dimensions and steering parameters to your AI agent.
3. Your agent calls the specific tool needed for the calculation.
4. The MCP returns the geometric footprint or clearance data.
5. Your agent uses the results to confirm or adjust your design.

## Frequently Asked Questions

**What can this MCP calculate for vehicles?**
It calculates turning radii, swept paths, vehicle footprints, and lane clearances.

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

**How does it handle vehicle dimensions?**
You provide specific parameters like wheelbase, steering angle, and overhang to get precise results.

**Can I check if a truck will hit a curb?**
Yes, you can use the verify_lane_clearance tool to check if a maneuver stays within specific junction constraints.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately after connection.

**How do I check if a truck can make a turn in a narrow lane?**
You should first use `generate_swept_path` to get the vehicle's footprint, then pass that result to `verify_lane_clearance` along with the lane and junction widths.

**What information is needed to calculate the turning radius?**
You need to provide the `wheelbase` (distance between axle centers) and the `maxSteeringAngle` (maximum front wheel angle in degrees) to the `calculate_turning_radius` tool.

**Can this tool account for rear-wheel off-tracking?**
Yes, the `generate_swept_path` tool specifically accounts for rear-wheel off-tracking to ensure the calculated footprint is accurate.
