backtestvault avatar

Backtest Vault

com.backtestvault/backtest-vault

Backtest NQ, ES, and GC futures strategies against 15+ years of 1-minute data via remote MCP.

CCM score
69 of 100
tools
9
auth
Secret needed
transport
HTTP
last updated
Nov 25, 2026
Open website

Own this MCP server? Claim it

What it does

  • Runs strategies with run_backtest and reviews them with get_run, list_runs, and compare_runs, plus rerun to change one parameter at a time
  • Manages saved results with name_run, delete_run, and vault_stats, and reads the strategy grammar and rules with get_spec
  • Connects through a personal key in the connector URL or an Authorization Bearer header, with no local install needed
  • Designed for traders testing intraday futures ideas with realistic slippage, commission, and next-bar fills from an AI client

Install

$ npx -y add-mcp https://backtestvault.com/mcp --name backtest-vault --header 'Authorization: Bearer ${API_TOKEN}'

Adds the server to every agent config it finds in this project. add-mcp asks for each value it needs.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http backtest-vault https://backtestvault.com/mcp --header 'Authorization: YOUR_AUTHORIZATION'

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 9 tools

Verified live against the running server on Nov 25, 2026.

get_specWhat 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 siz...

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 siz...

No parameters. Call it with no arguments.

run_backtestWhat 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, pr...1 params

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, pr...

Parameters* required
spec*object
The full strategy spec object, per get_spec's grammar
list_runsWhat 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:...3 params

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:...

Parameters* required
limitinteger
offsetinteger
tagstring
get_runWhat 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.1 params

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.

Parameters* required
run_id*string
compare_runsWhat 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.2 params

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.

Parameters* required
run_id_a*string
run_id_b*string
rerunWhat 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...2 params

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...

Parameters* required
changes*object
run_id*string
name_runWhat 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.4 params

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.

Parameters* required
namestring
notesstring
run_id*string
tagsarray
delete_runWhat 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.1 params

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.

Parameters* required
run_id*string
vault_statsWhat 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.

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 parameters. Call it with no arguments.

Details

Website
backtestvault.com/docs
Categories
Finance & Trading, Data & Analytics
Transport
HTTP
Auth
Required
Registry
MCP registry, active
Tools verified
Nov 25, 2026

Similar to Backtest Vault

More Finance & Trading