# Button Sizing Engine MCP for AI Agents MCP

> The Button Sizing Engine helps garment manufacturers solve complex sizing issues quickly. It converts button dimensions between Ligne, millimeters (mm), and inches, calculates necessary buttonhole lengths for pattern making, and suggests ideal spacing based on fabric type. This MCP lets your AI agents perform precise calculations essential for consistent apparel production.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_nvsrbKrQCmcc5k9eLxlFlbtE6zdANlpqhyxo0GYU/mcp
- **Tags:** button-sizing, garment-production, conversion, textile-industry, haberdashery

## Description

Designing clothing requires more than just good taste; it demands math. The Button Sizing Engine solves the constant problem of unit inconsistency in garment manufacturing. Instead of juggling different measurement systems, this MCP handles all conversions—Ligne, millimeters, and inches—in one place.

When you connect this to your preferred AI client, you can ask for standard sizing recommendations based on where the button is placed, like a shirt cuff or coat closure. It also calculates exactly how long the buttonhole needs to be, making pattern grading simple. You can even get suggestions for optimal spacing between buttons depending on the fabric weight. It's essential utility data that moves your focus from measurement charts back to design.

## Tools

### get_button_by_application
Provides the standard recommended size for a specific garment part (e.g., cuff or closure).

### calculate_buttonhole_dimensions
Calculates the minimum required length and margin for a buttonhole in a pattern.

### convert_button_unit
Changes any given button dimension from one unit (Ligne, mm, or inches) to another.

### estimate_button_spacing
Suggests the ideal distance between buttons based on the weight of the fabric being used.

## Prompt Examples

**Prompt:** 
```
I need to convert 32L button size into millimeters.
```

**Response:** 
```
**Conversion Result:**
*   **Input Unit:** Ligne (L)
*   **Target Unit:** Millimeters (mm)
*   **Result:** 8.13 mm

This is the standard conversion for that measurement.
```

**Prompt:** 
```
What's the right button size for a coat closure?
```

**Response:** 
```
**Standard Sizing Guide: Coat Closures**
*   For standard adult coats:
    *   Recommended Size: 20L
    *   Approximate Metric: 5.1 mm
    *   Industry Standard Range: 4.8mm - 5.3mm

Always check the specific garment type, but 20L is a reliable starting point.
```

**Prompt:** 
```
My fabric is medium-weight denim. How far should I space my buttons?
```

**Response:** 
```
**Button Spacing Estimate**
Based on your input (Medium Denim Weight):
*   Optimal Distance: 18 mm
*   Acceptable Range: 16mm - 20mm

Keep the spacing consistent. This distance ensures both aesthetic balance and structural integrity for denim.
```

## Capabilities

### Convert Button Units
Takes a button dimension and changes its unit from Ligne, millimeters, or inches.

### Find Standard Sizes by Garment Part
Determines the correct standard button size for specific areas of clothing like cuffs or closures.

### Calculate Buttonhole Lengths
Figures out the minimum necessary length and required margin for a pattern's buttonhole.

### Estimate Optimal Spacing
Suggests ideal distance measurements between buttons based on the specific fabric weight used in production.

## Use Cases

### I need button sizes for my new blazer line.
Instead of checking multiple style guides, I ask the agent what size is best for coat closures. It uses get_button_by_application to give me the standard sizing needed across all models.

### The pattern piece buttonhole length keeps changing.
I run into issues where my physical measurements don't match the required hole size. I use calculate_buttonhole_dimensions, and it gives me the minimum necessary length with a safety margin for stitching.

### How far apart should buttons be on heavy denim?
The spacing seems arbitrary in my current process. I run estimate_button_spacing, feeding it the fabric weight, and it suggests an optimal distance to keep the garment looking balanced.

## Benefits

- Stop guessing sizes. Use get_button_by_application to instantly find the correct standard button size needed for specific parts, like shirt cuffs.
- Save pattern drafting time by using calculate_buttonhole_dimensions to get the exact minimum hole length, including necessary thread margins.
- Avoid costly material waste. estimate_button_spacing suggests ideal button placement based on fabric weight, optimizing your layout before cutting begins.
- Handle unit conversion without errors. convert_button_unit handles Ligne, mm, and inches so you never have to worry about conflicting measurement systems again.
- Increase consistency across product lines. By getting standardized sizing for closures, every garment maintains a professional, uniform finish.

## How It Works

The bottom line is that it provides immediate, industry-standard measurements so your team doesn't waste time looking up conversion charts or sizing guides.

1. Tell your AI client what measurement you need to change (e.g., 'Convert 20L to mm') or what garment part needs sizing.
2. The MCP runs the specific calculation, checking standard industry guides for sizes and optimal spacing based on parameters like fabric weight.
3. Your agent receives a precise, actionable number, giving you dimensions needed for pattern making and production.

## Frequently Asked Questions

**How does the Button Sizing Engine handle unit conversions?**
It handles all three units—Ligne, millimeters (mm), and inches. You just tell it what to convert, and you get an accurate result without having to check multiple conversion charts.

**Can the Button Sizing Engine help me choose a size for my cuffs?**
Yes. It uses standard industry knowledge to recommend the correct button size based on whether it's for a cuff, collar, or other specific garment part. This ensures your design is compliant.

**What do I need to provide to calculate the buttonhole length?**
You primarily need the diameter of the button itself. The engine then calculates the minimum required hole length, adding a necessary safety margin for stitching and pattern grading.

**Does this MCP help with spacing buttons on different fabrics?**
Absolutely. You input the fabric weight or type, and it suggests an optimal distance between buttons to keep your garment looking balanced and structurally sound.