Profitlee MCP logo

Profitlee MCP

Calculates Amazon and TikTok Shop profit margins and manages saved Profitlee scenarios through MCP.

Install Profitlee MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "profitlee-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "profitlee-mcp"
      ],
      "env": {
        "PROFITLEE_API_TOKEN": "YOUR_VALUE_HERE",
        "PROFITLEE_BASE_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y profitlee-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The profitlee-mcp MCP server connects MCP clients to Profitlee's HTTP API for Amazon FBA/FBM and TikTok Shop calculations. Its free calculate_profit tool returns per-unit costs, gross and net margins, and monthly P&L without authentication. A Profitlee Pro API token enables tools for listing, reading, saving, updating, deleting, and copying named scenarios. Use it when an agent needs country-specific ecommerce profitability analysis or scenario management.

Use cases

  • Calculate Amazon FBA margins by region
  • Compare TikTok Shop fulfillment methods
  • Save product profitability scenarios
  • Update and duplicate saved scenarios

Key features

  • Amazon FBA and FBM calculations
  • TikTok Shop FBT and self-fulfilled calculations
  • Country-specific US, Germany, and Japan inputs
  • Per-unit cost and margin breakdowns
  • Monthly P&L calculations
  • Saved scenario management

Tools7

What Profitlee MCP lets your agent do. Expand a tool for its parameters.

Self-reported~97 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/15 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · profitlee-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads226Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed7Callable tools this server registers over MCP.

How Profitlee MCP works

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:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Profitlee MCP

profitlee-mcp is an MCP server that connects AI clients to Profitlee's HTTP API. Its main tools calculate Amazon FBA/FBM and TikTok Shop profitability, then list, read, save, update, delete, or copy saved scenarios. Calculation needs no token, while scenario management requires a Profitlee Pro API token.

Install it through an MCP client using the `npx -y profitlee-mcp` command and Node.js 20 or newer. Add the command and package argument to the client's MCP configuration. Set `PROFITLEE_API_TOKEN` only if scenario tools are required.

Yes, profitlee-mcp works with Cursor through its standard MCP configuration. Configure Cursor to run `npx -y profitlee-mcp`; add a Profitlee Pro token if the agent must manage saved scenarios.

It supports Amazon and TikTok Shop across the US, Germany, and Japan. Amazon offers FBA and FBM modes; TikTok Shop offers FBT and self-fulfilled modes. US measurements use inches and pounds, while Germany and Japan use centimeters and kilograms.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewProfitlee MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/profitlee-mcp?style=directory)](https://allmcps.com/mcp/profitlee-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/profitlee-mcp"><img src="https://allmcps.com/api/badge/profitlee-mcp?style=directory" alt="Profitlee MCP on AllMCPs" /></a>