Repository avatar
AI Tools
v1.0.0
active

meltdots-mcp

io.github.boh5/meltdots-mcp

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

Documentation

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 / ReferenceCoverageInteractive Web Tool on MeltDots
Fuse bead size & pegboard planner20 bead series (2.5 / 2.6 / 5 / 10 mm), grid ↔ spaceFree Bead Size & Pegboard Calculator
Cross stitch fabric & skein calculatorAida 11–22 ct, 28/32/36 ct over-2 linen & marginsCross Stitch Fabric Size & Aida Calculator
Multi-brand bead specifications20 palettes across 10 brands, 29×29 board sizing20 Fuse Bead Palettes Comparison
Cross-brand bead color matchingPerler, Hama, Artkal, MARD (CIEDE2000 ΔE00)Free Bead Color Converter
Brand bead color chartsSearch codes, names & HEX referencesPerler Bead Color Chart · Hama Bead Color Chart · Artkal Bead Color Chart · MARD Bead Color Chart
DMC embroidery floss reference481 active DMC stranded cotton shades + HEX lookupDMC Floss Color Chart
Photo-to-pattern editorsBrowser conversion, grid editor, PNG & 1:1 PDFPhoto to Fuse Bead Pattern · Photo to Cross Stitch Pattern
Free printable pattern librariesDownloadable bead & cross stitch designs with legendsFree Fuse Bead Patterns · Free Cross Stitch Patterns
All browser utilitiesCharts, converters, calculators & pixel resizerAll 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

ToolWhat it calculatesInteractive companion
calculate_bead_sizeConverts 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_sizeConverts 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 ClassNominal Pitch29×29 Pegboard SizeSupported Brand Keys
Mini (2.5 mm)2.5 mm7.3 × 7.3 cmHama Mini
Mini (2.6 mm)2.6 mm7.5 × 7.5 cmMARD, Perler Mini, Artkal C Mini, Artkal M Mini, Artkal A Mini, Top Tier Mini, COCO, 漫漫 (Manman), 盼盼 (Panpan), 咪小窝 (Mixiaowo)
Midi / Caps (5 mm)5 mm14.5 × 14.5 cmPerler, Perler Caps, Hama, Artkal S, Artkal J, Artkal R, Top Tier, Nabbi
Maxi (10 mm)10 mm29.0 × 29.0 cmHama Maxi

Cross Stitch Fabric Presets (CROSS_STITCH_FABRIC_PRESETS)

Preset IDFabricStitching MethodEffective Count (st/in)Typical Strands
aida-1111 ct Aidaover 1113
aida-1414 ct Aidaover 1142
aida-1616 ct Aidaover 1162
aida-1818 ct Aidaover 1182
aida-2222 ct Aidaover 1221–2
evenweave-28-over-228 ct Evenweaveover 2142
evenweave-32-over-232 ct Evenweaveover 2162
linen-36-over-236 ct Linenover 2181–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
NPM
meltdots-mcp
Install Command
npm install meltdots-mcp