Deterministic crypto funding carry, prediction-market arb, Kelly sizing, and risk math MCP.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Compute exact multi-outcome (2..N) mutually exclusive arbitrage eligibility, fee-adjusted net implied probability sum, net edge %, equal-payout stakes, worst-case guaranteed net profit, and ROI %.
2..N mutually exclusive outcomes. Each leg specifies either decimal_odds (>1) or implied_prob (0..1), plus optional fee_bps.
Total capital to deploy across all legs if arb exists.
Default per-leg fee in basis points (100 bps = 1%).
Fee basis: 'payout' (on gross payout), 'profit' (commission on winning profit), or 'stake' (upfront fee out of deployed capital).
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http quant-arb-risk-calc-mcp https://quant-arb-risk-calc-mcp.ryu-7f5.workers.dev/mcp
Compute exact multi-outcome (2..N) mutually exclusive arbitrage eligibility, fee-adjusted net implied probability sum, net edge %, equal-payout stakes, worst-case guaranteed net profit, and ROI %.
| Argument | Type | Description |
|---|---|---|
| fee_bps | number | Default per-leg fee in basis points (100 bps = 1%). |
| fee_mode | string | Fee basis: 'payout' (on gross payout), 'profit' (commission on winning profit), or 'stake' (upfront fee out of deployed capital). |
| outcomes* | array | 2..N mutually exclusive outcomes. Each leg specifies either decimal_odds (>1) or implied_prob (0..1), plus optional fee_bps. |
| total_bankroll* | number | Total capital to deploy across all legs if arb exists. |
{
"type": "object",
"required": [
"outcomes",
"total_bankroll"
],
"properties": {
"fee_bps": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Default per-leg fee in basis points (100 bps = 1%).",
"exclusiveMaximum": 10000
},
"fee_mode": {
"enum": [
"payout",
"profit",
"stake"
],
"type": "string",
"default": "payout",
"description": "Fee basis: 'payout' (on gross payout), 'profit' (commission on winning profit), or 'stake' (upfront fee out of deployed capital)."
},
"outcomes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"fee_bps": {
"type": "number",
"minimum": 0,
"exclusiveMaximum": 10000
},
"decimal_odds": {
"type": "number",
"exclusiveMinimum": 1
},
"implied_prob": {
"type": "number",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
}
}
},
"minItems": 2,
"description": "2..N mutually exclusive outcomes. Each leg specifies either decimal_odds (>1) or implied_prob (0..1), plus optional fee_bps."
},
"total_bankroll": {
"type": "number",
"description": "Total capital to deploy across all legs if arb exists.",
"exclusiveMinimum": 0
}
}
}Compute exact Black-Scholes European option price and Greeks (Delta, Gamma, Vega, Theta, Rho) from volatility, OR solve Implied Volatility via safeguarded Newton-Raphson/Bisection from market_price.
| Argument | Type | Description |
|---|---|---|
| spot* | number | |
| strike* | number | |
| volatility | number | Annualized volatility as decimal (e.g., 0.25 for 25%). Specify either volatility or market_price. |
| option_type* | string | |
| market_price | number | Observed option price for Implied Volatility solving. Specify either volatility or market_price. |
| dividend_yield | number | Optional continuous dividend/staking yield (default 0). |
| risk_free_rate* | number | Annualized continuously compounded risk-free rate (e.g., 0.05 for 5%). |
| time_to_expiry_years* | number |
Normalize cross-venue perpetual funding intervals (e.g., 1h vs 8h), compute net hourly funding spread, gross APR %, fee+slippage breakeven hours/days, and projected 7d/30d net PnL USD.
| Argument | Type | Description |
|---|---|---|
| notional_usd* | number | Notional size per leg in USD. |
| slippage_bps | number | Total round-trip slippage cost in bps of notional_usd. |
| long_funding_rate* | number | Long leg per-interval funding rate as decimal (e.g., 0.0001 for 0.01%). Positive means longs pay shorts. |
| short_funding_rate* | number | Short leg per-interval funding rate as decimal (e.g., 0.0005 for 0.05%). Positive means longs pay shorts (short receives). |
| long_interval_hours* | number | Funding settlement interval in hours for the long leg (e.g., 8 or 1). |
| short_interval_hours* | number | Funding settlement interval in hours for the short leg (e.g., 8 or 1). |
| entry_exit_total_fee_bps* | number | Total round-trip trading fees (entry + exit across both legs) in bps of notional_usd. |
Calculate exact full Kelly %, fractional Kelly %, capped position stake, expected value (EV %), breakeven probability, and edge check for binary payoff trades.
| Argument | Type | Description |
|---|---|---|
| p* | number | Estimated win probability in [0, 1]. |
| bankroll* | number | Total bankroll in quote currency (e.g., USD). |
| fraction | number | Kelly multiplier (e.g., 0.25 for quarter-Kelly). |
| decimal_odds | number | Decimal odds (> 1, e.g., 2.0 for even money). Specify either decimal_odds or payoff_ratio. |
| payoff_ratio | number | Net win/loss payoff ratio b (> 0, e.g., 1.5 means win 1.5x per 1x risked). Specify either decimal_odds or payoff_ratio. |
| max_position_pct | number | Hard cap on position size as percentage of bankroll (0..100, e.g., 10 for 10%). |
{
"type": "object",
"required": [
"p",
"bankroll"
],
"properties": {
"p": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Estimated win probability in [0, 1]."
},
"bankroll": {
"type": "number",
"description": "Total bankroll in quote currency (e.g., USD).",
"exclusiveMinimum": 0
},
"fraction": {
"type": "number",
"default": 1,
"maximum": 1,
"description": "Kelly multiplier (e.g., 0.25 for quarter-Kelly).",
"exclusiveMinimum": 0
},
"decimal_odds": {
"type": "number",
"description": "Decimal odds (> 1, e.g., 2.0 for even money). Specify either decimal_odds or payoff_ratio.",
"exclusiveMinimum": 1
},
"payoff_ratio": {
"type": "number",
"description": "Net win/loss payoff ratio b (> 0, e.g., 1.5 means win 1.5x per 1x risked). Specify either decimal_odds or payoff_ratio.",
"exclusiveMinimum": 0
},
"max_position_pct": {
"type": "number",
"default": 100,
"maximum": 100,
"minimum": 0,
"description": "Hard cap on position size as percentage of bankroll (0..100, e.g., 10 for 10%)."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"required": [
"spot",
"strike",
"time_to_expiry_years",
"risk_free_rate",
"option_type"
],
"properties": {
"spot": {
"type": "number",
"exclusiveMinimum": 0
},
"strike": {
"type": "number",
"exclusiveMinimum": 0
},
"volatility": {
"type": "number",
"description": "Annualized volatility as decimal (e.g., 0.25 for 25%). Specify either volatility or market_price.",
"exclusiveMinimum": 0
},
"option_type": {
"enum": [
"call",
"put"
],
"type": "string"
},
"market_price": {
"type": "number",
"description": "Observed option price for Implied Volatility solving. Specify either volatility or market_price.",
"exclusiveMinimum": 0
},
"dividend_yield": {
"type": "number",
"default": 0,
"description": "Optional continuous dividend/staking yield (default 0)."
},
"risk_free_rate": {
"type": "number",
"description": "Annualized continuously compounded risk-free rate (e.g., 0.05 for 5%)."
},
"time_to_expiry_years": {
"type": "number",
"exclusiveMinimum": 0
}
}
}{
"type": "object",
"required": [
"long_funding_rate",
"long_interval_hours",
"short_funding_rate",
"short_interval_hours",
"entry_exit_total_fee_bps",
"notional_usd"
],
"properties": {
"notional_usd": {
"type": "number",
"description": "Notional size per leg in USD.",
"exclusiveMinimum": 0
},
"slippage_bps": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Total round-trip slippage cost in bps of notional_usd."
},
"long_funding_rate": {
"type": "number",
"description": "Long leg per-interval funding rate as decimal (e.g., 0.0001 for 0.01%). Positive means longs pay shorts."
},
"short_funding_rate": {
"type": "number",
"description": "Short leg per-interval funding rate as decimal (e.g., 0.0005 for 0.05%). Positive means longs pay shorts (short receives)."
},
"long_interval_hours": {
"type": "number",
"description": "Funding settlement interval in hours for the long leg (e.g., 8 or 1).",
"exclusiveMinimum": 0
},
"short_interval_hours": {
"type": "number",
"description": "Funding settlement interval in hours for the short leg (e.g., 8 or 1).",
"exclusiveMinimum": 0
},
"entry_exit_total_fee_bps": {
"type": "number",
"minimum": 0,
"description": "Total round-trip trading fees (entry + exit across both legs) in bps of notional_usd."
}
}
}