calculate_profitLABSCO SUMMARY
The fee stack, per country, without the spreadsheet.
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.
What it is
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.
What you get
- 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
Requirements
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.
Setup effort
One command — npx -y profitlee-mcp
USE CASES
Deciding whether a product is worth sourcing
Put dimensions, unit cost, freight, duty and price in, and read the net margin rather than a guess at it.
Comparing FBA against fulfilling it yourself
Run the same product under both modes and keep each result to look at side by side.
Checking whether a US winner works in Germany or Japan
Copy the saved scenario, change the region, and let the local units and fees apply.
Coming back to last month's numbers
List what you saved and read one back with the inputs that produced it.
Updating a case when a supplier quote changes
Replace the inputs on the existing scenario, and clear out the ones that no longer apply.
7 tools
Listed in project docs. Your client may show a different list.
list_scenariosget_scenariosave_scenarioupdate_scenariodelete_scenariocopy_scenarioBEFORE YOU INSTALL
What to know first
Tools you get
7 tools named in the project's documentation.
Requires
npx on PATH
Where it runs
All 3 documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npx -y profitlee-mcpMCP Clients
Claude Desktop, Claude Code, Cursor
{
"mcpServers": {
"profitlee": {
"command": "npx",
"args": [
"-y",
"profitlee-mcp"
],
"env": {
"PROFITLEE_API_TOKEN": "<YOUR_PROFITLEE_API_TOKEN>"
}
}
}
}