profitlee-mcp

v0.2.1
io.github.AronLEEdev/profitlee-mcp Checked 4 days ago Published 3 months ago

MCP server for the Profitlee ecommerce profit calculator (Amazon FBA/FBM + TikTok Shop).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

calculate_profit Calculate profit

Calculate ecommerce profit for one product on Amazon FBA, Amazon FBM, TikTok Shop FBT, or TikTok Shop self-fulfilled. Returns per-unit fees, landed cost, gross margin, net margin after ads/returns/storage, and monthly P&L. Free to use; no Profitlee API token required.

ParameterTypeDescription
H *numberHeight. US: inches; DE/JP: cm.
L *numberLength. US: inches; DE/JP: cm.
W *numberWidth. US: inches; DE/JP: cm.
duty *numberImport duty per unit.
fob *numberUnit manufacturing / FOB cost in the marketplace currency.
headShip *numberInbound freight cost allocated per unit.
isApparel *booleanWhether the product is apparel (affects some fees).
mode *stringFulfillment mode. amazon: fba or fbm. tiktok_shop: fbt or self_fulfilled.
monthlyVolume *integerUnits sold per month.
ppcAcos *numberAdvertising ACoS as a 0-1 decimal (0.15 = 15%).
price *numberSelling price per unit (gross; VAT-inclusive for DE/JP).
referralPct *numberReferral/commission fee as a 0-1 decimal (0.15 = 15%). Preferred.
region *stringMarketplace. US uses inches+pounds; DE/JP use cm+kg.
returnRate *numberReturn rate as a 0-1 decimal (0.05 = 5%).
weight *numberUnit weight. US: pounds; DE/JP: kg.
adSalesSharenumberAd-attributed share of sales, 0-1. Omit to default to 1.
inboundOptionstringAmazon FBA only: inbound placement option.
monthly3plStoragenumberFBM or TikTok self_fulfilled: total monthly 3PL storage.
outboundShipPerUnitnumberFBM or TikTok self_fulfilled: outbound shipping per unit.
pickPackPerUnitnumberFBM or TikTok self_fulfilled: pick & pack per unit.
platformstringSales platform. Default: amazon.
referralCategorystring | nullAdvanced: a category slug that overrides referralPct. Leave unset and use referralPct.
storageMonthsnumberAmazon FBA only: number of months in storage.
storageMonthsPastFreenumberTikTok fbt only: months stored past the 60-day free window (0 if shipped before it ends).
storageSeasonstringAmazon FBA only: storage season (octDec is the Q4 peak).
unsellableReturnRatenumberUnsellable share of returned units, 0-1. Omit to default to 1.

list_scenarios List saved scenarios

List saved Profitlee profit scenarios for the authenticated Pro account. Use this before get_scenario, update_scenario, or delete_scenario when you need a scenario id. Requires PROFITLEE_API_TOKEN.

get_scenario Get a scenario

Fetch one saved Profitlee scenario by id, including the original calculator inputs and the computed profit output. Requires PROFITLEE_API_TOKEN.

ParameterTypeDescription
id *stringSaved Profitlee scenario id returned by list_scenarios or save_scenario.

save_scenario Save a scenario

Create a saved Profitlee scenario from a scenario name and calculator inputs. Profitlee validates the inputs and computes outputs server-side. Requires PROFITLEE_API_TOKEN.

ParameterTypeDescription
inputs *objectCalculator inputs using the same field meanings and units as calculate_profit.
name *stringHuman-readable scenario name, up to 120 characters.

update_scenario Update a scenario

Update an existing Profitlee scenario by id. Pass name to rename it, inputs to replace calculator inputs and recompute outputs, or both. Requires PROFITLEE_API_TOKEN.

ParameterTypeDescription
id *stringSaved Profitlee scenario id returned by list_scenarios or save_scenario.
inputsobjectOptional replacement calculator inputs using the same field meanings and units as calculate_profit.
namestringOptional new scenario name, up to 120 characters.

delete_scenario Delete a scenario

Delete one saved Profitlee scenario by id. This permanently removes the saved scenario from the authenticated Pro account. Requires PROFITLEE_API_TOKEN.

ParameterTypeDescription
id *stringSaved Profitlee scenario id returned by list_scenarios or save_scenario.

copy_scenario Copy a scenario

Duplicate an existing Profitlee scenario into a new one. Profitlee reads the source inputs server-side and recomputes outputs, so the copy reflects the current fee tables. The new name defaults to "Copy of <source name>" unless you pass name. Counts against the saved-scenario limit. Requires PROFITLEE_API_TOKEN.

ParameterTypeDescription
id *stringSaved Profitlee scenario id returned by list_scenarios or save_scenario.
namestringOptional name for the copy, up to 120 characters. Defaults to "Copy of <source name>".