# profitlee-mcp [Health: Active]

**Category:** 🛒 E-Commerce  
**Repository:** https://github.com/AronLEEdev/profitlee-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 226  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/profitlee-mcp

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

## Tools
Capabilities this server exposes over MCP:

- **calculate_profit** — Full per-unit cost stack, gross/net margin, and monthly P&L.
- **list_scenarios** — List your saved scenarios.
- **get_scenario** — Read one scenario (inputs + outputs) by id.
- **save_scenario** — Save a named scenario from calculator inputs.
- **update_scenario** — Rename and/or replace a scenario's inputs.
- **delete_scenario** — Delete a scenario by id.
- **copy_scenario** — Duplicate a scenario into a new one ("Copy of …").

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "profitlee-mcp": {
    "command": "npx",
    "args": ["-y","profitlee-mcp"],
    "env": {
      "PROFITLEE_API_TOKEN": "",
      "PROFITLEE_BASE_URL": ""
    }
  }
}
```

**Requires environment variables:** `PROFITLEE_API_TOKEN`, `PROFITLEE_BASE_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What profitlee-mcp MCP server does

The profitlee-mcp MCP server exposes Profitlee's ecommerce calculator through the Model Context Protocol. It supports Amazon FBA and FBM modes, plus TikTok Shop's FBT and self-fulfilled modes. Calculations can use the US, Germany, or Japan region, with regional measurement conventions handled by the underlying API.

The calculator combines product dimensions, weight, sourcing costs, selling price, advertising, returns, volume, and platform-specific fulfillment costs. Its response includes a per-unit cost breakdown, gross and net margin results, and a monthly profit-and-loss view. The calculator is available without a token.

Scenario management is separate from calculation. The scenario tools operate on saved inputs and outputs and require a Profitlee Pro API token.

## How it works

The profitlee-mcp MCP server is a thin HTTP client rather than an independent fee-calculation engine. The calculate_profit tool sends a request to Profitlee's public `/api/v1/calculate` endpoint. Scenario operations use the `/api/v1/scenarios*` API routes and authenticate with the configured Pro token.

Profitlee remains responsible for input validation and fee tables. If required values are missing or outside the accepted range, the API returns an error identifying the affected fields. Rates such as advertising ACoS, return rate, and referral percentage use decimal values from 0 to 1; for example, 0.15 represents 15 percent.

## Setup and configuration

Run the package through an MCP client's command configuration with Node.js 20 or newer:

```json
{
  "mcpServers": {
    "profitlee": {
      "command": "npx",
      "args": ["-y", "profitlee-mcp"]
    }
  }
}
```

Set `PROFITLEE_API_TOKEN` when the client needs scenario operations. Leave it unset, and omit the environment block, for calculation-only use. Tokens are created from the Profitlee account page. `PROFITLEE_BASE_URL` optionally changes the API origin, which is useful for testing. Its default is `https://profitlee.com`.

## Tools and capabilities

The profitlee-mcp MCP server provides these tools:

- `calculate_profit` calculates the complete cost and margin result for a product and monthly volume.
- `list_scenarios` returns the saved scenarios associated with the token.
- `get_scenario` retrieves one scenario's inputs and outputs by ID.
- `save_scenario` stores calculator inputs under a name.
- `update_scenario` changes a scenario name, inputs, or both.
- `delete_scenario` removes a scenario by ID.
- `copy_scenario` duplicates a scenario as a new saved record.

Calculation inputs include platform, region, mode, dimensions, weight, unit cost, inbound shipping, duty, price, advertising ACoS, return rate, and monthly volume. Amazon FBA can include inbound and storage settings. FBM and TikTok Shop self-fulfillment can include outbound shipping, pick-and-pack, and 3PL storage costs. TikTok Shop FBT accepts storage months beyond the free period.

## Limitations and notes

Scenario tools do not work without a valid Profitlee Pro API token; the server reports a clear missing-token error. The calculator's price is gross, and it is VAT-inclusive for Germany and Japan. US inputs use inches and pounds, while Germany and Japan use centimeters and kilograms.

Referral fees can be supplied as a decimal percentage, with `referralPct` preferred over `referralCategory`. Some fee behavior also depends on whether the product is apparel. The repository does not reimplement the fee rules, so calculation behavior follows the live Profitlee API and its current fee tables.

_Full upstream README: https://allmcps.com/mcp/profitlee-mcp/readme_

