Backtest NQ, ES and GC futures strategies on 15+ years of 1-minute data from your AI client.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional: Bearer <your Backtest Vault API key> (shown once after checkout at https://backtestvault.com/pricing; it is also the last part of your personal connector URL). Without it, OAuth sign-in with your account email is used.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
What it does: puts two saved runs side by side. Returns: the headline metrics of each plus spec_differences, the exact spec fields that differ with both values. When to use: 'is the 40-tick stop better than the 60?', or any A/B question about two runs. Free.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http backtest-vault https://backtestvault.com/mcp
Headers
Authorization (optional, not in the config above): Optional: Bearer <your Backtest Vault API key> (shown once after checkout at https://backtestvault.com/pricing; it is also the last part of your personal connector URL). Without it, OAuth sign-in with your account email is used.What it does: puts two saved runs side by side. Returns: the headline metrics of each plus spec_differences, the exact spec fields that differ with both values. When to use: 'is the 40-tick stop better than the 60?', or any A/B question about two runs. Free.
| Argument | Type | Description |
|---|---|---|
| run_id_a* | string | |
| run_id_b* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"run_id_a",
"run_id_b"
],
"properties": {
"run_id_a": {
"type": "string"
},
"run_id_b": {
"type": "string"
}
},
"additionalProperties": false
}What it does: deletes one run from the user's vault. Cannot be undone. Returns: {ok: true}, or 404 if the run is not in this vault. When to use: only when the user explicitly asks to delete a specific run; confirm the run_id with them first.
| Argument | Type | Description |
|---|---|---|
| run_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string"
}
},
"additionalProperties": false
}What it does: fetches one saved run in full. Returns: the spec as submitted, all metrics, the equity curve, the monthly table, name, notes and tags. When to use: to inspect or explain a past run, or to see the exact spec before a rerun or a comparison. Free.
| Argument | Type | Description |
|---|---|---|
| run_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string"
}
},
"additionalProperties": false
}What it does: returns the full strategy grammar (every node type with its fields), the execution rules (signals at bar close, entry at the next bar's open, slippage against you, stop checked before target inside a bar, intraday only), the instruments (NQ, ES, GC) with tick size, point value and hours, the credit costs and four worked example specs. Returns: one JSON document. When to use: read it FIRST, before composing any spec for run_backtest, and again whenever a spec is rejected. Free, no credits, no key needed to list it.
No arguments.
{
"type": "object",
"properties": {}
}What it does: lists the user's saved backtests, newest first, optionally filtered by tag. Returns: runs[] with id, name, tags, instrument, timeframe, date range, created_at and the headline metrics (trades, win rate, profit factor, net P&L, max drawdown, Sharpe). When to use: to find a run_id, to answer 'what have I tested', or to group runs by tag. Free.
| Argument | Type | Description |
|---|---|---|
| tag | string | |
| limit | integer | |
| offset | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tag": {
"type": "string"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}What it does: labels a saved run with a name, notes and/or tags (tags replace the run's tags). Returns: {ok: true}. When to use: when the user wants to remember a run or group runs for list_runs' tag filter. Free, nothing is re-run.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| tags | array | |
| notes | string | |
| run_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"run_id"
],
"properties": {
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "string"
},
"run_id": {
"type": "string"
}
},
"additionalProperties": false
}What it does: re-runs a saved strategy with changes merged into its spec (objects merge one level down, e.g. {"exit": {"stop_ticks": 50}} changes only the stop; scalars and arrays replace) as a normal backtest and saves a new run. Returns: the same shape as run_backtest. When to use: variations of an existing run, so everything else stays identical. Costs the same credits as run_backtest; an unchanged spec is a free cache hit.
| Argument | Type | Description |
|---|---|---|
| run_id* | string | |
| changes* | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"run_id",
"changes"
],
"properties": {
"run_id": {
"type": "string"
},
"changes": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": false
}What it does: runs one strategy spec against 15+ years of real 1-minute futures history (NQ by default; set spec.instrument to ES or GC) with realistic fills, slippage and commission, and saves the run to the user's private vault. Returns: run_id, metrics (trades, win rate, profit factor, net P&L in dollars, max drawdown, Sharpe, exit breakdown), an equity curve of at most 500 points, a monthly table, credits charged and credits left. A rejected spec returns a teaching error naming the exact path and the valid options: fix the spec and call again. When to use: whenever the user wants numbers for an idea; compose the spec from get_spec's grammar and never estimate results yourself. Costs 1 credit (2 on 1-minute bars); an identical re-run on the same data is a free cache hit. Never returns price bars.
| Argument | Type | Description |
|---|---|---|
| spec* | object | The full strategy spec object, per get_spec's grammar |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "The full strategy spec object, per get_spec's grammar",
"additionalProperties": {}
}
},
"additionalProperties": false
}What it does: reports this month's credits in one line, e.g. 'starter · 73 of 75 left · resets 2026-11-01' (or, on an account still finishing an earlier free trial, 'Starter trial · 3 of 5 free backtests left'). Returns: that line, then the numbers (used, quota, remaining, tier, reset date, account status) and the account's billing link (card, invoices, cancel). When to use: 'how many backtests do I have left', anything about billing, plan or cancelling. Free, no credits.
No arguments.
{
"type": "object",
"properties": {}
}What it does: totals over the user's vault. Returns: run count, credits spent, the best run by Sharpe, runs per timeframe. When to use: 'what's my best strategy', or any overview question about everything tested so far. Free.
No arguments.
{
"type": "object",
"properties": {}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 25, 2026.