mcpField
D
Deptho

Deptho

Local
deptho.ioFinance0Updated 1w ago

About Deptho

Deptho is a local MCP server for coding assistants that checks crypto backtests by replaying market orders against subsequent trades. It produces fill and slippage data plus HTML tearsheets, while processing files on the machine.

Key features

  1. 01Replay orders against trade data
  2. 02Calculate slippage summaries
  3. 03Generate HTML tearsheets
  4. 04Optional Deptho Pro dataset tools
  5. 05Process local files

Use cases

  1. 01Evaluate execution slippage in a backtest
  2. 02Review return components in a tearsheet
  3. 03Replay orders using local trade archives

MCP support

Exposes Deptho backtest-checking tools to MCP clients over stdio. Its tools read and write local files; the optional pro_sync tool downloads Binance public archive data when requested.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"io-deptho-deptho": {
"command": "uvx",
"args": [
"deptho-mcp"
]
}
}
}
Run commanduvx deptho-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypideptho-mcp0.1.0

Tools

5

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
fills_csvanyNo
orders_csvstringYes
trades_filestringYes

Details

From the project README

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

tooldoes
replay_ordersorders CSV + trades file → fills CSV and a slippage summary (mean, median, p90, p99 bps)
tearsheetbars CSV (time, price, position) → self-contained HTML report, its path and headline numbers
pro_statuswhether Deptho Pro is installed and licensed here
pro_syncDeptho Pro: download Binance USD-M days from the public archive into a local memory-mapped dataset
pro_replayDeptho Pro: replay an orders CSV against that dataset

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

pip install deptho-mcp

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 mcp add deptho -- deptho-mcp
Claude Desktop

Settings → Developer → Edit Config, then add to claude_desktop_config.json:

{
  "mcpServers": {
    "deptho": { "command": "/full/path/to/deptho-mcp" }
  }
}
Cursor

Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "deptho": { "command": "/full/path/to/deptho-mcp" }
  }
}

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.