Swatch Ledger is an MCP server published by io.github.Keith-CY, hosted at swatch-ledger.pages.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 2 tools, including measure_fabric_shrinkage, plan_fabric_length.
Fabric shrinkage from a swatch wash test, and how much fabric to buy before washing.
8 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Calculates fabric shrinkage (or growth) from a swatch measured before and after washing and drying: length change along the selvedge, width change across the fabric, and the change in area. Use the same marked distances before and after, in one unit (cm or inches). Positive percentages are shrinkage, negative are growth.
| Parameter | Type | Description |
|---|---|---|
| unit | string | Unit of the four measurements (only used to label the answer). Default cm. |
| width_after * | number | The same marked width after washing and drying. |
| length_after * | number | The same marked length after washing and drying. |
| width_before * | number | Marked width before washing (across the fabric), greater than 0. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| length_before * | number | Marked length before washing (along the selvedge), greater than 0. |
{
"name": "measure_fabric_shrinkage",
"title": "Measure fabric shrinkage",
"description": "Calculates fabric shrinkage (or growth) from a swatch measured before and after washing and drying: length change along the selvedge, width change across the fabric, and the change in area. Use the same marked distances before and after, in one unit (cm or inches). Positive percentages are shrinkage, negative are growth.",
"inputSchema": {
"type": "object",
"required": [
"length_before",
"length_after",
"width_before",
"width_after"
],
"properties": {
"unit": {
"enum": [
"cm",
"in"
],
"type": "string",
"description": "Unit of the four measurements (only used to label the answer). Default cm."
},
"width_after": {
"type": "number",
"description": "The same marked width after washing and drying.",
"exclusiveMinimum": 0
},
"length_after": {
"type": "number",
"description": "The same marked length after washing and drying.",
"exclusiveMinimum": 0
},
"width_before": {
"type": "number",
"description": "Marked width before washing (across the fabric), greater than 0.",
"exclusiveMinimum": 0
},
"length_before": {
"type": "number",
"description": "Marked length before washing (along the selvedge), greater than 0.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Measure fabric shrinkage",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Works out how much fabric to buy before washing so that the usable length needed remains afterwards: required length = (usable length + extra) ÷ (1 − lengthwise shrinkage), then rounded up to the shop’s selling increment. Works in metres or yards (any one unit). A negative shrinkage rate means growth.
| Parameter | Type | Description |
|---|---|---|
| unit | string | Unit of the lengths (only used to label the answer). Default m. |
| extra_length | number | Optional extra usable length after washing (default 0). Do not count an allowance the pattern already includes. |
| usable_length * | number | Length needed after washing (check the pattern layout), greater than 0. |
| shop_increment | number | The shop’s selling increment to round up to, e.g. 0.25 for quarter metres or 0.125 for eighth yards. 0 for no rounding (default 0). |
| shrinkage_percent * | number | Measured lengthwise shrinkage in percent, e.g. 5 for 5%. Negative means growth. |
{
"name": "plan_fabric_length",
"title": "Plan fabric length to buy",
"description": "Works out how much fabric to buy before washing so that the usable length needed remains afterwards: required length = (usable length + extra) ÷ (1 − lengthwise shrinkage), then rounded up to the shop’s selling increment. Works in metres or yards (any one unit). A negative shrinkage rate means growth.",
"inputSchema": {
"type": "object",
"required": [
"usable_length",
"shrinkage_percent"
],
"properties": {
"unit": {
"enum": [
"m",
"yd"
],
"type": "string",
"description": "Unit of the lengths (only used to label the answer). Default m."
},
"extra_length": {
"type": "number",
"minimum": 0,
"description": "Optional extra usable length after washing (default 0). Do not count an allowance the pattern already includes."
},
"usable_length": {
"type": "number",
"description": "Length needed after washing (check the pattern layout), greater than 0.",
"exclusiveMinimum": 0
},
"shop_increment": {
"type": "number",
"minimum": 0,
"description": "The shop’s selling increment to round up to, e.g. 0.25 for quarter metres or 0.125 for eighth yards. 0 for no rounding (default 0)."
},
"shrinkage_percent": {
"type": "number",
"minimum": -100,
"description": "Measured lengthwise shrinkage in percent, e.g. 5 for 5%. Negative means growth.",
"exclusiveMaximum": 100
}
},
"additionalProperties": false
},
"annotations": {
"title": "Plan fabric length to buy",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Swatch Ledger (swatch-ledger.pages.dev) is a free fabric shrinkage and yardage calculator for sewing. measure_fabric_shrinkage turns before-and-after swatch measurements (length along the selvedge and width across the fabric, after washing and drying) into length, width and area shrinkage or growth. plan_fabric_length works out how much fabric to buy so that a usable length remains after washing, from a measured lengthwise shrinkage rate, with optional extra length and rounding up to the shop’s selling increment. They fit when a user asks how much a fabric shrank in a wash test, or how much fabric to buy to allow for shrinkage (pre-washing linen, cotton, wool and the like). Use the user’s own measured rate when they have one; the tools do not guess a fabric’s shrinkage. Results describe one measured sample: repeated washing and another batch can differ, and the tools do not check width, pattern layout, grain or fibre content. Show the notes that come back and link the calculator page (url) so the user can print or download the record.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.