# Canli Validation

> Canli Validation is an open-source MCP server for finance and payments. Test whether a backtest's Sharpe ratio survives the number of variants you tried. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Website:** https://canlicapital.com/developers
- **Repository:** https://github.com/arhancanli/canlicapital/tree/HEAD/mcp
- **MCP Registry name:** io.github.arhancanli/canli-validation-mcp
- **Categories:** finance and payments, analytics and data
- **Listing updated:** 2026-11-14

## About

Overfitting is the question here: is your best backtest real, or just the luckiest variant? The server applies standard corrections, including the deflated Sharpe ratio, the CSCV probability of backtest overfitting, data-snooping tests (Hansen's SPA, White's Reality Check, Romano-Wolf StepM), minimum track record length, the haircut Sharpe ratio and luck-equivalent trials.

The README's example: a Sharpe of 1.5 after 229 variants would be matched by 1.60 from luck alone, so the chance it beats zero drops from 98.1% to 44.4% once the search is counted. Every validation returns the sentences that say what it does not establish plus a signed receipt, so a number never arrives without its limits.

The package offers about twenty tools: nine validators, a combined audit, offline receipt verification, SEC-filing financial history, and six lab tools that backtest, stress-test and check for lookahead. It can compute locally with no key and nothing sent anywhere, or call the free keyed API, or connect through the hosted endpoint. It is MIT-licensed, and a verdict is not a forecast.

## Features

- **Deflated Sharpe ratio:** Adjusts a Sharpe ratio for the number of variants tried.
- **Overfitting probability:** Computes CSCV-based probability of backtest overfitting.
- **Data-snooping tests:** Runs SPA, Reality Check and Romano-Wolf StepM.
- **Signed receipts:** Each answer carries a receipt that can be verified offline.
- **Local lab tools:** Backtest a rule over a grid, stress-test returns and check a signal for lookahead.
- **Local or hosted:** Run on your machine without a key, or use the free API.

## Good for

- Check if the best of many strategy variants is statistically real
- Estimate the minimum track record needed to trust a Sharpe ratio
- Audit one backtest with several validators in one call
- Test a research pipeline on placebo data
- Verify a validation receipt offline

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http canli-validation-mcp https://canlicapital.com/mcp
```

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

```sh
https://canlicapital.com/mcp
```

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

```json
{
  "mcpServers": {
    "canli-validation-mcp": {
      "url": "https://canlicapital.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "canli-validation-mcp": {
      "type": "http",
      "url": "https://canlicapital.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "canli-validation-mcp": {
      "serverUrl": "https://canlicapital.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "canli-validation-mcp": {
      "type": "http",
      "url": "https://canlicapital.com/mcp"
    }
  }
}
```

## Tools

- `validate_deflated_sharpe`: Computes the deflated Sharpe ratio for a Sharpe found after many variants.

## FAQ

### Is it free?

The README says it is free and MIT-licensed; a free key is issued on first use.

### Can it run without sending data anywhere?

Yes, with CANLI_LOCAL=1 the checks run on your machine.

### Does a verdict predict returns?

No. The registry entry states a verdict is not a forecast or admission to anything.

### Which transports exist?

stdio through npx and a hosted streamable HTTP endpoint.

### Is Canli Validation free?

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

### How do I add Canli Validation to Claude Code?

Run this command in your terminal: claude mcp add --transport http canli-validation-mcp https://canlicapital.com/mcp

### What are the best alternatives to Canli Validation?

The closest alternatives to Canli Validation 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/canli-validation
