deptho-mcp
An MCP server that gives coding assistants (Claude Code, Claude Desktop, Cursor and others) Deptho's
backtest checks: replay a backtest's market orders against the trades that followed them, and write a
tearsheet that splits returns into fees, funding and slippage. It runs on your machine over stdio,
reads and writes local files, and sends nothing anywhere.
Tools
Orders CSV: time (ISO 8601 or epoch), side (+1/-1 or buy/sell), qty (base units, e.g. BTC).
Trades file: a Binance archive aggTrades file (.zip or .csv) or a Tardis.dev trades file
(.csv or .csv.gz) covering the orders' period.
Fills are modeled from trade prints: each order fills at the VWAP of the same-side trades after it until
its size is covered. Order book depth and queue position are not modeled.
Install
Use a virtual environment if you like; then point your assistant at that environment's deptho-mcp
(which deptho-mcp prints the full path). For the Pro tools, install Deptho Pro into the same
environment with your license key.
Claude Code
Claude Desktop
Settings → Developer → Edit Config, then add to claude_desktop_config.json:
Cursor
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
Then ask, for example: "Replay orders.csv against BTCUSDT-aggTrades-2026-09-30.zip and tell me the
p90 slippage."
Privacy
Every tool works on local files. Nothing is sent to Deptho. The only download is pro_sync, which fetches
Binance's public archive (data.binance.vision) when you ask it to.
Links
License: Apache-2.0. Market data comes from Binance's public archive or from files you supply; Deptho is
not affiliated with Binance or Tardis.dev.