# Stair Stringer Geometry Calculator AI Agent Connect

> Stair Stringer Geometry Calculator MCP handles the complex math required for stair construction. Your AI client uses this tool to calculate riser heights, tread depths, and stringer lengths. It also provides high-precision cut points and checks your designs against safety standards to ensure each build is structurally sound.

## Overview
- **Category:** construction
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_2BspSB8ArDGJVmksmgYcezlXiL8uvvOxLMoKXspK/ai-agent-connect
- **Tags:** staircase, geometry, carpentry, architecture, construction-tools

## Description

Building stairs requires exact math to ensure they are safe and comfortable to walk on. This MCP takes the guesswork out of stair stringer layout. You provide the vertical rise and desired tread depth, and your agent calculates the entire geometric profile. It handles the heavy lifting of determining riser counts and stringer lengths so you don't have to manually run calculations. If you're dealing with landings or turns, the tool adjusts the geometry to keep the transition smooth. Once the math is set, you can pull high-precision cut points to mark your materials for fabrication. It even acts as a second set of eyes by checking your dimensions against standard building safety guidelines. This is about getting the math right before you ever pick up a saw.

## Tools

### calculate_landing_transition
This tool adjusts stair geometry when you need to incorporate a landing or a turn in the layout.

### calculate_stair_geometry
Use this to generate the primary geometric profile, including riser height and stringer length, based on your vertical constraints.

### get_cut_points_precision
This tool provides high-precision measurement points for physical fabrication on your stringers.

### validate_stair_safety
This tool checks your calculated staircase dimensions against standard building safety and comfort guidelines.

## Prompt Examples

**Prompt:** 
```
Calculate the geometry for a stair with a 100cm total rise, a max riser height of 18cm, and a minimum tread depth of 25cm.
```

**Response:** 
```
The staircase will have 6 risers at 16.67cm each and 5 treads at 25cm each. The total run is 125cm, the stringer length is approximately 160.08cm, and the pitch is 23.03 degrees.
```

**Prompt:** 
```
I have a stair with a 17cm rise and 28cm tread. Is this safe?
```

**Response:** 
```
The dimensions are within standard residential safety guidelines.
```

**Prompt:** 
```
Calculate the transition for a 90-degree turn with a landing depth of 90cm.
```

**Response:** 
```
The landing transition has been calculated. The new total run includes the 90cm landing depth, and the transition point is set at the end of the previous run.
```

## Capabilities

### Profile Generation
Your agent calculates the full geometric profile from vertical constraints.

### Safety Verification
Your agent checks your dimensions against standard building codes.

### Landing Adjustments
Your agent recalculates geometry for turns and landings.

### Fabrication Marking
The tool provides precise points for physical cutting and marking.

## Use Cases

### Residential Stair Building
Calculate riser and tread dimensions for a new home staircase.

### Safety Audits
Check existing stair dimensions to see if they meet residential safety guidelines.

### Complex Layouts
Adjust stair geometry for landings or 90 degree turns.

### Material Preparation
Get high-precision cut points to mark stringers for cutting.

## Benefits

- Reduces manual calculation errors in stair stringer layouts.
- Provides precise measurement points for physical fabrication.
- Validates designs against safety guidelines automatically.
- Handles complex landing and turn transitions.

## How It Works

Connect your AI client to Vinkius and start running geometry calculations immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your vertical rise and tread constraints to your agent.
3. Your agent uses the MCP tools to run the geometry and safety math.
4. Receive precise dimensions, cut points, or safety confirmations.

## Frequently Asked Questions

**How do I use this MCP with my AI client?**
You connect your client, like Claude or Cursor, to Vinkius once. After that, your agent can call the stair geometry tools directly in your chat.

**Can this tool check if my stairs are up to code?**
Yes, the validate_stair_safety tool checks your calculated dimensions against standard building safety and comfort guidelines.

**Does it handle stairs with landings?**
Yes, you can use the calculate_landing_transition tool to adjust the geometry for turns or landings.

**What kind of output do I get for fabrication?**
The get_cut_points_precision tool provides high-precision measurement points that you can use to mark your materials.

**Do I need to host anything?**
No, Vinkius hosts the MCP for you. You connect and use it.

**How do I calculate the total stringer length?**
You can use the `calculate_stair_geometry` tool. By providing the total rise and dimensional limits, it returns the calculated `stringerLength` as part of the geometric profile.

**Can I check if my stair dimensions are safe?**
Yes, use the `validate_stair_safety` tool. Input your calculated rise, tread, and pitch to receive a safety report and any potential warnings.

**How do I get exact measurements for cutting the wood?**
The `get_cut_points_precision` tool provides cumulative distance marks along the stringer, allowing for precise physical fabrication.
