Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

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

README.md

profitlee-mcp

![npm version](https://www.npmjs.com/package/profitlee-mcp) ![license](./LICENSE) ![smithery badge](https://smithery.ai/servers/aronleedev/profitlee-mcp) ![Glama MCP Server](https://glama.ai/mcp/servers/AronLEEdev/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+.

Tools

| Tool | Auth | Description | | --- | --- | --- | | calculate_profit | none | Full per-unit cost stack, gross/net margin, and monthly P&L. | | list_scenarios | Pro token | List your saved scenarios. | | get_scenario | Pro token | Read one scenario (inputs + outputs) by id. | | save_scenario | Pro token | Save a named scenario from calculator inputs. | | update_scenario | Pro token | Rename and/or replace a scenario's inputs. | | delete_scenario | Pro token | Delete a scenario by id. | | copy_scenario | 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 | | --- | --- | | platform | amazon (default) or tiktok_shop. | | region | us, de, or jp. | | mode | amazon: fba \| fbm. tiktok_shop: fbt \| self_fulfilled. | | L, W, H, weight | Dimensions + unit weight. | | fob, headShip, duty | Unit cost, inbound freight/unit, import duty/unit. | | price | Selling price (gross; VAT-inclusive for DE/JP). | | ppcAcos, returnRate | Ad ACoS and return rate (0–1). | | monthlyVolume | Units/month (scales the P&L). | | referralPct | Referral fee (0–1). Preferred over referralCategory. | | isApparel | Affects some fees. | | mode-specific | FBA: inboundOption, storageMonths, storageSeason. FBM / TikTok self-fulfilled: outboundShipPerUnit, pickPackPerUnit, monthly3plStorage. TikTok FBT: storageMonthsPastFree. |

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 | | --- | --- | --- | --- | | PROFITLEE_API_TOKEN | No | — | Pro token (eck_live_…); needed only for the scenario tools. | | PROFITLEE_BASE_URL | No | https://profitlee.com | Override the API origin (testing). |

How it works

The server is a thin wrapper over Profitlee's public HTTP API:

  • calculate_profitPOST /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 tsx

Releasing

Maintainers: see PUBLISHING.md for npm publish + MCP registry steps. The registry manifest lives in server.json.

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use E-commerce & Retail servers.