MeltDots Craft Calculator

v1.0.0
io.github.boh5/meltdots-mcp Checked 1 day ago Published 1 day ago

Fuse bead pegboard & cross stitch Aida/Evenweave fabric size calculator by MeltDots.

Zero-dependency fuse bead pegboard calculator and cross stitch fabric calculator—available both as a lightweight ESM JavaScript library and as a local stdio Model Context Protocol (MCP) server, maintained by MeltDots. LLMs routinely miscalculate 29×29 pegboard layouts across 2.5 mm / 2.6 mm / 5 mm / 10 mm beads, double-sided framing margins on Aida cloth, and over-2 linen/evenweave thread counts. meltdots-mcp gives AI assistants and scripts deterministic, offline math with zero runtime dependencies.

Summary extracted from the README.

MeltDots Craft Calculator (meltdots-mcp)

Website: meltdots.com MCP: stdio License: MIT Node >=18

English · 简体中文 · 日本語 · 한국어 · Deutsch

Zero-dependency fuse bead pegboard calculator and cross stitch fabric calculator—available both as a lightweight ESM JavaScript library and as a local stdio Model Context Protocol (MCP) server, maintained by MeltDots.

LLMs routinely miscalculate 29×29 pegboard layouts across 2.5 mm / 2.6 mm / 5 mm / 10 mm beads, double-sided framing margins on Aida cloth, and over-2 linen/evenweave thread counts. meltdots-mcp gives AI assistants and scripts deterministic, offline math with zero runtime dependencies.

Interactive Tools & Reference Pages on MeltDots

Looking for a visual editor, color chart lookup, or free 1:1 printable PDF export (no sign-in required)? Use the matching web tools on MeltDots:

Capability / Reference Coverage Interactive Web Tool on MeltDots
Fuse bead size & pegboard planner 20 bead series (2.5 / 2.6 / 5 / 10 mm), grid ↔ space Free Bead Size & Pegboard Calculator
Cross stitch fabric & skein calculator Aida 11–22 ct, 28/32/36 ct over-2 linen & margins Cross Stitch Fabric Size & Aida Calculator
Multi-brand bead specifications 20 palettes across 10 brands, 29×29 board sizing 20 Fuse Bead Palettes Comparison
Cross-brand bead color matching Perler, Hama, Artkal, MARD (CIEDE2000 ΔE00) Free Bead Color Converter
Brand bead color charts Search codes, names & HEX references Perler Bead Color Chart · Hama Bead Color Chart · Artkal Bead Color Chart · MARD Bead Color Chart
DMC embroidery floss reference 481 active DMC stranded cotton shades + HEX lookup DMC Floss Color Chart
Photo-to-pattern editors Browser conversion, grid editor, PNG & 1:1 PDF Photo to Fuse Bead Pattern · Photo to Cross Stitch Pattern
Free printable pattern libraries Downloadable bead & cross stitch designs with legends Free Fuse Bead Patterns · Free Cross Stitch Patterns
All browser utilities Charts, converters, calculators & pixel resizer All Free Craft Tools

MCP Server Setup

Runs 100% locally over stdio—no API key, no account, and no network calls.

Claude Code

claude mcp add meltdots-mcp -- npx -y meltdots-mcp

Claude Desktop / Cursor / VS Code

Add to your MCP configuration (claude_desktop_config.json, .cursor/mcp.json, or VS Code MCP settings):

{
  "mcpServers": {
    "meltdots-mcp": {
      "command": "npx",
      "args": ["-y", "meltdots-mcp"]
    }
  }
}

Exposed MCP Tools

Tool What it calculates Interactive companion
calculate_bead_size Converts bead grid (columns × rows) to physical mm / cm / in and pegboard counts (boardsAcross, boardsDown, boardCount, cellCapacity), or derives the max whole-bead grid fitting inside a given cm / in space. Auto-resolves nominal pitches for 20 bead brands/series. Bead Size Calculator
calculate_cross_stitch_size Converts stitch counts to stitched design size and fabric cut size (with 4-side framing margins) in cm and in, or fits max whole stitches into available fabric space, plus estimated stitch count and approximate 8 m / 6-strand DMC skein total (2 strands, 15% buffer). Cross Stitch Size Calculator

JavaScript / TypeScript API

npm install meltdots-mcp
import { estimateBeadSize, estimateCrossStitchSize } from 'meltdots-mcp'

// 52×52 MARD 2.6 mm mini bead design on standard 29×29 pegboards
const bead = estimateBeadSize({
  width: 52,
  height: 52,
  brand: 'MARD',
})
// -> { widthCm: 13.52, heightCm: 13.52, boardsAcross: 2, boardsDown: 2, boardCount: 4, ... }

// 140×140 stitch design on 28-count evenweave stitched over 2 (14 stitches/in), 5 cm margin per side
const stitch = estimateCrossStitchSize({
  width: 140,
  height: 140,
  preset: 'evenweave-28-over-2',
  marginPerSide: 5,
  unit: 'cm',
})
// -> { designWidthCm: 25.4, cutWidthCm: 35.4, approxSkeinsTotal: 13, ... }

Supported Nominal Specs

Fuse Bead Series (BEAD_SIZE_MM)

Size Class Nominal Pitch 29×29 Pegboard Size Supported Brand Keys
Mini (2.5 mm) 2.5 mm 7.3 × 7.3 cm Hama Mini
Mini (2.6 mm) 2.6 mm 7.5 × 7.5 cm MARD, Perler Mini, Artkal C Mini, Artkal M Mini, Artkal A Mini, Top Tier Mini, COCO, 漫漫 (Manman), 盼盼 (Panpan), 咪小窝 (Mixiaowo)
Midi / Caps (5 mm) 5 mm 14.5 × 14.5 cm Perler, Perler Caps, Hama, Artkal S, Artkal J, Artkal R, Top Tier, Nabbi
Maxi (10 mm) 10 mm 29.0 × 29.0 cm Hama Maxi

Cross Stitch Fabric Presets (CROSS_STITCH_FABRIC_PRESETS)

Preset ID Fabric Stitching Method Effective Count (st/in) Typical Strands
aida-11 11 ct Aida over 1 11 3
aida-14 14 ct Aida over 1 14 2
aida-16 16 ct Aida over 1 16 2
aida-18 18 ct Aida over 1 18 2
aida-22 22 ct Aida over 1 22 1–2
evenweave-28-over-2 28 ct Evenweave over 2 14 2
evenweave-32-over-2 32 ct Evenweave over 2 16 2
linen-36-over-2 36 ct Linen over 2 18 1–2

Disclaimer & License

  • Independent project: MeltDots is an independent craft software tool and is not affiliated with or endorsed by Perler, Hama, Artkal, MARD, Nabbi, Top Tier, COCO, or DMC. All dimensions are nominal planning estimates; fused bead size and per-color floss requirements vary by ironing and chart distribution.
  • License: MIT