# Knitting Gauge Calculator MCP for AI Agents AI Agent Connect

> Knitting Gauge Calculator MCP converts your target garment dimensions and shaping rules into precise stitch counts, row counts, and chronological shaping schedules. It takes the guesswork out of pattern design by calculating exactly how many stitches to cast on and how many rows to work for specific increases and decreases.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_qMEWARiYjsTKaZmEzEXfV5juhiyQR7bi4GzwN70n/ai-agent-connect
- **Tags:** knitting, crochet, pattern-design, gauge-calculator, yarn-estimation

## Description

Designing a custom knit or crochet piece usually involves a lot of tedious math. You have to juggle your gauge measurements, target width, and desired length while trying to figure out exactly when to increase or decrease to get the right shape. It's easy to miscalculate a single row and end up with a garment that doesn't fit. This MCP changes that by acting as a technical math engine for your creative projects. You can feed your desired dimensions and gauge into your AI client, and it will handle the heavy lifting of calculating cast-on numbers and total row counts. It even builds out a row-by-row roadmap for shaping, so you know exactly which row to perform an increase or decrease on. If you're worried about running out of yarn, it can also estimate the total length you'll need based on the weight of the yarn you've chosen. By connecting this to your workflow through Vinkius, you turn your AI agent into a highly specialized pattern designer that handles the technical precision while you focus on the craft.

## Tools

### calculate_base_dimensions
Calculates the necessary stitch and row counts to reach your target physical size. It uses your gauge to turn centimeters or inches into exact stitch numbers.

### estimate_yarn_consumption
Predicts how much yarn you'll need to finish your project. It looks at your total stitch count and the weight class of your yarn to give a length estimate.

### generate_shaping_schedule
Creates a chronological list of every row where you need to change your stitch count. This provides a clear roadmap for all increases and decreases.

## Prompt Examples

**Prompt:** 
```
I want to knit a piece that is 40cm wide and 60cm high. My stitch gauge is 20 sts per 10cm and my row gauge is 28 rows per 10cm. How many stitches should I cast on?
```

**Response:** 
```
You should cast on **80 stitches** to achieve a width of 40cm with your current gauge.
```

**Prompt:** 
```
I have 80 stitches. I need to decrease 1 stitch each side every 4th row 5 times. What is my shaping schedule?
```

**Response:** 
```
Here is your shaping schedule:

| Row | Action | Remaining Stitches |
| :--- | :--- | :--- |
| **Row 4** | Decrease 1 st each side | 78 |
| **Row 8** | Decrease 1 st each side | 76 |
| **Row 12** | Decrease 1 st each side | 74 |
| **Row 16** | Decrease 1 st each side | 72 |
| **Row 20** | Decrease 1 st each side | 70 |
```

**Prompt:** 
```
I worked 5000 stitches using Worsted weight yarn. How much yarn do I need?
```

**Response:** 
```
You will need approximately **450 meters** of Worsted weight yarn for this project.
```

## Capabilities

### Calculate cast-on counts
Find the exact number of stitches needed to hit your target width based on your specific gauge.

### Build shaping roadmaps
Generate a row-by-row schedule for every increase and decrease required for your garment's shape.

### Predict yarn requirements
Estimate the total meters of yarn needed for a project based on stitch count and yarn weight.

### Determine total row counts
Calculate how many rows you need to knit to reach your desired finished length.

## Use Cases

### Designing a custom sweater
A designer provides their gauge and desired chest circumference to get an immediate cast-on number and shaping plan.

### Estimating yarn for a large project
A knitter uses the yarn estimation tool to see if their current stash is enough for a heavy wool cardigan.

### Mapping out complex decreases
A maker needs to decrease every 4th row and uses the shaping tool to get a perfect row-by-row list.

### Converting measurements for different gauges
A user switches from worsted to fingering weight yarn and quickly recalculates all dimensions for the new gauge.

## Benefits

- Eliminate math errors in your patterns by using calculate_base_dimensions for all starting counts.
- Avoid running out of yarn mid-project by using estimate_yarn_consumption to check your supplies.
- Stop losing track of increases with a clear, row-by-row roadmap from generate_shaping_schedule.
- Design custom-fit clothing faster by letting your agent handle the dimension conversions.
- Reduce the need for constant frogging by getting the math right before you cast on.

## How It Works

The bottom line is you provide the measurements and get a complete technical blueprint for your knit or crochet project.

1. Connect the MCP to your preferred AI client via Vinkius.
2. Provide your target dimensions, gauge, and shaping rules to your agent.
3. Receive precise stitch counts, row counts, and shaping schedules.

## Frequently Asked Questions

**How can the Knitting Gauge Calculator MCP help me design custom sweaters?**
It calculates the exact number of stitches you need to cast on and the total rows required based on your specific gauge and desired measurements.

**Can I use the Knitting Gauge Calculator MCP for crochet projects?**
Yes, the math for stitch counts and row counts works perfectly for both knitting and crochet patterns.

**Will the Knitting Gauge Calculator MCP prevent me from running out of yarn?**
Yes, it includes a tool to estimate the total length of yarn you'll need based on your stitch count and yarn weight.

**How does the Knitting Gauge Calculator MCP handle shaping instructions?**
It generates a row-by-row schedule that tells you exactly when to perform every increase and decrease in your pattern.

**Do I need to know my gauge to use the Knitting Gauge Calculator MCP?**
Yes, you must provide your stitch and row gauge to get accurate stitch counts and dimension calculations.

**How do I calculate my starting stitches?**
You can use the `calculate_base_dimensions` tool. Provide your target width in cm, target height in cm, and your stitch and row gauge to get the exact cast-on count.

**Can I use this for crochet patterns?**
Yes, the logic for stitch and row counts applies to both knitting and crochet projects.

**How does the yarn estimation work?**
The `estimate_yarn_consumption` tool uses the total number of stitches worked and a multiplier specific to your yarn weight class (like Worsted or Bulky) to predict the required length.