Canli Validation MCP logo

Canli Validation MCP

Validates trading backtests with deflated Sharpe, overfitting, leakage, stress, feasibility, and receipt checks.

Install Canli Validation MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "canli-validation-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "canli-validation-mcp"
      ],
      "env": {
        "CANLI_KEY": "YOUR_VALUE_HERE",
        "CANLI_LOCAL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

canli-validation-mcp connects AI agents to Canli Capital's backtest-validation API through MCP tools for statistical checks, audits, stress tests, and execution planning. It accepts return series, price data, strategy variants, or structured evidence and can return signed receipts that are independently verifiable. Use it when evaluating research workflows or backtests, while treating results as validation of submitted data rather than forecasts or investment advice. Local mode supports paper-evidence checks without uploading files.

Use cases

  • Audit a parameter-search backtest for selection bias
  • Estimate overfitting across strategy variants
  • Stress-test returns against drawdowns and crash scenarios
  • Check a trading plan against order limits and market impact
  • Verify signed validation receipts offline

Key features

  • Deflated Sharpe and luck-based validation
  • CSCV overfitting and reality-check tests
  • Backtest, leakage, placebo, and stress analysis
  • Trading-feasibility and portfolio-breadth checks
  • Paper-evidence verification with local files
  • Signed receipt generation and offline verification

Tools19

What Canli Validation MCP lets your agent do. Expand a tool for its parameters.

Verified live~6.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

9/9 checks healthy over the last 56d

What it can do

From the 19 tools this server returned when we ran it; 19 declare their own safety hints.

Makes network requests · 13Read-only tools · 19
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age50 days
Maintainers1

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · canli-validation-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads2.2kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Tools exposed19Callable tools this server registers over MCP.

How Canli Validation MCP works

What canli-validation-mcp does

canli-validation-mcp exposes Canli Capital's quantitative research validation functions to MCP-compatible clients. Its tools examine strategy returns, parameter searches, portfolio breadth, trading constraints, possible leakage, and the behavior of a pipeline on placebo data. It also provides a combined backtest audit and utilities for summarizing series, checking service availability, and verifying result receipts.

The server is aimed at developers and researchers assessing whether a backtest has survived common sources of false confidence. Results apply to the data and assumptions submitted to the tool. They are not forecasts, trading advice, or admission to any fund, program, or other opportunity.

How it works

Start the server through the npm package and let an MCP client call the tools. A validation key can be issued for the session, although the first validation normally creates one automatically and read-only tools do not need one. The service applies daily quotas, including limits on validations per key and keys per client, as well as request size, observations per series, and variants per matrix.

Statistical tools cover deflated Sharpe, CSCV overfitting probability, White's Reality Check, Hansen's SPA, Romano-Wolf StepM, multiple-testing haircuts, luck-equivalent trials, track-record sizing, and backtest-length planning. Several calculations accept all variants tried so that the search itself is included in the assessment.

Receipts can be checked offline with the bundled Canli Capital Ed25519 public key. Receipt verification checks the signature, output hash, and identifier; results are content-hashed and reproducible from the named open-source core.

Setup and configuration

A Claude Code installation can register the server with:

Terminal
claude mcp add canli -- npx -y canli-validation-mcp

The same MCP package can be configured for Cursor, VS Code, and Claude Desktop using their MCP setup mechanisms. CANLI_KEY can provide a validation key explicitly. CANLI_LOCAL=1 enables local paper-evidence processing: record_file can read an export bundle and journal_file can verify signatures, source hashes, and recomputed claims. Local files are not uploaded in that mode.

Tools and capabilities

  • validate_deflated_sharpe evaluates a selected Sharpe against luck across tried variants.
  • validate_overfitting estimates backtest overfitting from a periods-by-variants return matrix.
  • validate_reality_check runs data-snooping tests across all variants.
  • audit_backtest combines headline validation, track-record sizing, overfitting and decay checks, receipts, and next-step guidance.
  • backtest_strategy tests a rule over a parameter grid and validates the best result after costs against buy and hold.
  • stress_test, check_feasibility, check_leakage, and placebo_test examine robustness, trading constraints, lookahead patterns, and pipeline behavior on randomized returns.
  • validate_paper_evidence, validate_breadth, validate_track_record, validate_backtest_length, validate_haircut_sharpe, and validate_luck_trials cover evidence structure, portfolio breadth, sample length, multiple testing, and luck.
  • summarize_series, service_status, get_key, and verify_receipt support data review, availability checks, key issuance, and offline receipt validation.

Limitations and notes

The service evaluates series exactly as submitted. It does not see the underlying data source, transaction-cost assumptions, survivorship handling, or lookahead in how the series was constructed. Leakage checks cover only the cuts and columns supplied by the caller. Paper-evidence verification without a journal cannot verify source facts or signatures. Frequencies from resampled histories and all validation verdicts should not be interpreted as forecasts of future performance.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Canli Validation MCP

canli-validation-mcp is an MCP server that connects AI clients to Canli Capital's backtest-validation API. Its main tools assess deflated Sharpe, overfitting, data snooping, backtest length, stress behavior, feasibility, leakage, and paper evidence, while also supporting combined audits and offline verification of signed receipts.

Install it through an MCP client with the npm command `npx -y canli-validation-mcp`. For Claude Code, use `claude mcp add canli -- npx -y canli-validation-mcp`; Cursor, VS Code, and Claude Desktop can configure the package through their MCP settings.

No, the first validation normally issues a free session key automatically, and read tools do not need one. Set `CANLI_KEY` when you want to supply a key explicitly; keys have daily validation and client quotas.

Yes, send every variant tried rather than only the winner. Tools such as `validate_overfitting`, `validate_reality_check`, `validate_deflated_sharpe`, and `audit_backtest` use the variant set to account for selection and data-snooping effects.

No, local files are not uploaded when `CANLI_LOCAL=1` is enabled. In that mode, `record_file` reads an export bundle and `journal_file` verifies signatures, source hashes, and recomputed claims locally.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCanli Validation MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/canli-validation-mcp?style=directory)](https://allmcps.com/mcp/canli-validation-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/canli-validation-mcp"><img src="https://allmcps.com/api/badge/canli-validation-mcp?style=directory" alt="Canli Validation MCP on AllMCPs" /></a>