# Deptho

> Deptho is an open-source MCP server for finance and payments. Replay crypto backtest orders against real trades and write tearsheets locally. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://deptho.io/go/mcp
- **Repository:** https://github.com/jjinaustin/deptho-mcp
- **MCP Registry name:** io.deptho/deptho-mcp
- **Categories:** finance and payments, analytics and data
- **Listing updated:** 2026-11-14

## About

Deptho's server targets a specific question in crypto backtesting: how much of a strategy's return survives realistic execution. It takes an orders file and a trades file, models each order as filling at the volume-weighted price of same-side trades that followed it until its size is covered, and reports slippage as mean, median, 90th and 99th percentile in basis points. Order book depth and queue position are not modelled, and the README says so.

A second tool turns a bars file with time, price and position into a self-contained HTML tearsheet that splits returns into fees, funding and slippage. Trades can come from Binance archive aggTrades files or Tardis.dev trades files.

It runs over stdio on your machine from a pip package, works on local files and sends nothing to Deptho. Pro tools for syncing Binance USD-M archive days and replaying against that dataset need a separate Deptho Pro licence; the code is Apache-2.0.

## Features

- **Order replay:** Fills each order from later same-side trade prints and summarises slippage.
- **Tearsheets:** Generates an HTML report splitting returns into fees, funding and slippage.
- **Local only:** Reads and writes local files and sends nothing to Deptho.
- **Common trade formats:** Accepts Binance aggTrades and Tardis.dev trades files.
- **Pro dataset tools:** Optional tools download Binance USD-M days and replay against them.

## Good for

- Estimate real slippage for a strategy's market orders
- Produce a shareable performance report after a backtest
- Separate fees and funding from slippage in returns
- Let a coding assistant run execution checks on local data

## Install

### Claude Code (Terminal)

```sh
claude mcp add deptho-mcp -- uvx deptho-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "deptho-mcp": {
      "command": "uvx",
      "args": [
        "deptho-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "deptho-mcp": {
      "command": "uvx",
      "args": [
        "deptho-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "deptho-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deptho-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "deptho-mcp": {
      "command": "uvx",
      "args": [
        "deptho-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "deptho-mcp": {
      "command": "uvx",
      "args": [
        "deptho-mcp"
      ]
    }
  }
}
```

## Tools

- `replay_orders`: Replays an orders CSV against a trades file and returns fills plus a slippage summary.
- `tearsheet`: Builds an HTML report from a bars CSV and returns its path and headline numbers.
- `pro_status`: Reports whether Deptho Pro is installed and licensed.
- `pro_sync`: Pro: downloads Binance USD-M days into a local dataset.
- `pro_replay`: Pro: replays an orders CSV against that dataset.

## FAQ

### Does any data leave my machine?

No. Every tool works on local files; the only download is Pro's sync from Binance's public archive when you ask.

### How are fills modelled?

At the VWAP of same-side trades after the order until its size is covered; order book depth and queue position are not modelled.

### What input formats are needed?

An orders CSV with time, side and qty, plus a Binance aggTrades or Tardis.dev trades file.

### How do I install it?

pip install deptho-mcp, then add it with claude mcp add deptho -- deptho-mcp or the equivalent config in Claude Desktop or Cursor.

### Is Deptho free?

Yes. Deptho is open source, so you can use and self-host it for free.

### How do I add Deptho to Claude Code?

Run this command in your terminal: claude mcp add deptho-mcp -- uvx deptho-mcp

### What are the best alternatives to Deptho?

The closest alternatives to Deptho are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP and World Monitor.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/deptho
