Skip to content
MCP server

Swatch Ledger

Fabric shrinkage and yardage calculator from before-and-after swatch measurements

Pricing
Free
Platforms
Web, API
Runs
Remotely
Version
1.0.0
Listing updated
1 day ago

About Swatch Ledger

Swatch Ledger is a free MCP server for sewing and crafts. It runs as a hosted remote server, so there is nothing to install locally.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://swatch-ledger.pages.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "swatch-ledger-mcp": {
      "url": "https://swatch-ledger.pages.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

What it does

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

Pricing

Free

Free sewing tools

Prices change. Check swatch-ledger.pages.dev before you buy.

Swatch Ledger 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