Koskamo

Canli Capital MCP

An official MCP server from Canli Capital that provides quantitative finance validation tools. It allows agents to check backtests for overfitting and luck using Deflated Sharpe and PBO metrics, serving as an open research lab for verifying trading strategy viability through reproducible tests and signed receipts.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Canli Capital MCP logo, by Canli CapitalVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Canli Capital
You need:Get a free API keyGet a free key
MCP endpoint (Streamable HTTP)
https://canlicapital.com/mcp
Vendor documentation

What its tools do

18 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

18 of 18 have a description · 18 of 18 declare behavior hints · 14 of 17 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Endpoint and vendor documentation share a domain
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 6 GitHub stars

What you can do with it

  • Validate backtest Sharpe ratios against selection bias
  • Check backtest overfitting probability
  • Generate signed receipts for verification

Source and maintenance

Vendor evidenceRegistry 0.14.0MIT
Last repository push
Latest release
canli-mcp-v0.6.0
Maintenance checked

Protocol and capabilities

Server
canlicapital-validation-mcp 0.16.0
MCP protocol negotiated in check
2025-11-25
Tools
18 advertised
Resources
4 advertised
Resource templates
2 advertised
Prompts
8 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "prompts": {
    "listChanged": true
  },
  "resources": {
    "listChanged": true
  },
  "completions": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Checks whether a backtest's result is real. For one strategy's returns, call audit_backtest, pointing returns_file at the backtest's CSV instead of pasting long series. For a Sharpe found by a search, validate_deflated_sharpe needs how many independent variants were tried and how their Sharpes spread; with every variant's returns, validate_overfitting gives the probability of backtest overfitting. To test a rule on prices, backtest_strategy runs a whole parameter grid and validates the best with the count actually run; summarize_series reads a long series in a hundred words; stress_test and check_feasibility ask whether it survives bad markets and a real broker. Before trusting a research pipeline, check_leakage finds lookahead in its signals and placebo_test runs it on data where nothing can be predicted. Set CANLI_LOCAL=1 to compute on this machine with no network. Every result says what it does not establish; quote those limits with the number.

Tools

18 advertised

validate_deflated_sharpe — Validate deflated Sharpe
Advertised by the server during the last successful anonymous check.
Open-world

Deflated Sharpe ratio: the probability (0 to 1) that the selected strategy's Sharpe beats the best that luck gives across the variants tried, with the probabilistic Sharpe and that luck benchmark. Send the seven statistics or a return series. With every variant's returns use validate_overfitting; luck as a trial count, validate_luck_trials; a multiple-testing haircut, validate_haircut_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_deflated_sharpe input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "skew": {
      "type": "number",
      "maximum": 20,
      "minimum": -20,
      "description": "Skewness of returns; 0 if Normal."
    },
    "returns": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "maxItems": 20000,
      "minItems": 2,
      "description": "Periodic returns as fractions (0.01 = 1%), oldest first; replaces the Sharpe, observations, skew and kurtosis."
    },
    "observations": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 2,
      "description": "Number of return observations."
    },
    "periods_per_year": {
      "type": "number",
      "maximum": 10000,
      "minimum": 1,
      "description": "Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."
    },
    "non_excess_kurtosis": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Kurtosis, not excess kurtosis; 3 if Normal."
    },
    "observed_sharpe_annualized": {
      "type": "number",
      "maximum": 10,
      "minimum": -10,
      "description": "Annualized Sharpe as observed."
    },
    "effective_independent_trials": {
      "type": "integer",
      "maximum": 10000000,
      "minimum": 2,
      "description": "Independent variants tried before choosing this one."
    },
    "cross_trial_sharpe_sd_annualized": {
      "type": "number",
      "maximum": 10,
      "minimum": 0,
      "description": "Standard deviation of annualized Sharpe across those trials."
    }
  },
  "additionalProperties": false
}
validate_deflated_sharpe output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_deflated_sharpe annotations
{
  "title": "Validate deflated Sharpe",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_overfitting — Validate overfitting (CSCV)
Advertised by the server during the last successful anonymous check.
Open-world

Probability of backtest overfitting (0 to 1) by CSCV: how often the in-sample best variant falls below the out-of-sample median. Needs every variant's returns (periods by variants); with summary statistics only, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_overfitting input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "matrix"
  ],
  "properties": {
    "seed": {
      "type": "number",
      "description": "Sampling seed; default 42."
    },
    "matrix": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        },
        "maxItems": 200
      },
      "maxItems": 20000,
      "minItems": 2,
      "description": "Returns as fractions, one row per period, one column per variant."
    },
    "n_splits": {
      "type": "integer",
      "description": "Even number of blocks, at least 2; default 16.",
      "exclusiveMinimum": 0
    },
    "max_combinations": {
      "type": "integer",
      "maximum": 2000,
      "description": "Most splits evaluated, up to 2000 (default).",
      "exclusiveMinimum": 0
    }
  },
  "additionalProperties": false
}
validate_overfitting output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_overfitting annotations
{
  "title": "Validate overfitting (CSCV)",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_reality_check — Data-snooping tests (SPA, Reality Check, StepM)
Advertised by the server during the last successful anonymous check.
Open-world

Data-snooping tests on every variant a search tried: Hansen's SPA p-value that the best beat the benchmark only by luck, White's Reality Check, and the variants Romano-Wolf StepM finds better. Send all variants tried, not only the winners. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_reality_check input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "reps": {
      "type": "integer",
      "maximum": 400000,
      "minimum": 500,
      "description": "Bootstrap draws; default 2000."
    },
    "seed": {
      "type": "integer",
      "description": "Sampling seed; default 42."
    },
    "alpha": {
      "type": "number",
      "maximum": 0.5,
      "description": "Familywise error for StepM; default 0.05.",
      "exclusiveMinimum": 0
    },
    "matrix": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        },
        "maxItems": 200
      },
      "maxItems": 20000,
      "minItems": 30,
      "description": "Returns of every variant the search tried, one row per period, one column per variant."
    },
    "benchmark": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "maxItems": 20000,
      "minItems": 30,
      "description": "Benchmark return per period; default zero."
    },
    "matrix_file": {
      "type": "string",
      "maxLength": 4096,
      "minLength": 1,
      "description": "Path to a CSV or JSON with one numeric column per variant, instead of matrix."
    },
    "block_length": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 1,
      "description": "Mean bootstrap block in periods; default round(n^(1/3))."
    }
  },
  "additionalProperties": false
}
validate_reality_check output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_reality_check annotations
{
  "title": "Data-snooping tests (SPA, Reality Check, StepM)",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_paper_evidence — Validate paper evidence
Advertised by the server during the last successful anonymous check.
Open-world

Checks paper-evidence.v0 structure and disclosures. With CANLI_LOCAL=1, record_file reads an export bundle and journal_file verifies signatures, source hashes and recomputed claims. Without a journal, source facts and signatures are unchecked. Local files are never uploaded. This verdict is about the series exactly as submitted. The service never saw the data source, its costs, survivorship, or any lookahead in how the series was built.

validate_paper_evidence input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "record": {
      "type": "object",
      "description": "A canli.paper-evidence.v0 record."
    },
    "signature": {
      "type": "object",
      "required": [
        "scheme",
        "public_key",
        "signature"
      ],
      "properties": {
        "scheme": {
          "type": "string",
          "const": "Ed25519"
        },
        "signature": {
          "type": "string",
          "maxLength": 128
        },
        "public_key": {
          "type": "string",
          "maxLength": 64
        }
      },
      "description": "Detached record signature for a signed inline record; requires journal_file.",
      "additionalProperties": false
    },
    "record_file": {
      "type": "string",
      "maxLength": 1000,
      "minLength": 1,
      "description": "Local record or export-bundle JSON path; requires CANLI_LOCAL=1."
    },
    "journal_file": {
      "type": "string",
      "maxLength": 1000,
      "minLength": 1,
      "description": "Local signed journal to recompute and bind; requires CANLI_LOCAL=1."
    }
  },
  "additionalProperties": false
}
validate_paper_evidence output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_paper_evidence annotations
{
  "title": "Validate paper evidence",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_breadth — Validate breadth ceiling
Advertised by the server during the last successful anonymous check.
Open-world

Book Sharpe ceiling from adding sleeves of this quality and correlation, the Sharpe at a sleeve count, and the sleeves a target needs. For portfolio construction; it validates no single strategy. This verdict is about the series exactly as submitted. The service never saw the data source, its costs, survivorship, or any lookahead in how the series was built.

validate_breadth input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "sleeve_sharpe",
    "average_pairwise_correlation"
  ],
  "properties": {
    "target": {
      "type": "number",
      "description": "Target book Sharpe, for the sleeves it needs.",
      "exclusiveMinimum": 0
    },
    "sleeves": {
      "type": "integer",
      "maximum": 500,
      "minimum": 1,
      "description": "Sleeve count, for that book's Sharpe."
    },
    "sleeve_sharpe": {
      "type": "number",
      "description": "Annualized Sharpe of one sleeve.",
      "exclusiveMinimum": 0
    },
    "average_pairwise_correlation": {
      "type": "number",
      "maximum": 1,
      "minimum": -1,
      "description": "Average correlation between sleeves, -1 to 1."
    }
  },
  "additionalProperties": false
}
validate_breadth output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_breadth annotations
{
  "title": "Validate breadth ceiling",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_track_record — Minimum track record length
Advertised by the server during the last successful anonymous check.
Open-world

Minimum track record length (observations and years) for an observed Sharpe to beat a benchmark at a confidence level; with observations, the record's probabilistic Sharpe so far. For live or paper records; to size a backtest for its trials, use validate_backtest_length. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_track_record input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "observed_sharpe_annualized",
    "periods_per_year",
    "skew",
    "non_excess_kurtosis"
  ],
  "properties": {
    "skew": {
      "type": "number",
      "maximum": 20,
      "minimum": -20,
      "description": "Skewness of returns; 0 if Normal."
    },
    "confidence": {
      "type": "number",
      "description": "Between 0 and 1; default 0.95.",
      "exclusiveMaximum": 1,
      "exclusiveMinimum": 0
    },
    "observations": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 2,
      "description": "Record length so far, for its probabilistic Sharpe."
    },
    "periods_per_year": {
      "type": "number",
      "maximum": 10000,
      "minimum": 1,
      "description": "Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."
    },
    "non_excess_kurtosis": {
      "type": "number",
      "maximum": 100,
      "minimum": 1,
      "description": "Kurtosis, not excess kurtosis; 3 if Normal."
    },
    "observed_sharpe_annualized": {
      "type": "number",
      "maximum": 10,
      "minimum": -10,
      "description": "Annualized Sharpe as observed."
    },
    "benchmark_sharpe_annualized": {
      "type": "number",
      "maximum": 10,
      "minimum": -10,
      "description": "Annualized Sharpe to beat; default 0."
    }
  },
  "additionalProperties": false
}
validate_track_record output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_track_record annotations
{
  "title": "Minimum track record length",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_backtest_length — Minimum backtest length
Advertised by the server during the last successful anonymous check.
Open-world

Minimum backtest length (years) before the best of N independent trials is not expected to reach a target Sharpe by luck; with backtest_years, the most trials those years allow. For planning a search; once it has a result, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_backtest_length input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "backtest_years": {
      "type": "number",
      "maximum": 1000,
      "description": "Backtest length in years, for the most trials it allows.",
      "exclusiveMinimum": 0
    },
    "target_sharpe_annualized": {
      "type": "number",
      "maximum": 10,
      "description": "In-sample annualized Sharpe you would call a discovery; default 1.",
      "exclusiveMinimum": 0
    },
    "effective_independent_trials": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 2,
      "description": "Independent trials tried (backtests, parameter sets, ideas)."
    }
  },
  "additionalProperties": false
}
validate_backtest_length output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_backtest_length annotations
{
  "title": "Minimum backtest length",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_haircut_sharpe — Haircut Sharpe ratio
Advertised by the server during the last successful anonymous check.
Open-world

Haircut Sharpe for multiple testing (Harvey and Liu 2015): the Sharpe a single test would have needed, by Bonferroni and independent tests, and with the other tests' Sharpes, Holm and BHY. For the probability the Sharpe is real, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_haircut_sharpe input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "observed_sharpe_annualized",
    "periods_per_year",
    "observations"
  ],
  "properties": {
    "tests": {
      "type": "integer",
      "maximum": 100000000,
      "minimum": 1,
      "description": "Tests run, this one included; gives the Bonferroni and independent-test haircuts."
    },
    "observations": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 3,
      "description": "Return observations behind the Sharpe."
    },
    "autocorrelation": {
      "type": "number",
      "description": "Lag-1 autocorrelation of returns, -1 to 1; default 0. Corrects the annualized Sharpe (Lo 2002).",
      "exclusiveMaximum": 1,
      "exclusiveMinimum": -1
    },
    "periods_per_year": {
      "type": "number",
      "maximum": 10000,
      "minimum": 1,
      "description": "Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."
    },
    "observed_sharpe_annualized": {
      "type": "number",
      "maximum": 10,
      "description": "Annualized Sharpe as observed.",
      "exclusiveMinimum": 0
    },
    "other_sharpe_ratios_annualized": {
      "type": "array",
      "items": {
        "type": "number",
        "maximum": 10,
        "minimum": -10
      },
      "maxItems": 10000,
      "minItems": 1,
      "description": "Annualized Sharpes of the other tests over the same observations; adds Holm and BHY."
    }
  },
  "additionalProperties": false
}
validate_haircut_sharpe output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_haircut_sharpe annotations
{
  "title": "Haircut Sharpe ratio",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
validate_luck_trials — Luck-equivalent trials
Advertised by the server during the last successful anonymous check.
Open-world

How many skill-less strategies a search would need for its best to reach this Sharpe by luck (Monte Carlo), and with a trial count, the chance it did. States luck as the best of N random tries; for the probability the Sharpe is real, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

validate_luck_trials input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "observed_sharpe_annualized",
    "periods_per_year",
    "observations"
  ],
  "properties": {
    "skew": {
      "type": "number",
      "maximum": 100,
      "minimum": -100,
      "description": "Skewness; below -0.5 the reading warns the counts are too generous."
    },
    "observations": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 3,
      "description": "Return observations behind the Sharpe."
    },
    "autocorrelation": {
      "type": "number",
      "description": "Lag-1 autocorrelation of returns, -1 to 1; default 0. Corrects the annualized Sharpe (Lo 2002).",
      "exclusiveMaximum": 1,
      "exclusiveMinimum": -1
    },
    "periods_per_year": {
      "type": "number",
      "maximum": 10000,
      "minimum": 1,
      "description": "Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."
    },
    "observed_sharpe_annualized": {
      "type": "number",
      "maximum": 20,
      "minimum": -20,
      "description": "Annualized Sharpe as observed."
    },
    "effective_independent_trials": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 1,
      "description": "Independent trials tried; adds the chance the best reached this Sharpe by luck."
    }
  },
  "additionalProperties": false
}
validate_luck_trials output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "receipt": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "computed": {
      "type": "string"
    }
  },
  "description": "data.result holds the statistics (data.plain_reading states them); limits say what the result does not establish; receipt ({id, url}) is the signed record, null when none was stored; error ({code, message}) is set only on refusal."
}
validate_luck_trials annotations
{
  "title": "Luck-equivalent trials",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
audit_backtest — Audit a backtest
Advertised by the server during the last successful anonymous check.
Open-world

One-call audit of a strategy's returns. Headline: one test whose false-positive rate was measured on nine return shapes (White's Reality Check with variants, luck trials with Lo's correction without). Then deflated Sharpe, minimum track record and, with variants, overfitting and out-of-sample decay, each with its receipt, plus fix_next. Send every variant tried (variants_file) so trials are counted; point returns_file at a CSV instead of pasting. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.

audit_backtest input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "periods_per_year"
  ],
  "properties": {
    "returns": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "maxItems": 20000,
      "minItems": 2,
      "description": "Periodic returns as fractions (0.01 = 1%), oldest first; replaces the Sharpe, observations, skew and kurtosis."
    },
    "n_splits": {
      "type": "integer",
      "description": "Even number of blocks, at least 2; default 16.",
      "exclusiveMinimum": 0
    },
    "variants": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        },
        "maxItems": 200
      },
      "maxItems": 20000,
      "minItems": 2,
      "description": "Optional returns of every variant tried (this one included), one row per period, one column per variant; adds the overfitting check."
    },
    "confidence": {
      "type": "number",
      "description": "Between 0 and 1; default 0.95.",
      "exclusiveMaximum": 1,
      "exclusiveMinimum": 0
    },
    "returns_file": {
      "type": "string",
      "maxLength": 4096,
      "minLength": 1,
      "description": "Path to a CSV or JSON of the returns on this machine (not on the hosted endpoint), instead of returns."
    },
    "variants_file": {
      "type": "string",
      "maxLength": 4096,
      "minLength": 1,
      "description": "Path to a CSV or JSON with one numeric column per variant, instead of variants."
    },
    "returns_column": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        {
          "type": "integer",
          "minimum": 1
        }
      ],
      "description": "Column name or 1-based position, when returns_file has several numeric columns."
    },
    "periods_per_year": {
      "type": "number",
      "maximum": 10000,
      "minimum": 1,
      "description": "Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."
    },
    "benchmark_sharpe_annualized": {
      "type": "number",
      "maximum": 10,
      "minimum": -10,
      "description": "Annualized Sharpe to beat; default 0."
    },
    "effective_independent_trials": {
      "type": "integer",
      "maximum": 10000000,
      "minimum": 2,
      "description": "Independent variants tried before choosing this one. Optional with variants: counted from them, and the larger number is used."
    },
    "cross_trial_sharpe_sd_annualized": {
      "type": "number",
      "maximum": 10,
      "minimum": 0,
      "description": "Standard deviation of annualized Sharpe across those trials. Optional with variants: measured from them, and the larger is used."
    }
  },
  "additionalProperties": false
}
audit_backtest output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "note": {
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "checks": {
      "type": "object",
      "properties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "not_run": {
      "type": "object",
      "properties": {}
    },
    "readings": {
      "type": "object",
      "properties": {}
    }
  },
  "description": "checks holds each check's full validate_ result by name; readings one sentence per check; not_run the checks skipped and why."
}
audit_backtest annotations
{
  "title": "Audit a backtest",
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
verify_receipt — Verify a receipt
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Verify a receipt offline: its Ed25519 signature against the bundled canlicapital.com key, its output hash and its id. Send an id to fetch it first, or the receipt itself. The receipt is content-hashed, reproducible from the open-source core it names, and signed with Ed25519 by a key published at https://canlicapital.com/.well-known/canli-receipt-keys.json.

verify_receipt input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[0-9a-f]{24}$",
      "description": "Receipt id from a validation result."
    },
    "receipt": {
      "type": "object",
      "description": "A receipt object, to verify without fetching."
    },
    "include_receipt": {
      "type": "boolean",
      "description": "With id: also return the stored receipt."
    }
  },
  "additionalProperties": false
}
verify_receipt output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "valid": {
      "type": "boolean"
    },
    "checks": {},
    "key_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "meaning": {
      "type": "string"
    },
    "receipt_id": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "description": "valid is true only when the signature, output hash and content id all check out; checks lists each."
}
verify_receipt annotations
{
  "title": "Verify a receipt",
  "readOnlyHint": true,
  "openWorldHint": true,
  "destructiveHint": false
}
service_status — Service status
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Whether the validation API is up, with its quotas; check after a timeout before resubmitting. No key. This verdict is about the series exactly as submitted. The service never saw the data source, its costs, survivorship, or any lookahead in how the series was built.

service_status input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {},
  "additionalProperties": false
}
service_status output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "data": {
      "type": "object",
      "properties": {}
    },
    "error": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "description": "data.store_reachable, data.quotas and, when available, data.usage for this key."
}
service_status annotations
{
  "title": "Service status",
  "readOnlyHint": true,
  "openWorldHint": true,
  "destructiveHint": false
}
backtest_strategy — Backtest a rule over a parameter grid, validated
Advertised by the server during the last successful anonymous check.
Advertised read-only

Backtest a rule on your prices over a whole parameter grid, then validate the best with the count of variants actually run: deflated Sharpe, overfitting probability, minimum track record, vs buy and hold, after costs. A backtest, deflated or not, is not a forecast and not advice.

backtest_strategy input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "family"
  ],
  "properties": {
    "grid": {
      "type": "object",
      "description": "Values per parameter, e.g. {\"fast\":[10,20],\"slow\":[50,200]}; every valid combination runs (max 200).",
      "additionalProperties": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        ]
      }
    },
    "dates": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional ISO dates, one per value."
    },
    "family": {
      "enum": [
        "buy_and_hold",
        "sma_cross",
        "momentum",
        "mean_reversion",
        "breakout"
      ],
      "type": "string",
      "description": "sma_cross (fast, slow), momentum (lookback, skip), mean_reversion (window, entry_z), breakout (lookback), buy_and_hold."
    },
    "prices": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Prices, oldest first."
    },
    "cost_bps": {
      "type": "number",
      "minimum": 0,
      "description": "Cost per unit of turnover, bps; default 5."
    },
    "allow_short": {
      "type": "boolean",
      "description": "Short instead of flat; default false."
    },
    "prices_file": {
      "type": "string",
      "description": "CSV or JSON of prices on this machine; local server only."
    },
    "prices_column": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ],
      "description": "Column name or 1-based position."
    },
    "periods_per_year": {
      "type": "number",
      "description": "252 daily (default), 365 crypto, 52 weekly, 12 monthly."
    }
  },
  "additionalProperties": false
}
backtest_strategy output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "object",
      "properties": {}
    },
    "selected": {
      "type": "object",
      "properties": {}
    },
    "variants": {
      "type": "object",
      "properties": {}
    },
    "validation": {
      "type": "object",
      "properties": {}
    },
    "buy_and_hold": {
      "type": "object",
      "properties": {}
    },
    "plain_reading": {
      "type": "string"
    }
  },
  "description": "selected holds the best variant's parameters and metrics; validation the deflated Sharpe, overfitting probability and minimum track record counting every variant run; plain_reading states them."
}
backtest_strategy annotations
{
  "title": "Backtest a rule over a parameter grid, validated",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
summarize_series — Summarize a price or return series
Advertised by the server during the last successful anonymous check.
Advertised read-only

A long price or return series in about 100 words plus fields: growth, risk, dated drawdowns, trend, volatility regime, tails, jumps, stale data. Use instead of reading raw bars. Nothing here is a forecast or advice.

summarize_series input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "name": {
      "type": "string",
      "description": "Label for the text."
    },
    "dates": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional ISO dates, one per value."
    },
    "prices": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Prices, oldest first; or returns, or series_file."
    },
    "returns": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Returns as fractions, oldest first."
    },
    "series_file": {
      "type": "string",
      "description": "CSV or JSON of prices or returns on this machine; local server only."
    },
    "series_kind": {
      "enum": [
        "prices",
        "returns"
      ],
      "type": "string",
      "description": "series_file holds; default prices."
    },
    "series_column": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ],
      "description": "Column name or 1-based position."
    },
    "periods_per_year": {
      "type": "number",
      "description": "252 daily (default), 365 crypto, 52 weekly, 12 monthly."
    },
    "benchmark_returns": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Same-period benchmark returns; adds beta."
    }
  },
  "additionalProperties": false
}
summarize_series output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "risk": {
      "type": "object",
      "properties": {}
    },
    "text": {
      "type": "string"
    },
    "jumps": {
      "type": "object",
      "properties": {}
    },
    "tails": {
      "type": "object",
      "properties": {}
    },
    "trend": {
      "type": "object",
      "properties": {}
    },
    "growth": {
      "type": "object",
      "properties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "object",
      "properties": {}
    },
    "drawdown": {
      "type": "object",
      "properties": {}
    },
    "volatility": {
      "anyOf": [
        {
          "type": "object",
          "properties": {}
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "description": "text is the summary to read; the other fields hold each figure by the rule named in it."
}
summarize_series annotations
{
  "title": "Summarize a price or return series",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
stress_test — Stress-test a strategy's returns
Advertised by the server during the last successful anonymous check.
Advertised read-only

Stress a strategy's returns: bootstrap histories (how often the drawdown limit breaks or Sharpe turns negative) and named crash, volatility, repeat and stuck-position scenarios, with a fragility share. Frequencies over resampled histories are not forecasts of the future.

stress_test input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "seed": {
      "type": "integer",
      "description": "Default 42; reproduces exactly."
    },
    "block": {
      "type": "number",
      "description": "Mean block length; default cube root of n."
    },
    "crash": {
      "type": "number",
      "description": "Crash size, negative; default min(-0.2, 3x worst period).",
      "exclusiveMaximum": 0,
      "exclusiveMinimum": -1
    },
    "paths": {
      "type": "integer",
      "description": "Default 1000."
    },
    "returns": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Strategy returns as fractions, oldest first."
    },
    "returns_file": {
      "type": "string",
      "description": "CSV or JSON of returns on this machine; local server only."
    },
    "drawdown_limit": {
      "type": "number",
      "description": "Fraction; default 0.2.",
      "exclusiveMaximum": 1,
      "exclusiveMinimum": 0
    },
    "outage_periods": {
      "type": "integer",
      "description": "Stuck periods after the worst; default 5."
    },
    "returns_column": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ],
      "description": "Column name or 1-based position."
    },
    "periods_per_year": {
      "type": "number",
      "description": "252 daily (default), 365 crypto, 52 weekly, 12 monthly."
    },
    "volatility_multiplier": {
      "type": "number",
      "description": "Default 2."
    }
  },
  "additionalProperties": false
}
stress_test output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "object",
      "properties": {}
    },
    "baseline": {
      "type": "object",
      "properties": {}
    },
    "fragility": {
      "type": "object",
      "properties": {}
    },
    "resampled": {
      "type": "object",
      "properties": {}
    },
    "scenarios": {
      "type": "array",
      "items": {}
    },
    "plain_reading": {
      "type": "string"
    }
  },
  "description": "resampled holds bootstrap percentiles and breach frequencies; scenarios each named stress and its rule; fragility the share of histories breaking the limit or losing."
}
stress_test annotations
{
  "title": "Stress-test a strategy's returns",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
check_feasibility — Check a plan against broker limits and impact
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check a trading plan before it trades: broker order-rate and minimum-order limits, 2026 US day-trading rules, square-root market impact with crowding, and the capital where costs eat the return. Checks the plan as described against published broker limits and a market-impact model; it never contacts a broker or sees an account.

check_feasibility input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "capital_usd",
    "orders_per_rebalance",
    "rebalances_per_year",
    "turnover_per_year",
    "adv_usd",
    "daily_volatility"
  ],
  "properties": {
    "broker": {
      "enum": [
        "alpaca",
        "ibkr",
        "other"
      ],
      "type": "string",
      "description": "Default other."
    },
    "copies": {
      "type": "integer",
      "description": "Agents trading the same signal at once; default 1."
    },
    "account": {
      "enum": [
        "cash",
        "margin"
      ],
      "type": "string"
    },
    "adv_usd": {
      "type": "number",
      "description": "Daily dollar volume of a typical holding."
    },
    "asset_class": {
      "enum": [
        "us_equity",
        "crypto",
        "futures",
        "fx",
        "options"
      ],
      "type": "string"
    },
    "capital_usd": {
      "type": "number"
    },
    "daily_volatility": {
      "type": "number",
      "maximum": 1,
      "description": "Of a typical holding, e.g. 0.02."
    },
    "turnover_per_year": {
      "type": "number",
      "minimum": 0,
      "description": "Buys plus sells a year / capital."
    },
    "impact_coefficient": {
      "type": "number",
      "description": "Square-root law Y; default 1."
    },
    "rebalances_per_year": {
      "type": "number"
    },
    "spread_and_fees_bps": {
      "type": "number",
      "minimum": 0,
      "description": "Per trade; default 0."
    },
    "orders_per_rebalance": {
      "type": "integer"
    },
    "expected_gross_return": {
      "type": "number",
      "minimum": -1,
      "description": "Annual, before costs; adds capacity."
    },
    "minutes_per_rebalance": {
      "type": "number",
      "description": "Default 1."
    },
    "orders_per_minute_limit": {
      "type": "number",
      "description": "If the broker's is not on file."
    }
  },
  "additionalProperties": false
}
check_feasibility output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "checks": {
      "type": "array",
      "items": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "object",
      "properties": {}
    },
    "verdict": {
      "type": "string"
    },
    "to_change": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "plain_reading": {
      "type": "string"
    }
  },
  "description": "verdict summarizes the checks; each check has a status (ok, warning, blocking, unknown), its finding and numbers; to_change lists what to fix."
}
check_feasibility annotations
{
  "title": "Check a plan against broker limits and impact",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
check_leakage — Check a signal for lookahead
Advertised by the server during the last successful anonymous check.
Advertised read-only

Does a signal look ahead? plan gives cuts; rerun your code on the first cut rows for each, then compare. Rows that changed used later rows; the result names the pattern and horizon. No code is sent. A pass covers only these cuts: the columns are the caller's, and survivorship, vendor revisions or a leak no cut reaches leave no trace.

check_leakage input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "action"
  ],
  "properties": {
    "cuts": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "compare: plan's cuts."
    },
    "seed": {
      "type": "integer"
    },
    "action": {
      "enum": [
        "plan",
        "compare"
      ],
      "type": "string"
    },
    "columns": {
      "type": "object",
      "description": "compare: {name: {full: [all rows], prefixes: [[first cuts[i] rows], ...]}}, null for missing.",
      "additionalProperties": {
        "type": "object",
        "properties": {}
      }
    },
    "prefixes": {
      "type": "integer",
      "description": "plan: cuts, default 5."
    },
    "tolerance": {
      "type": "number",
      "description": "Default 1e-9."
    },
    "timestamps": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "columns_file": {
      "type": "string",
      "description": "compare, on your machine: a JSON file {cuts, columns} instead."
    },
    "observations": {
      "type": "integer",
      "description": "plan: rows in the series."
    }
  },
  "additionalProperties": false
}
check_leakage output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "cuts": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "seed": {
      "type": "number"
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "object",
      "properties": {}
    },
    "columns": {
      "type": "object",
      "properties": {}
    },
    "verdict": {
      "type": "string"
    },
    "plain_reading": {
      "type": "string"
    },
    "flagged_columns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "description": "plan: cuts and seed. compare: verdict over all columns, flagged_columns, and per column its pattern, sentence and per-cut changes."
}
check_leakage annotations
{
  "title": "Check a signal for lookahead",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
placebo_test — Test a research pipeline on placebo data
Advertised by the server during the last successful anonymous check.

Does your pipeline find edges in noise? plan writes placebo files (your data's returns in random orders, so nothing is predictable); run the whole pipeline on real.csv and on each, then compare for a p-value that counts every choice it makes. Beating the placebos shows the pipeline finds more in the real order of the returns than in random orders of the same returns; it does not show the edge survives costs, capacity or the future.

placebo_test input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "action"
  ],
  "properties": {
    "kind": {
      "enum": [
        "prices",
        "returns"
      ],
      "type": "string",
      "description": "plan: default prices."
    },
    "real": {
      "type": "number",
      "description": "compare: the pipeline's result on the real data."
    },
    "seed": {
      "type": "integer"
    },
    "action": {
      "enum": [
        "plan",
        "compare"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "permute",
        "block_permute",
        "stationary_bootstrap"
      ],
      "type": "string"
    },
    "columns": {
      "type": "object",
      "description": "plan: {asset: [values]} instead of data_file.",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    },
    "placebos": {
      "type": "integer",
      "description": "plan: default 19, up to 199."
    },
    "data_file": {
      "type": "string",
      "description": "plan, on your machine: CSV or JSON, a column per asset, dates optional."
    },
    "lower_is_better": {
      "type": "boolean"
    },
    "placebo_results": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "compare: its result on each placebo, in file order."
    }
  },
  "additionalProperties": false
}
placebo_test output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "dir": {
      "type": "string"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "object",
      "properties": {}
    },
    "p_value": {
      "type": "number"
    },
    "placebo": {
      "type": "object",
      "properties": {}
    },
    "verdict": {
      "type": "string"
    },
    "plain_reading": {
      "type": "string"
    }
  },
  "description": "plan: dir, real.csv and the placebo files, method and seed. compare: verdict, p_value, and what the pipeline found on the placebos."
}
placebo_test annotations
{
  "title": "Test a research pipeline on placebo data",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}

Prompts

8 advertised

validate_backtest — Validate a backtest before trusting it

Advertised by the server during the last successful anonymous check.

Walk through the deflated Sharpe, overfitting and track-record checks for one strategy, and report what the numbers do not establish.

strategy
What the strategy is and what data it was backtested on (required)
variants_tried
How many variants, parameter sets or ideas were tried before this one
track_record_needed — How long a track record do I need?

Advertised by the server during the last successful anonymous check.

The minimum track record length for a Sharpe to clear a benchmark, with the record's own probabilistic Sharpe if its length is known.

sharpe
The observed annualized Sharpe ratio (required)
frequency
How often returns are measured: daily, weekly or monthly (required)
benchmark
The annualized Sharpe it must beat; 0 if not given
record_length
How long the record already is, if known
backtest_and_validate — Backtest a rule and check whether the best variant is luck

Advertised by the server during the last successful anonymous check.

Run a strategy family over a parameter grid on your prices, then read the deflated Sharpe and overfitting probability that count every variant run.

prices_file
Path to a CSV of prices on this machine (required)
family
sma_cross, momentum, mean_reversion, breakout or buy_and_hold
stress_my_strategy — How fragile is this strategy?

Advertised by the server during the last successful anonymous check.

Resampled histories and named crash, volatility, repeat and outage scenarios for a strategy's returns.

returns_file
Path to a CSV of the strategy's returns (required)
drawdown_limit
The drawdown you could not live with, such as 0.2
production_check — Will this plan survive a real broker?

Advertised by the server during the last successful anonymous check.

Order-rate and minimum-order limits, 2026 day-trading rules, market impact, crowding and capacity for a trading plan.

plan
Capital, broker, how many orders per rebalance, how often, turnover, and what it trades (required)
summarize_market_series — Read a long series in a hundred words

Advertised by the server during the last successful anonymous check.

Summarize a price or return file instead of reading its rows.

series_file
Path to a CSV of prices or returns (required)
kind
prices or returns; default prices
check_signal_for_lookahead — Does my signal look ahead?

Advertised by the server during the last successful anonymous check.

Rerun your own signal code on prefixes the server picks, and find any value that depends on later rows.

rows
Rows in the full series the signal is computed on (required)
test_pipeline_on_placebos — Does my pipeline find edges in noise?

Advertised by the server during the last successful anonymous check.

Run your whole research pipeline on placebo data, where nothing can be predicted, and see whether its real result beats what it finds there.

data_file
Path to the CSV or JSON the pipeline reads: a column per asset, dates optional (required)

Resources

4 advertised

limits — What a result does not establish

Advertised by the server during the last successful anonymous check.

The boundary sentences every validation result carries.

limits URI
canli://limits

MIME type: text/markdown

sources — Sources and independent checks

Advertised by the server during the last successful anonymous check.

The papers behind each validator and how each is checked against them.

sources URI
canli://sources

MIME type: text/markdown

strategy-spec — Strategy families and their parameters

Advertised by the server during the last successful anonymous check.

JSON Schema of backtest_strategy's families, parameters and rules.

strategy-spec URI
canli://strategy-spec

MIME type: application/json

openapi — The validation API's OpenAPI 3.1 document

Advertised by the server during the last successful anonymous check.

Generated from the endpoints that exist; fetched from canlicapital.com when read.

openapi URI
canli://openapi

MIME type: application/json

tool-schema — A tool's exact JSON Schemas

Advertised by the server during the last successful anonymous check.

Input and output JSON Schema and the description of one tool, for writing code against it.

tool-schema URI template
canli://schemas/{tool}

MIME type: application/json

example — A working call, in Python, JavaScript or curl

Advertised by the server during the last successful anonymous check.

Runnable client code calling one tool with valid example arguments.

example URI template
canli://examples/{language}/{tool}

MIME type: text/plain

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (71 of 71 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1613 ms
95th percentile latency
1682 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1536 ms · 18 tool(s), 4 resource(s), 2 resource template(s), 8 prompt(s)
  • · probe · passed · 1690 ms · metadata changed · 18 tool(s), 4 resource(s), 2 resource template(s), 8 prompt(s)
  • · repository · passed · metadata changed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http canli-capital-mcp https://canlicapital.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add canli-capital-mcp --url https://canlicapital.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable canli-capital-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "canli-capital-mcp": {
      "url": "https://canlicapital.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "canli-capital-mcp": {
      "type": "streamableHttp",
      "url": "https://canlicapital.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start canli-capital-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "canli-capital-mcp": {
      "type": "http",
      "url": "https://canlicapital.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http canli-capital-mcp https://canlicapital.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://canlicapital.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "canli-capital-mcp": {
      "serverUrl": "https://canlicapital.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Canli Capital MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Canli Capital MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing