DSR Backtest Check is an MCP server published by io.github.jagerstromebbe01-dot, hosted at dsr-web.pages.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 2 tools, including check_backtest, dsr_from_stats.
Is a backtest's Sharpe ratio real or luck? Deflated Sharpe Ratio check with green/yellow/red.
1 connections through 5 shared values. Tap any node.
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 actual per-period return series (e.g. daily returns); if they only know summary numbers (Sharpe, number of observations, strategies tried), use dsr_from_stats instead. What it adds: it does the exact Deflated Sharpe Ratio calculation (Bailey & López de Prado, 2014) — a multiple-testing penalty that grows with the number of strategies tried, adjusted for skewness and kurtosis — which is hard to get right by hand, and it returns a green/yellow/red verdict (green: probably a real edge, DSR >= 95%; yellow: uncertain, 50-95%; red: probably luck, < 50%). It also computes the Sharpe ratio, skewness and kurtosis from the real returns and returns a signed link to a result page anyone can verify. N (number of independent strategies tried) is required: ask the user if they did not say. The return series is processed in memory and never stored. Educational, not investment advice.
| Parameter | Type | Description |
|---|---|---|
| n * |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| integer |
| N = number of INDEPENDENT strategies, parameter sets or variants that were tested (including the final chosen one) before picking this result. 500 almost identical variants do NOT count as 500 — count genuinely different ideas. A larger N is a stricter test, so ask the user rather than guessing low. |
| v | number | Optional. Variance of the PER-PERIOD Sharpe ratios across the N tried strategies. Leave out if unknown (it is then estimated as 1/(T-1)). |
| returns * | array | Returns per period as DECIMALS (0.012 = +1.2%), oldest first. Not percentages. Needs at least 2 values; 60+ is recommended. |
| frequency * | string | How often the returns/Sharpe are measured: daily (252 periods/year), daily_crypto (365), weekly (52), monthly (12) or custom (then give periods_per_year). |
| periods_per_year | number | Only when frequency is 'custom': number of periods per year. |
{
"name": "check_backtest",
"title": "Check a backtest (from returns)",
"description": "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 actual per-period return series (e.g. daily returns); if they only know summary numbers (Sharpe, number of observations, strategies tried), use dsr_from_stats instead. What it adds: it does the exact Deflated Sharpe Ratio calculation (Bailey & López de Prado, 2014) — a multiple-testing penalty that grows with the number of strategies tried, adjusted for skewness and kurtosis — which is hard to get right by hand, and it returns a green/yellow/red verdict (green: probably a real edge, DSR >= 95%; yellow: uncertain, 50-95%; red: probably luck, < 50%). It also computes the Sharpe ratio, skewness and kurtosis from the real returns and returns a signed link to a result page anyone can verify. N (number of independent strategies tried) is required: ask the user if they did not say. The return series is processed in memory and never stored. Educational, not investment advice.",
"inputSchema": {
"type": "object",
"required": [
"returns",
"frequency",
"n"
],
"properties": {
"n": {
"type": "integer",
"minimum": 1,
"description": "N = number of INDEPENDENT strategies, parameter sets or variants that were tested (including the final chosen one) before picking this result. 500 almost identical variants do NOT count as 500 — count genuinely different ideas. A larger N is a stricter test, so ask the user rather than guessing low."
},
"v": {
"type": "number",
"minimum": 0,
"description": "Optional. Variance of the PER-PERIOD Sharpe ratios across the N tried strategies. Leave out if unknown (it is then estimated as 1/(T-1))."
},
"returns": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 100000,
"minItems": 2,
"description": "Returns per period as DECIMALS (0.012 = +1.2%), oldest first. Not percentages. Needs at least 2 values; 60+ is recommended."
},
"frequency": {
"enum": [
"daily",
"daily_crypto",
"weekly",
"monthly",
"custom"
],
"type": "string",
"description": "How often the returns/Sharpe are measured: daily (252 periods/year), daily_crypto (365), weekly (52), monthly (12) or custom (then give periods_per_year)."
},
"periods_per_year": {
"type": "number",
"description": "Only when frequency is 'custom': number of periods per year.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check a backtest (from returns)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 numbers — the Sharpe ratio, how long the backtest ran (number of observations) and how many strategies they tried — which is the usual case in a chat; if they can give the full return series, use check_backtest instead. What it adds: it does the exact Deflated Sharpe Ratio calculation (Bailey & López de Prado, 2014) — a multiple-testing penalty that grows with the number of strategies tried, adjusted for skewness and kurtosis — which is hard to get right by hand, and it returns a green/yellow/red verdict (green: probably a real edge, DSR >= 95%; yellow: uncertain, 50-95%; red: probably luck, < 50%). Example: "Is a Sharpe of 1.5 after 1260 trading days real if I tested 50 strategies?" -> sharpe=1.5, sharpe_is_annual=true, frequency="daily", t=1260, n=50. Convert durations to observations yourself (5 years of daily data = 1260). Skewness/kurtosis are optional (default: normal). Nothing is stored. Educational, not investment advice.
| Parameter | Type | Description |
|---|---|---|
| n * | integer | N = number of INDEPENDENT strategies, parameter sets or variants that were tested (including the final chosen one) before picking this result. 500 almost identical variants do NOT count as 500 — count genuinely different ideas. A larger N is a stricter test, so ask the user rather than guessing low. |
| t * | integer | T = number of return observations behind the Sharpe ratio (e.g. 1260 daily returns = 5 years). |
| v | number | Optional. Variance of the PER-PERIOD Sharpe ratios across the N tried strategies. Leave out if unknown. |
| skew | number | Optional. Skewness of the returns. Default 0 (symmetric). |
| sharpe * | number | The Sharpe ratio of the backtest. |
| kurtosis | number | Optional. Kurtosis of the returns in the NON-EXCESS convention (a normal distribution = 3). Default 3. |
| frequency * | string | How often the returns/Sharpe are measured: daily (252 periods/year), daily_crypto (365), weekly (52), monthly (12) or custom (then give periods_per_year). |
| periods_per_year | number | Only when frequency is 'custom': number of periods per year. |
| sharpe_is_annual * | boolean | true if the Sharpe ratio is annualized (the usual case when quoted in conversation), false if it is per period (e.g. per day). |
{
"name": "dsr_from_stats",
"title": "Deflated Sharpe Ratio (from summary statistics)",
"description": "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 numbers — the Sharpe ratio, how long the backtest ran (number of observations) and how many strategies they tried — which is the usual case in a chat; if they can give the full return series, use check_backtest instead. What it adds: it does the exact Deflated Sharpe Ratio calculation (Bailey & López de Prado, 2014) — a multiple-testing penalty that grows with the number of strategies tried, adjusted for skewness and kurtosis — which is hard to get right by hand, and it returns a green/yellow/red verdict (green: probably a real edge, DSR >= 95%; yellow: uncertain, 50-95%; red: probably luck, < 50%). Example: \"Is a Sharpe of 1.5 after 1260 trading days real if I tested 50 strategies?\" -> sharpe=1.5, sharpe_is_annual=true, frequency=\"daily\", t=1260, n=50. Convert durations to observations yourself (5 years of daily data = 1260). Skewness/kurtosis are optional (default: normal). Nothing is stored. Educational, not investment advice.",
"inputSchema": {
"type": "object",
"required": [
"sharpe",
"sharpe_is_annual",
"frequency",
"t",
"n"
],
"properties": {
"n": {
"type": "integer",
"minimum": 1,
"description": "N = number of INDEPENDENT strategies, parameter sets or variants that were tested (including the final chosen one) before picking this result. 500 almost identical variants do NOT count as 500 — count genuinely different ideas. A larger N is a stricter test, so ask the user rather than guessing low."
},
"t": {
"type": "integer",
"minimum": 2,
"description": "T = number of return observations behind the Sharpe ratio (e.g. 1260 daily returns = 5 years)."
},
"v": {
"type": "number",
"minimum": 0,
"description": "Optional. Variance of the PER-PERIOD Sharpe ratios across the N tried strategies. Leave out if unknown."
},
"skew": {
"type": "number",
"description": "Optional. Skewness of the returns. Default 0 (symmetric)."
},
"sharpe": {
"type": "number",
"description": "The Sharpe ratio of the backtest."
},
"kurtosis": {
"type": "number",
"minimum": 1,
"description": "Optional. Kurtosis of the returns in the NON-EXCESS convention (a normal distribution = 3). Default 3."
},
"frequency": {
"enum": [
"daily",
"daily_crypto",
"weekly",
"monthly",
"custom"
],
"type": "string",
"description": "How often the returns/Sharpe are measured: daily (252 periods/year), daily_crypto (365), weekly (52), monthly (12) or custom (then give periods_per_year)."
},
"periods_per_year": {
"type": "number",
"description": "Only when frequency is 'custom': number of periods per year.",
"exclusiveMinimum": 0
},
"sharpe_is_annual": {
"type": "boolean",
"description": "true if the Sharpe ratio is annualized (the usual case when quoted in conversation), false if it is per period (e.g. per day)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Deflated Sharpe Ratio (from summary statistics)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use these tools when a user asks whether a backtest, trading strategy, Sharpe ratio or performance number is real, genuine, significant or just luck, or brings up overfitting, data mining, p-hacking, multiple testing, selection bias or a result that looks too good to be true. The user does not have to mention the tools by name. They compute the exact Deflated Sharpe Ratio (a multiple-testing penalty for the number of strategies tried, plus skewness and kurtosis), which a rule of thumb cannot reproduce. Only the number of INDEPENDENT strategies tried (N) may be missing: if the user did not say, ask once; if they cannot say, use your best estimate and state that assumption. Educational, not investment advice.
Names, descriptions and schemas were written by the server and are shown as data.