# Roof Pitch Calculator AI Agent Connect

> Calculate roof geometry, material needs, and snow load capacity.

## Overview
- **Category:** construction
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ZJenmlQDlkf5U69TxhXVf7UkkfYQgqfiEm4CmWlt/ai-agent-connect
- **Tags:** roofing, geometry, materials, snow-load, construction-math

## Description

This MCP server provides deterministic calculations for roof design and construction. Use `calculate_geometry` to find rafter lengths and surface areas, `estimate_materials` to determine the number of squares needed for specific materials, `calculate_structural_load` to assess snow weight capacity, and `get_flashing_requirements` to find linear footage for ridges and hips.

## Tools

### calculate_geometry
Determines the physical dimensions and surface area of the roof

### calculate_structural_load
Determines the roof's ability to handle snow weight

### estimate_materials
Calculates the amount of roofing material needed for purchase

### get_flashing_requirements
Calculates the linear footage of flashing needed for ridges, hips, or valleys

## Prompt Examples

**Prompt:** 
```
What is the total surface area for a 40x30 building with a 6:12 pitch and 12-inch overhang?
```

**Response:** 
```
The total surface area for a 40x30 building with a 6:12 pitch and 12-inch overhang is 1,414.21 square feet.
```

**Prompt:** 
```
How many squares of asphalt shingles do I need for a 1,200 sq ft roof with a 15% waste factor?
```

**Response:** 
```
You will need 13.8 squares of asphalt shingles.
```

**Prompt:** 
```
How much flashing is needed for a gable roof that is 50 feet long and 30 feet wide with a 4:12 pitch?
```

**Response:** 
```
The required ridge flashing for this gable roof is 50 linear feet.
```

## Frequently Asked Questions

**How do I calculate the total area of my roof?**
You can use the `calculate_geometry` tool by providing the building length, width, pitch, and overhang to get the total surface area.

**Can I estimate how many shingles I need to buy?**
Yes, use the `estimate_materials` tool with the surface area obtained from the geometry calculation to find the number of squares required.

**How does roof pitch affect snow load?**
Steeper pitches allow snow to slide off more easily. You can use `calculate_structural_load` to determine the specific capacity based on your pitch and local snow load.
