MCP SERVER · STREAMABLE HTTP · 100 TOOLS

The trade math agents don’t reinvent.

Give your AI agent exact options, forex, risk and statistics, prediction-market, on-chain, and futures math via MCP. Every result is signed, and every formula is published. TradingCalc is the verifiable computation layer your agent calls for option Greeks, pip value, Sharpe and VaR, position size, liquidation price, funding cost, and PnL.

tools/call · workflow.run_pre_trade_check
$ curl -s https://tradingcalc.io/api/mcp \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"workflow.run_pre_trade_check",
"arguments":{"side":"long","entry_price":83000,
"stop_loss":81000,"account_balance":5000,
"risk_pct":2,"leverage":5}}}'
 
// result.content[0].text
{
"safety": "ok",
"recommended_size": 0.04861,
"notional": 4034.56,
"margin_required": 806.91,
"liquidation_price": 66895.00,
"liquidation_distance_pct": 19.40,
"breakeven_price": 83023.51,
"funding_cost_24h": 1.21
}
100 TOOLS
MCP.JSON LOADED
17 EXCHANGES
NORMALIZED
60/60
VECTORS: PASS
DRIFT: 0
01WHY AGENTS NEED THIS

Why AI agents need exact calculations

When an LLM answers “what's my liquidation price at 10× leverage?”, it approximates. For a position at $83,000 BTC, the difference between “approximately $75,000” and the $75,115 the formula gives at a 0.5% maintenance margin could mean the difference between holding through a dip and getting liquidated on one.

AGENT WITHOUT MCP
Asks the LLM to calculate liquidation price. Gets a plausible number. May be 5–15% off. Error compounds across multi-step workflows.
AGENT WITH TRADINGCALC MCP
Calls workflow.run_liquidation_safety. Gets the number from a published, tested formula. Same inputs, same outputs.
02INSTALL

Install in 30 seconds

CLAUDE DESKTOP
claude_desktop_config.json
{
"mcpServers": {
"tradingcalc": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://tradingcalc.io/api/mcp"]
}
}
}

Cursor / VS Code config, direct HTTP calls, and API-key authentication for higher limits are in the full API & MCP reference.

03TOOL INVENTORY

100 deterministic tools

Position & risk, PnL & targets, funding & carry, entry & exit, market structure, on-chain safety, prediction markets, forex, and Deribit and Binance options math: every tool callable by name over the same JSON-RPC endpoint.

FULL TOOL CATALOG →
04PROOF

Self-verifiable formulas

60 canonical test vectors

Runs on every deployment.

system.verify tool

Confirm correctness via MCP before trusting results.

Public proof page

Live on every request, plus a daily record on Solana.

Signed responses

ECDSA P-256, verifiable offline.

Start in 30 seconds

No signup required for free tier. Add to Claude Desktop, Cursor, or VS Code using the config above.