# Fabric Yardage Calculator MCP for AI Agents MCP

> The Fabric Yardage Calculator MCP estimates exact fabric requirements for almost any textile project. It handles complex calculations—like determining yardage for custom patterns or full-sized curtains—and accounts for real-world variables such as nap direction and varying fabric widths (45" to 150cm). Use it to stop overbuying material and guarantee you have the precise amount of cloth needed.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Ucs3SrnkZmWfHhY6RXMzVNDFpnaOduebHfSdcse0/mcp
- **Tags:** sewing, fabric, calculation, textile, crafting

## Description

Need to know exactly how much fabric you need before starting a big project? This MCP connects your AI agent to an engine built for textile math. You can calculate required yardage for everything from custom-cut garments to large items like quilts or drapery panels, all while respecting real-world constraints like the direction of the fabric nap. It estimates lengths for specific pattern pieces using `calculate_custom_layout`, and also provides quick size checks with `lookup_garment_yardage`. For non-clothing projects, you can calculate needs for curtains (including fullness) or quilts using `calculate_project_fabric`. Because this MCP supports multiple widths—45", 5/4", 60", 110cm, and 150cm—it keeps your calculations accurate whether you're working on a small craft piece or a commercial run. You can find Vinkius at the top of the catalog to connect this MCP with all your other tools.

## Tools

### calculate_custom_layout
Calculates the total linear fabric length needed for specific, custom-cut pattern pieces, supporting one-way or two-way nap direction.

### calculate_project_fabric
Determines fabric needs for non-garment projects like curtains and quilts by accounting for fullness and dimensions.

### lookup_garment_yardage
Retrieves quick, estimated yardage amounts from a database for standard clothing sizes ranging from XS to 5XL.

## Prompt Examples

**Prompt:** 
```
I need fabric for a custom layout with two pieces: 10x20 inches and 15x30 inches. I’m using 45 inch material with one-way nap.
```

**Response:** 
```
**Pattern Layout Analysis**

*   **Material:** 45" wide
*   **Nap Direction:** One-Way
*   **Total Length Required:** 0.83 yards (76 inches)
*   **Efficiency Score:** 75%

This calculation confirms the minimal length you need to cut both pieces while respecting the nap direction.
```

**Prompt:** 
```
How much fabric do I need for a curtain that is 50 inches wide and 80 inches long, assuming 2.0 fullness?
```

**Response:** 
```
**Curtain Yardage Estimate**

Based on your dimensions (50" W x 80" L) and the required 2.0 fullness:

*   **Total Fabric Needed:** 4.44 yards (4.06 meters)
*   **Required Panels:** 2 panels

Please remember this estimate is based on standard construction.

```

**Prompt:** 
```
What yardage do I need for a T-shirt in size Large using 60 inch fabric?
```

**Response:** 
```
For a size L T-Shirt on 60" fabric, you will need approximately **0.75 yards** (0.68 meters). This estimate accounts for standard pattern cutting methods.
```

## Capabilities

### Calculate custom pattern layout
Determine the total linear length required for specific, user-defined pattern pieces while accounting for nap direction.

### Estimate standard garment yardage
Retrieve quick, estimated fabric lengths needed for common clothing sizes from XS up to 5XL.

### Determine large project material needs
Calculate the necessary fabric length for non-clothing items like curtains or quilts, handling fullness ratios.

## Use Cases

### Figuring out fabric for a new jacket line
A small brand owner asks their agent to calculate the yardage needed for a blazer pattern (multiple pieces) using 60" fabric and specifying one-way nap. The agent calls `calculate_custom_layout` and returns the precise total length, ensuring they don't order too much.

### Designing custom window treatments
An interior designer needs to calculate material for curtains (50" wide, 80" long) with a 2.0 fullness ratio. The agent uses `calculate_project_fabric` and reports the exact yardage needed and the number of panels required.

### Quilting project planning
A crafter wants to know how much fabric is needed for a large quilt using 110cm wide material. The agent invokes `calculate_project_fabric` and gives the necessary yardage, preventing a mid-project supply run.

### Quick sizing check for pop-up shop
A vendor needs to estimate fabric amounts for 30 different sizes of basic t-shirts. The agent uses `lookup_garment_yardage` and instantly gets the required yardage estimates, saving hours of manual calculation.

## Benefits

- Avoid costly material waste. By using `calculate_custom_layout`, you get the minimum required length for your pattern pieces, eliminating excess buying.
- Handle diverse projects with one tool. Whether it's curtains or quilts, `calculate_project_fabric` handles the specific math for non-garment items like fullness.
- Instant size checks. Need a quick estimate for T-shirts? `lookup_garment_yardage` provides immediate yardage figures for standard sizes (XS–5XL).
- Adapt to fabric type. The MCP supports multiple widths, including 45", 60", and 150cm, so your math always matches the material you're buying.
- Speed up iteration. Instead of manually mapping pattern pieces, let your agent run complex calculations instantly, letting you focus on design.

## How It Works

The bottom line is, you input the project specifics—sizes, patterns, dimensions—and it outputs a single, accurate number for how much fabric to buy.

1. Specify your required pattern pieces and the type of layout (one-way or two-way nap) using `calculate_custom_layout`.
2. If it’s a standard item, use `lookup_garment_yardage` to get an estimate for common sizes. For big projects like curtains, input dimensions and fullness into `calculate_project_fabric`.
3. The MCP runs the math against your chosen fabric widths (e.g., 60" or 150cm) and returns the total required linear yardage.

## Frequently Asked Questions

**How does the Fabric Yardage Calculator MCP handle different widths of material?**
The MCP supports a variety of common fabric widths, including 45", 60", and 150cm. You simply input your chosen width during the calculation process to get accurate results for that specific material.

**Can I use this MCP to calculate yardage for curtains?**
Yes, absolutely. Use the dedicated `calculate_project_fabric` tool. You provide the dimensions and the fullness ratio, and it calculates exactly how much fabric you need, making sure you don't short yourself on material.

**Is this MCP just for T-shirts and standard clothing sizes?**
No. While `lookup_garment_yardage` handles standard apparel, the calculator is also built for large projects like quilts or drapery using the `calculate_project_fabric` tool.

**Does Fabric Yardage Calculator MCP account for print direction?**
Yes. When calculating custom pieces with `calculate_custom_layout`, you specify whether the fabric has a one-way or two-way nap, ensuring your pattern respects the printing grain.

**What if my project is neither clothes nor curtains? Can I still use Fabric Yardage Calculator MCP?**
The `calculate_project_fabric` tool handles general large textile projects. As long as you can define dimensions and a fullness factor, the MCP can help estimate your material needs.