# Stair calculator

> How many steps does it take, and how far do they run? Give it the height to climb and get even risers, the total run and every stringer.

Page: https://hauscraft.app/calculators/stair-calculator/

Run it through HausCraft's MCP server (https://hauscraft.app/mcp, streamable HTTP, no key): call `calculate` with

```json
{
  "calculator": "stair-calculator",
  "values": {
    "rise": 108,
    "tread": 10,
    "width": 36
  }
}
```

A value left out is its start. `covered: true` shows it with floor above on. It answers with every piece and its size, and a 3D view where the client shows one.

| Key | What | Takes | Start |
|---|---|---|---|
| `rise` | Total rise, floor to floor | 30–144 in | 108 |
| `tread` | Tread depth | 10 = 10 in; 10.5 = 10½ in; 11 = 11 in | 10 |
| `width` | Stair width | 36 = 36 in; 42 = 42 in; 48 = 48 in | 36 |

## How it is worked out

- It uses the fewest risers that reach the rise at 7¾ in or less each, and makes them all the same height.
- There is one tread fewer than there are risers, since the floor above is the last step.
- Stringers are cut from 2×12s and stand at most 18 in apart.
- Treads are 1 in thick and nose 1 in past the ¾ in riser under them.
- The floor above is framed with a well over the stair, long enough to leave 6 ft 8 in of headroom over the steps. The well has a doubled trimmer along each side and a doubled header across each end.
- It frames one straight flight. A stair whose stringers would be longer than a 20 ft board needs a landing, so it is turned down, and we say why.

We lay out and count the sizes you pick, close enough to plan a weekend and price the lumber. Span tables, your local code and, on a bigger job, an engineer settle what size each board has to be.

## Questions

**How many steps do I need?** Divide the total rise by 7¾ in and round up to get the number of risers. The rise is then divided evenly among them.

**What is the total run of the stair?** The number of treads times the tread depth, plus the thickness of the top riser. It is given above the list, so you can see whether you have the room.

**Does it include a landing or a handrail?** It frames one straight flight, with its stringers, treads and risers and the opening in the floor above. Landings, guards and handrails are yours to add.

## The MCP server

https://hauscraft.app/mcp: streamable HTTP, open, no key. It answers with every piece and its size, or why it can't be built; nothing is stored, and nothing is sized structurally.

Tools: `guide`, `list_calculators`, `calculate`, `build`.

An owner's own properties are there too, once they sign in to HausCraft on a monthly plan and allow the client (OAuth, asked for the first time one is needed): `list_properties`, `new_property`, `show_property` (the property in 3D as it stands), and each of a property's tools, `get_buildings` first, taking its id. A change is kept, and shown in the editor as it is made.

Claude Code: `claude mcp add --transport http hauscraft https://hauscraft.app/mcp`. Claude, ChatGPT and other clients: add it as a remote (custom) connector at that address.
