Marketplace margin maths goes wrong in the details: dimensional weight in the wrong unit, a referral rate on the wrong base, VAT in or out. This puts a single number at the end of that chain, and keeps the versions you compared.
A Node MCP server for Profitlee, which folds platform fees, fulfilment, inbound freight and duty into one per-unit cost stack and a net margin. The calculator is free and needs no token; the saved-scenario tools need a Profitlee Pro token.
- A full per-unit cost stack with gross and net margin, and a monthly P&L
- Amazon FBA or FBM, and TikTok Shop FBT or self-fulfilled, each costed by its own rules
- Country-accurate maths for the US, Germany and Japan — inches and pounds for the US, centimetres and kilograms for DE and JP
- Scenarios saved by name from calculator inputs, listed, and read back with both inputs and outputs
- A scenario renamed or re-run against new inputs, duplicated as a variant, or deleted
A recent Node.js and npx -y profitlee-mcp — nothing else for the calculator. PROFITLEE_API_TOKEN is optional: leave the env block out and calculate_profit still works; add a Pro token from your Profitlee account page to unlock the scenario tools.
One command plus a key — npx -y profitlee-mcp, then supply credentials
