Profitlee-MCP
profitlee-mcp
An MCP server for Profitlee — compute country-accurate Amazon FBA/FBM and TikTok Shop profit margins, and manage saved scenarios, from any MCP client (Claude Desktop, Claude Code, Cursor, …).
calculate_profit is free and needs no token. The scenario tools require a Profitlee Pro API token.
MCP registry name:
io.github.AronLEEdev/profitlee-mcp
Quick start
Add to your MCP client config:
{
"mcpServers": {
"profitlee": {
"command": "npx",
"args": ["-y", "profitlee-mcp"],
"env": {
"PROFITLEE_API_TOKEN": "eck_live_xxx"
}
}
}
}PROFITLEE_API_TOKEN is optional — omit the whole env block to use calculate_profit only. Create a token on your Profitlee account page to unlock the scenario tools.
Requires Node.js 20+.
Related MCP server: Amazon FBA Ops MCP Server
Tools
Tool | Auth | Description |
| none | Full per-unit cost stack, gross/net margin, and monthly P&L. |
| Pro token | List your saved scenarios. |
| Pro token | Read one scenario (inputs + outputs) by id. |
| Pro token | Save a named scenario from calculator inputs. |
| Pro token | Rename and/or replace a scenario's inputs. |
| Pro token | Delete a scenario by id. |
| Pro token | Duplicate a scenario into a new one ("Copy of …"). |
calculate_profit inputs
Pick a platform + mode, give the product's physical and cost details, and Profitlee folds every fee into a single net margin. Rates are 0–1 decimals (e.g. 0.15 = 15%). US uses inches + pounds; DE/JP use cm + kg.
Field | Notes |
|
|
|
|
| amazon: |
| Dimensions + unit weight. |
| Unit cost, inbound freight/unit, import duty/unit. |
| Selling price (gross; VAT-inclusive for DE/JP). |
| Ad ACoS and return rate (0–1). |
| Units/month (scales the P&L). |
| Referral fee (0–1). Preferred over |
| Affects some fees. |
mode-specific | FBA: |
The Profitlee API is the source of truth for validation — incomplete or out-of-range inputs come back as a clear error listing the offending fields. Full field reference: https://profitlee.com/docs/api.
Environment variables
Var | Required | Default | Purpose |
| No | — | Pro token ( |
| No |
| Override the API origin (testing). |
How it works
The server is a thin wrapper over Profitlee's public HTTP API:
calculate_profit→POST /api/v1/calculate(public, no token).scenario tools →
/api/v1/scenarios*(require the Pro token; the server fails fast with a clear message if it's missing).
No fee logic is reimplemented here, so results always match the live Profitlee calculator and current fee tables.
Development
npm install
npm test # vitest (27 tests)
npm run build # tsc -> dist/
npm run dev # run from source with tsxReleasing
Maintainers: see PUBLISHING.md for npm publish + MCP registry steps. The registry manifest lives in server.json.
License
Available Tools
7 toolscalculate_profitCalculate profitARead-onlyIdempotent
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.
Inputs: H (required), L (required), W (required), fob (required), +22 more. Returns: result
copy_scenarioCopy a scenarioA
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 " unless you pass name. Counts against the saved-scenario limit. Requires PROFITLEE_API_TOKEN.
Inputs: id (required), name. Returns: response
delete_scenarioDelete a scenarioADestructive
Delete one saved Profitlee scenario by id. This permanently removes the saved scenario from the authenticated Pro account. Requires PROFITLEE_API_TOKEN.
Inputs: id (required). Returns: response
get_scenarioGet a scenarioARead-onlyIdempotent
Fetch one saved Profitlee scenario by id, including the original calculator inputs and the computed profit output. Requires PROFITLEE_API_TOKEN.
Inputs: id (required). Returns: response
list_scenariosList saved scenariosARead-onlyIdempotent
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.
Inputs: no named parameters. Returns: response
save_scenarioSave a scenarioA
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.
Inputs: name (required), inputs (required). Returns: response
update_scenarioUpdate a scenarioADestructive
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.
Inputs: id (required), name, inputs. Returns: response
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clear, distinct purpose. calculate_profit handles the standalone profit calculation, while list/get/save/update/delete/copy_scenario map exactly to scenario lifecycle operations with no overlap.
All tool names follow the verb_noun pattern in snake_case: calculate_profit, list_scenarios, get_scenario, save_scenario, update_scenario, delete_scenario, copy_scenario. This is completely consistent and predictable.
Seven tools is well-scoped for the server's purpose: one calculator plus six scenario management operations. Each tool earns its place without redundancy or bloat.
The tool surface covers the full lifecycle for scenarios (create, read, update, delete, list, copy) and includes the core calculation feature. There are no obvious gaps or dead ends for the stated domain.
Maintenance
Related MCP Connectors
Paid MCP tool for resale fees, net profit, ROI, and break-even price.
True net profit and breakeven price for eBay, Etsy, Poshmark, Mercari, Depop, Whatnot, TikTok Shop.
Connects Amazon Seller Central and Amazon Advertising to any MCP client. Settlement-accurate P&L - every fee, refund and reimbursement as Amazon posted it - plus contribution margin and breakeven per product, per marketplace, per day. Full Sponsored Products, Brands and Display management: search terms, placements, keyword and competitor research, dayparting, automation rules. 110 tools: 78 read-only (P&L, PPC at every grain, SQP/Brand Analytics, inventory, forecasting), 28 staged writes (every change is a proposal you review and confirm before it reaches Amazon - there is no autonomous-write mode), and 4 confirmation & support tools. 4 additional AI Workforce tools appear once a client is connected.
Read-only Amazon profit, fee, ACoS, and geo-holdout MCP tools for Claude, ChatGPT, and agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for Amazon FBA sellers providing tools for profit calculation, inventory health analysis, COGS breakdown, tax deduction guidance, reorder point calculation, and FBA fee reference.MIT
- FlicenseAqualityDmaintenanceA local MCP server that enables querying Amazon Selling Partner API for profitability analysis (revenue, fees, COGS, net margin) and inventory alerts (FBA stock levels and low-stock warnings) using read-only operations.9-
- AlicenseNot gradedqualityCmaintenanceConnects Amazon Seller Central and Amazon Advertising to any MCP client, with a settlement-accurate P&L underneath: every fee, refund and reimbursement as Amazon actually posted it, so contribution margin and breakeven are per product, per marketplace, per day. 107 tools spanning P&L, full Sponsored Products/Brands/Display management, Search Query Performance and Brand Analytics, inventory and for1MIT
- AlicenseNot gradedqualityBmaintenanceAmazon Seller Central MCP server. Connect Seller Central, Vendor Central and Amazon Ads to Claude, ChatGPT, Gemini or Cursor, and ask for net profit per SKU with your own COGS, VAT and FBM shipping costs, PPC down to the search term, SQP, inventory and listing health.MIT