Profitlee MCP

Use Profitlee from any AI agent

profitlee-mcp is a Model Context Protocol server that exposes Profitlee's calculator and saved scenarios as tools for Claude, Cursor, and other MCP clients. The calculate_profit tool is free and needs no token; the scenario tools use a Pro API token.

Install

Add this to your MCP client config (Claude Desktop, Claude Code, Cursor, …), then restart the client. Requires Node.js 20+.

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

The env block is optional — omit it to use calculate_profit only. Create a token on your account page.

Tools

ToolAuthDescription
calculate_profitNoneFull per-unit cost stack, gross/net margin, and monthly P&L.
list_scenariosPro tokenList your saved scenarios.
get_scenarioPro tokenRead one scenario (inputs + outputs) by id.
save_scenarioPro tokenSave a named scenario from calculator inputs.
update_scenarioPro tokenRename and/or replace a scenario's inputs.
delete_scenarioPro tokenDelete a scenario by id.

Configuration

VariableRequiredPurpose
PROFITLEE_API_TOKENNoPro API token (eck_live_…). Needed only for the scenario tools; calculate_profit works without it. Create one on your account page.
PROFITLEE_BASE_URLNoOverride the API origin (default https://profitlee.com).