# Weaving Warp & Weft Calculator AI Agent Connect

> Calculate precise warp and weft yarn requirements for loom weaving.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_UyMAGyM5U36NE07TmlEWoMCj0SebD784UMm7LlKc/ai-agent-connect
- **Tags:** weaving, warp, weft, loom, textiles

## Description

This MCP server provides precise calculations for weavers to determine yarn needs and loom configurations. Use `calculate_warp_requirements` to find total warp ends, length per end, and total yardage/weight. Use `calculate_weft_requirements` to determine the filling yarn needed for a specific fabric length and width. You can also use `calculate_loom_setup` to find the correct number of ends per dent for your reed based on your desired sett.

## Tools

### calculate_loom_setup
Determines how to physically set up the reed and heddles based on the desired density

### calculate_warp_requirements
Calculates the total quantity of warp yarn and the physical configuration needed for the loom

### calculate_weft_requirements
Calculates the amount of yarn required to complete the filling (weft) portion of the weave

## Prompt Examples

**Prompt:** 
```
How much warp yarn do I need for a 20 inch wide fabric, 40 inches long, with a sett of 20 epi, 10% width take-up, 7% length take-up, 36 inches of loom waste, and 2 selvedge ends? The yarn is 1000 yards per pound.
```

**Response:** 
```
You will need 412 total ends, with a warp length of 46.48 inches per end, totaling 19,150 yards of warp yarn, which weighs 19.15 pounds.
```

**Prompt:** 
```
Calculate the weft yarn needed for a 20 inch wide, 40 inch long fabric with 15 picks per inch, 10% width take-up, and 7% length take-up. The yarn is 1000 yards per pound.
```

**Response:** 
```
You will need 1,317.6 yards of weft yarn, which weighs 1.32 pounds.
```

**Prompt:** 
```
I have a 10-dent reed and I want a sett of 20 epi. How many ends should I put in each dent?
```

**Response:** 
```
You should place 2 ends in each dent.
```

## Frequently Asked Questions

**How does this tool handle loom waste?**
The `calculate_warp_requirements` tool includes a specific input for loom waste, which is the fixed length of yarn required for tying onto the loom.

**Can I calculate my reed denting?**
Yes, use the `calculate_loom_setup` tool by providing your desired sett and the number of dents per inch in your reed.

**What is the difference between take-up and shrinkage?**
Take-up is the length lost due to the interlacing of threads, while shrinkage is the contraction of fibers. Both are accounted for in the calculations to ensure you have enough yarn.
