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
| 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. |
Configuration
| Variable | Required | Purpose |
|---|---|---|
| PROFITLEE_API_TOKEN | No | Pro API token (eck_live_…). Needed only for the scenario tools; calculate_profit works without it. Create one on your account page. |
| PROFITLEE_BASE_URL | No | Override the API origin (default https://profitlee.com). |