Skip to main content
Glama
backtest-cost-sensitivity-mcp

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: StratVerity MCP Server

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      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
      D
      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
      D
      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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables quant traders and researchers to test whether a strategy's edge is genuine or an artifact of testing many variants, via Probability of Backtest Overfitting, Deflated Sharpe Ratio, Minimum Backtest Length, and purged/embargoed cross-validation splits.
      MIT