# DSR Backtest Check

> DSR Backtest Check is a free MCP server for trading analysis. Checks whether a backtest's Sharpe ratio holds up after accounting for multiple trials. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://dsr-web.pages.dev
- **Repository:** https://github.com/jagerstromebbe01-dot/dsr-web
- **MCP Registry name:** io.github.jagerstromebbe01-dot/dsr-web
- **Categories:** [trading analysis](https://ai-powered.com/categories/trading-analysis)
- **Listing updated:** 2026-11-20

## About

The site runs a Deflated Sharpe Ratio test on the per-period returns of a backtest, along with the number of strategies that were tried to find it. The result is a green, yellow or red verdict on whether the Sharpe ratio is likely genuine or the product of selection luck. Calculations happen in the browser, and the README states that returns are not sent to a server.

The same check is also exposed as a hosted MCP endpoint and a POST API, so an AI client or script can request a verdict without using the page. Signed share links and an SVG badge can be generated from a result, which does require sending the returns to the server once.

The project is aimed at quantitative researchers and traders who want a quick sanity check on backtest overfitting. The site describes itself as an educational tool and not investment advice.

## Features

- **Deflated Sharpe Ratio verdict:** Returns a green, yellow or red result based on the Deflated Sharpe Ratio method of Bailey and López de Prado (2014).
- **Browser-side calculation:** Calculations run in the browser, and the README says entered data is not sent to a server.
- **Trial count adjustment:** Takes the number of independent strategies tested into account, so near-duplicate variants are not counted separately.
- **Optional trial variance input:** Advanced mode lets users supply the spread of Sharpe ratios across their trials instead of the default approximation.
- **HTTP API endpoint:** A POST /api/check endpoint reuses the same check logic, with a documented size limit and rate limit.
- **Shareable result badge:** Signed result pages and an SVG badge can be generated, which sends returns to the server once.

## Good for

- Checking whether a strategy's backtest Sharpe ratio survives after many variants were tried
- Adding an overfitting check to a research pipeline through the API
- Letting an AI assistant request a Deflated Sharpe Ratio verdict through the MCP endpoint
- Sharing a signed backtest verdict or badge with collaborators

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http dsr-web https://dsr-web.pages.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "type": "http",
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://dsr-web.pages.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "dsr-web": {
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "type": "http",
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://dsr-web.pages.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add dsr-web --url https://dsr-web.pages.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.dsr-web]
url = "https://dsr-web.pages.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "httpUrl": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http dsr-web https://dsr-web.pages.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "serverUrl": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "url": "https://dsr-web.pages.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "type": "streamableHttp",
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "dsr-web": {
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "dsr-web": {
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "dsr-web": {
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://dsr-web.pages.dev/mcp
```

Enter a Name (for example "DSR Backtest Check"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "dsr-web": {
      "type": "http",
      "url": "https://dsr-web.pages.dev/mcp"
    }
  }
}
```

## Tools

The server marks all 2 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `check_backtest` (says read-only): Use this tool whenever a user asks whether a backtest, trading strategy, Sharpe ratio or performance result is real, genuine, significant, skill or just luck, or mentions overfitting, data mining, p-hacking, multiple testing, selection bias, 'too good to be true', or the Deflated Sharpe Ratio. The user does not have to mention this tool by name. Use THIS variant when the user can provide the actua
- `dsr_from_stats` (says read-only): Use this tool whenever a user asks whether a backtest, trading strategy, Sharpe ratio or performance result is real, genuine, significant, skill or just luck, or mentions overfitting, data mining, p-hacking, multiple testing, selection bias, 'too good to be true', or the Deflated Sharpe Ratio. The user does not have to mention this tool by name. Use THIS variant when the user only has summary numb

## FAQ

### Are my returns uploaded anywhere?

The website says calculations run in the browser and nothing is uploaded, except when the user clicks Copy share link or Copy README badge, which sends the returns to the server once for signing without storing them.

### Which methodology does DSR Backtest Check use?

It uses the Deflated Sharpe Ratio from Bailey and López de Prado (2014).

### Is DSR Backtest Check investment advice?

No. The site states it is an educational tool, not investment advice or a buy or sell signal.

### Is the source code available?

Yes, the repository is public on GitHub and the README describes how to run, test and build it locally.

### Is DSR Backtest Check free?

Yes. DSR Backtest Check is free to use.

### How do I add DSR Backtest Check to Claude Code?

Run this command in your terminal: claude mcp add --transport http dsr-web https://dsr-web.pages.dev/mcp

### What are the best alternatives to DSR Backtest Check?

The closest alternatives to DSR Backtest Check are Noon Barbari Backtesting, Strategy Lab, Regime, AStock Quant Toolkit and PatternsWizard pattern statistics.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Noon Barbari Backtesting](https://ai-powered.com/mcp/noon-barbari-backtesting): Noon Barbari Backtesting is a free MCP server for finance and payments.
- [Strategy Lab](https://ai-powered.com/mcp/strategy-lab): Strategy Lab is an MCP server for trading analysis.
- [Regime](https://ai-powered.com/mcp/regime): Regime is a free MCP server for finance and payments.
- [AStock Quant Toolkit](https://ai-powered.com/mcp/astock-quant-toolkit): AStock Quant Toolkit is an open-source MCP server for trading analysis.
- [PatternsWizard pattern statistics](https://ai-powered.com/mcp/patternswizard-pattern-statistics): PatternsWizard pattern statistics is a free MCP server for analytics and data.
- [Strategy Lab by Stocks Developer](https://ai-powered.com/mcp/strategy-lab-by-stocks-developer): Strategy Lab by Stocks Developer is a free MCP server for finance and payments.
- [VARRD — Statistically Validated Trading Edges + AI Research Engine](https://ai-powered.com/mcp/varrd-statistically-validated-trading-edges-ai-research-engi): VARRD — Statistically Validated Trading Edges + AI Research Engine is a freemium MCP server for finance and payments.
- [AlgoRover Research](https://ai-powered.com/mcp/algorover-research): AlgoRover Research is an MCP server for trading analysis.

---
Source: https://ai-powered.com/mcp/dsr-backtest-check
