# Shed roof calculator

> How tall is the high wall, and how long are the rafters? Pick a size and a pitch and see the single-slope roof framed in 3D.

Page: https://hauscraft.app/calculators/shed-roof-calculator/

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

```json
{
  "calculator": "shed-roof-calculator",
  "values": {
    "width": 10,
    "length": 12,
    "pitch": 3,
    "overhang": 12,
    "oc": 24,
    "depth": 5.5
  }
}
```

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

| Key | What | Takes | Start |
|---|---|---|---|
| `width` | Building width | 6–24 ft | 10 |
| `length` | Building length | 6–60 ft | 12 |
| `pitch` | Pitch | 1–8 in 12 | 3 |
| `overhang` | Overhang | 6–24 in | 12 |
| `oc` | Spacing | 12 = 12 in on centre; 16 = 16 in on centre; 24 = 24 in on centre | 24 |
| `depth` | Rafters | 5.5 = 2×6; 7.25 = 2×8; 9.25 = 2×10 | 5.5 |

## How it is worked out

- One run of rafters slopes from the low wall up to the high one, at the spacing you choose.
- The high side is raised on a short framed wall on top of its own wall, with studs 16 in on centre under a plate, as tall as the pitch needs.
- The two end walls are framed up to the slope the same way.
- Each rafter is notched over the plate at both walls, and runs on past each to the overhang.
- A sub-fascia closes the rafters’ ends at the low eave and the high one, and a barge rafter on lookouts runs up each side.
- A rafter that would need to be longer than a 20 ft board 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

**What pitch should a shed roof have?** Your roofing decides. Shingles want a steeper roof than metal or a membrane does, and the maker of yours gives the least pitch it is good for.

**How much taller is the high wall?** The pitch times the distance between the two walls’ plates. It is given above the list.

**Is this a lean-to?** It frames a shed roof on four walls of its own. A lean-to against a house is the same slope with the house’s wall as its high side, where a ledger carries the rafters.

## 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.
