Swatch Ledger

io.github.Keith-CYPublished by GitHub account Keith-CYv1.0.0Updated Oct 26, 2026

Fabric shrinkage from a swatch wash test, and how much fabric to buy before washing.

VerifiedStreamable HTTPWeb executableFinance

Overview

Swatch Ledger's hosted MCP server (swatch-ledger.pages.dev); no sign-in required; Streamable HTTP; 2 tools.

No AI overview yet: these facts come from the registry entry and the server itself.

Endpoint
swatch-ledger.pages.dev
Last checked

Installation

In SourceWeft

  1. Open Swatch Ledger in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Keith-CY%2Fswatch-ledger-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

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

Tools

2

measure_fabric_shrinkage

Measure fabric shrinkage

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.

Parametersunitwidth_afterrequiredlength_afterrequiredwidth_beforerequiredlength_beforerequired

plan_fabric_length

Plan fabric length to buy

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.

Parametersunitextra_lengthusable_lengthrequiredshop_incrementshrinkage_percentrequired

Version history

1
  1. v1.0.0LatestOct 26, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.