Skip to main content
Glama
README.md
# wickcalc-mcp

Candle making math as an MCP server: how much wax and fragrance oil a candle jar or a whole batch needs (from the
water weight, the jar's inside size or the fill weight), fragrance load in % of wax, % of the candle and ounces per
pound, the cost per candle, the price to charge on Etsy, at a craft fair or wholesale so every sale keeps a profit
after fees, and whether to go one wick size up or down after a burn test. Five read-only tools, no sign-in, nothing
stored.

It is the calculator of the **[WickCalc](https://zhukovskyi.space/apps/wickcalc/)** candle app by Dre Dev, ported
from Dart to Python and checked against the app's own test values. The wax part runs in the browser too:
[candle wax calculator](https://zhukovskyi.space/calculators/candles/candle-wax-calculator.html).

- App: [zhukovskyi.space/apps/wickcalc](https://zhukovskyi.space/apps/wickcalc/)
- Server: `https://mcp.zhukovskyi.space/wickcalc/mcp` (streamable HTTP)

## Tools

| Tool | Gives |
|---|---|
| `calculate_candle_wax` | Wax and fragrance oil per candle and for the batch (spill extra included) from water weight, jar volume, round or square jar size, or fill weight; jar volume in ml and fl oz; candles your wax on hand fills; hours to a full melt pool |
| `convert_fragrance_load` | A fragrance load as % of wax, % of the candle, oz per lb and g per kg of wax, from a % or from weighed amounts; flags loads above 12 % of the wax |
| `estimate_candle_cost` | Cost per candle and per batch: wax and fragrance priced from the pack, blended oils and additives, jar, wicks, label, lid, box, labor and overhead |
| `price_candle_for_profit` | The price that keeps your margin on Etsy (fees by shop country, Offsite Ads, shipping, VAT), at a craft fair (card fee, booth fee) and wholesale (with the keystone shelf price), rounded up to .99, plus a check of any price with a loss warning |
| `advise_wick_from_burn_tests` | Wick one size up, down, trim and retry, keep burning or keep it, from your test burns; full melt pool hours; burn rate and burn time from weighing the candle |

Weights in g, kg, oz or lb; jar sizes in in, cm or mm; volume in ml or fl oz. Money in $, €, £, C$, A$ and seven
other currencies. All tools: `readOnlyHint: true`, `destructiveHint: false`, `openWorldHint: false`.

## Connect

**Claude (claude.ai, Desktop), ChatGPT (developer mode), Cursor, VS Code** — add a remote MCP server with the URL
`https://mcp.zhukovskyi.space/wickcalc/mcp`, no authentication.

**Local (stdio):**

```bash
git clone https://github.com/andronaft/wickcalc-mcp && cd wickcalc-mcp
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
```

```json
{ "mcpServers": { "wickcalc": { "command": "/path/to/wickcalc-mcp/.venv/bin/python",
                                "args": ["/path/to/wickcalc-mcp/server.py", "--stdio"] } } }
```

Ask, for example: *"How much soy wax and fragrance for 12 jars that hold 8 oz of water, at 8 % fragrance?"* or
*"My candle costs $6.40 to make. What should I charge on Etsy to keep a 40 % margin with $5 shipping?"*

## Method

- Fill per candle = weight of water to the fill line × wax factor (default 0.86; most waxes weigh 0.82–0.95 of the
  same volume of water): Armatage Candle Company, Veda Oils, Makers Math. Jar volume = π r² h or width × depth ×
  height of the inside, 1 ml of water = 1 g.
- Wax = fill ÷ (1 + load) for a load in % of the wax; fragrance = fill × load for a load in % of the candle. 10 % of
  the wax = 9.09 % of the candle; 1 oz per pound = 6.25 %. Most waxes hold 6–12 % (Craftybase, NI Candle Supplies).
- Cost: wax and fragrance at pack price ÷ pack weight; a blended oil takes its share of the fragrance and an additive
  its share of the wax; labor spread over the batch; overhead % on materials and packaging.
- Price = (cost + shipping cost + fixed fees − shipping charged × (1 − fee %)) ÷ (1 − fee % − VAT share − margin).
  Etsy: 6.5 % transaction fee on price + shipping, payment processing by country (US 3 % + $0.25, UK 4 % + £0.20,
  EU 4 % + €0.30, CA and AU 3 % + 0.25), $0.20 listing fee per sale, regulatory fee (UK 0.32 %, FR 0.47 %, ES
  0.72 %, IT 0.32 %, CA 1.15 %), Offsite Ads 12 or 15 % on the share of orders they bring; checked 2026-11-11.
  Craft fair: Square US in person 2.6 % + 15¢ and the booth fee ÷ expected sales. Wholesale: cost ÷ (1 − margin),
  shops sell at 2× (keystone). VAT: standard UK and EU rates; VAT in a VAT-inclusive price = rate ÷ (100 + rate).
- Wick: CandleScience's burn test guide. Burns of up to 4 hours, judged from the 4th; a tall flame, soot or
  mushrooming in two burns → one size down; one tall flame → trim to ¼ in and burn again; a pool short of the edge,
  tunneling or a low flame after the 4th → one size up. Full melt pool ≈ 1 hour per inch of diameter.
- Checked against the app's tests (`test/calc_test.dart`): 8 fl oz of water ≈ 6.88 oz of wax (Makers Math); 100 g of
  water at 10 % → 78.2 g wax (Veda Oils); 10 oz at 0.85 and 10 % of the total → 7.65 oz wax, 0.85 oz oil
  (Northwood); a 3 × 3 in round jar = 347.5 ml; a $100 US Etsy sale pays $9.95 in fees (Craftybase); market,
  wholesale, blend cost and wick advice cases. See `tests/test_server.py`.
- Not counted: sales tax, Etsy's currency conversion fee, Etsy Ads, the $100 Offsite Ads cap. Fixed fees in a
  currency other than the preset's are converted at rounded rates.

No wick size is named for a diameter: wick charts belong to each wick series, wax and fragrance, so start from your
wick supplier's chart and test that size, one up and one down. Wax amounts are estimates from an average wax factor:
weigh your first test jar. Never leave a burning candle unattended.

## Run and test

```bash
pip install -r requirements.txt
python server.py                  # http://127.0.0.1:8000/mcp
python server.py --stdio
python -m unittest discover tests   # 17 tests
```

Hosted with the other Dre Dev MCP servers in one process; `build_app()` is mounted at `/wickcalc`.

## Licence

MIT for the code. Made by Andrii Zhukovskyi ([Dre Dev](https://zhukovskyi.space/)).