Skip to main content
Glama
tylerscomic-lab

backtest-cost-sensitivity-mcp

backtest-cost-sensitivity-mcp

License: MIT Live on MCPize

An MCP server that sweeps commission and slippage assumptions across a backtest to find the real breakeven cost per trade, plus a structured look-ahead-bias audit.

The problem this solves

Most backtests run with one fixed commission/slippage assumption, which hides how fragile a strategy's edge actually is to real-world execution costs. A strategy that's profitable at 0.5 ticks of slippage and dead at 1.5 ticks needs to know that before going live, not after.

Related MCP server: backtest-reality-check

Tools

cost_sensitivity_sweep

Sweeps a range of commission and slippage assumptions against backtest results and reports how performance metrics degrade across the range.

breakeven_cost_finder

Finds the exact commission/slippage level at which a strategy's edge goes to zero — the real cost ceiling, not a guess.

lookahead_bias_checklist

A structured audit for the specific look-ahead-bias patterns that inflate backtest performance (data leakage across bar boundaries, repainting indicators, future-bar reads).

Use it

Hosted (recommended): MCPize — free tier, paid Pro tier for higher limits.

Self-host:

npm install
node server.js

Part of the AlgoForge suite

Prop-firm and quant-validation tools for algo traders: prop-rules-mcp, trade-journal-mcp, payout-calc-mcp, econ-calendar-mcp, montecarlo-validator-mcp, overfitting-audit-mcp, walkforward-validator-mcp, pinescript-audit-mcp, pinescript-mcp.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Verify a number before an agent asserts it — a Deflated Sharpe Ratio for backtest, plus eval-gap, subset-win, and judge-bias checks, with signed receipts anyone can verify offline.
    34
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Checks whether a trading backtest survives its own statistics: deflated Sharpe, multiple-testing correction against a best-of-N-noise benchmark, minimum track record length, and fill realism. Takes no market data and no API keys, and cannot recommend a trade — it only reports that a result is weaker than claimed or not yet provable.
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables auditing and verification of algorithmic trading backtests from coding agents like Claude Code, Cursor, and Windsurf, including look-ahead bias detection, overfitting checks, and sealed audit proof verification.
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables statistical validation of whether a trading backtest’s edge is real using bootstrap-resampling and reshuffling Monte Carlo methods, including confidence intervals, drawdown-path percentiles, expected value calculations, and prop-firm challenge pass-probability simulation. It also compares multiple win-rate/risk-reward geometries by simulated pass rate.
    MIT