# Swatch Ledger

> Swatch Ledger is a free MCP server for sewing and crafts. Fabric shrinkage and yardage calculator from before-and-after swatch measurements. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://swatch-ledger.pages.dev
- **MCP Registry name:** io.github.Keith-CY/swatch-ledger-mcp
- **Categories:** sewing and crafts
- **Listing updated:** 2026-11-16

## About

The method starts with a marked swatch measured before and after washing and drying. Length and width shrinkage are worked out separately, with the sample 20 by 20 cm becoming 19 by 19.4 cm shown as a 7.85 percent area change. A second step plans how much fabric to buy: enter the length needed after washing and the lengthwise rate, and it rounds up to the next quarter metre shop increment, for example 2.25 m for 2 m at 5 percent.

The site is candid about limits. One swatch describes one sample, repeated washing and different batches vary, and it does not assume a standard percentage for cotton or linen. It does not judge garment fit, skew, colour change or pattern suitability, and it does not optimise a cutting layout. Growth in one direction is reported as growth rather than hidden.

Calculations run on the user's device and measurements are not sent anywhere, with an optional analytics choice. Records can be printed or downloaded, and units can switch between centimetres and inches, with metres and yards for yardage.

## Features

- **Swatch shrinkage:** Compares before and after measurements for length, width and area.
- **Yardage planning:** Estimates length to buy so the post-wash amount is enough.
- **Shop increments:** Rounds up to the next 0.25 m.
- **Unit switching:** Converts between centimetres and inches, and metres and yards.
- **Printable record:** Lets you print or download the result.
- **On-device calculation:** Keeps measurements on the user's device.

## Good for

- Work out how much shrinkage a washed swatch shows
- Decide how much extra fabric to buy before pre-washing
- Keep a record of swatch results with the fabric
- Check whether a fabric grows in one direction

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http swatch-ledger-mcp https://swatch-ledger.pages.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://swatch-ledger.pages.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "swatch-ledger-mcp": {
      "url": "https://swatch-ledger.pages.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "swatch-ledger-mcp": {
      "type": "http",
      "url": "https://swatch-ledger.pages.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "swatch-ledger-mcp": {
      "serverUrl": "https://swatch-ledger.pages.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "swatch-ledger-mcp": {
      "type": "http",
      "url": "https://swatch-ledger.pages.dev/mcp"
    }
  }
}
```

## FAQ

### How is shrinkage calculated?

Subtract the after-wash measurement from the before-wash measurement, divide by the before-wash value and multiply by 100.

### Does it assume a standard rate for cotton?

No. It does not assume one; you measure the fabric you plan to use.

### Does it tell me if a garment will fit?

No. It measures dimensional change in a sample, not fit or pattern suitability.

### Are my measurements sent anywhere?

The site says measurements are calculated on your device and never sent to it.

### Is Swatch Ledger free?

Yes. Swatch Ledger is free to use.

### How do I add Swatch Ledger to Claude Code?

Run this command in your terminal: claude mcp add --transport http swatch-ledger-mcp https://swatch-ledger.pages.dev/mcp

---
Source: https://ai-powered.com/mcp/swatch-ledger
