io.github.SKalinin909/tradingcalc
https://tradingcalc.io/api/mcpskills: {'id': 'workflow.run_pnl_planning', 'name': 'workflow.run_pnl_planning', 'description': 'Calculate net PnL, ROE, fees and gross profit/loss for a futures trade. Use when user asks "what\'s my profit/loss on this trade?" Returns: grossPnl, fees, netPnl, netPnlUsdt, roe (%).', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'workflow.run_liquidation_safety', 'name': 'workflow.run_liquidation_safety', 'description': 'Calculate the liquidation price for an isolated-margin futures position. Use when user asks "where will I get liquidated?" or "how close is my liq price?". Returns: liquidationPrice, distancePct (how far from entry).', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'workflow.run_breakeven_planning', 'name': 'workflow.run_breakeven_planning', 'description': 'Calculate the break-even exit price that covers all trading fees. Use when user asks "what price do I need to just break even?" Returns: breakevenPrice, totalFees.', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'workflow.run_position_sizing', 'name': 'workflow.run_position_sizing', 'description': 'Calculate the correct position size given a maximum risk in USDT and a stop-loss price. Use when user asks "how many coins should I buy?" or "size my position so I risk exactly $X". Returns: positionSize (base), positionUsdt, marginRequired.', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'workflow.run_funding_cost', 'name': 'workflow.run_funding_cost', 'description': 'Calculate the total funding cost (or income) for holding a perpetual futures position. Use when user asks "how much funding will I pay holding X days?" or "is funding eating my profit?". Returns: totalFundingUsdt (negative = you pay, positive = you receive), perIntervalUsdt.', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'primitive.average_entry', 'name': 'primitive.average_entry', 'description': 'Calculate the weighted average entry price from multiple buy/sell fills (DCA). Use when user has filled at multiple prices and asks "what\'s my average entry?" Returns: averagePrice, totalSize, totalCost.', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'workflow.run_exit_target', 'name': 'workflow.run_exit_target', 'description': 'Calculate the exact exit price needed to hit a target PnL or ROE percentage. Use when user asks "at what price do I take profit to make $500?" or "where should I set TP for 20% ROE?". Returns: targetExitPrice.', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}, {'id': 'workflow.run_scenario_planning', 'name': 'workflow.run_scenario_planning', 'description': 'Run a scenario analysis: compute PnL for multiple price-change percentages at once. Use when user asks "show me my P&L if BTC moves -10%, -5%, +5%, +10%". Returns: array of { deltaPct, exitPrice, netPnl, roe }.', 'tags': [], 'examples': None, 'input_modes': None, 'output_modes': None}; uptime_30d 1.0%; p95 1807.5ms; conformance: pass
How to connect
https://tradingcalc.io/api/mcp
curl -X POST https://tradingcalc.io/api/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'