Backtest Vault
Server Details
Backtest NQ, ES and GC futures strategies on 15+ years of 1-minute data from your AI client.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 10 tools
Each tool targets a distinct action on a distinct object: run_backtest creates, rerun derives, compare_runs diffs two runs, vault_stats aggregates, usage reports billing, get_spec returns grammar. The closest pair (run_backtest vs rerun) is explicitly separated by 'new spec' versus 'merge changes into an existing run's spec'. No tool pair invites misselection.
Most names follow a clear verb_noun pattern (compare_runs, delete_run, get_run, get_spec, list_runs, name_run, run_backtest). Deviations are mild: 'rerun' drops the noun and 'usage'/'vault_stats' are noun-only, but all remain readable and unambiguous.
Ten tools is a well-scoped surface for a backtest vault: execution, retrieval, naming, comparison, deletion, grammar reference, billing and aggregate stats. Every tool earns its place with no filler or near-duplicates.
Full lifecycle is covered: create (run_backtest), read (get_run/list_runs), update (name_run, rerun), delete (delete_run), plus comparison, stats and account usage. Minor gaps exist—no export of results or equity curve to a file, and no bulk operations—but these are workaround-able and not core to the domain.
Available Tools
10 toolscompare_runsCompare two runsARead-onlyIdempotentInspect
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.
Inputs: run_id_a (required), run_id_b (required).
delete_runDelete a runADestructiveIdempotentInspect
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.
Inputs: run_id (required).
get_runGet one saved runARead-onlyIdempotentInspect
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.
Inputs: run_id (required).
get_specStrategy grammar and rulesARead-onlyIdempotentInspect
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.
Inputs: no named parameters.
list_runsList saved runsARead-onlyIdempotentInspect
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.
Inputs: tag, limit, offset.
name_runName or tag a runAIdempotentInspect
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.
Inputs: run_id (required), name, tags, notes.
rerunRe-run with changesAIdempotentInspect
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.
Inputs: run_id (required), changes (required).
run_backtestRun a backtestAIdempotentInspect
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.
Inputs: spec (required).
usageCredits and billingARead-onlyIdempotentInspect
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.
Inputs: no named parameters.
vault_statsVault totalsARead-onlyIdempotentInspect
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.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Build, backtest, and deploy quantitative trading strategies from your AI agent.
The data and trading platform for AI: decades of US market data, backtests in seconds.
Backtest crypto trading strategies by describing them in plain English. Your AI writes the rules; a deterministic engine runs them on real Binance data (perpetual futures and spot) with fees, slippage and funding counted. Optimize with a held-out check, forward test on live data, build portfolios, and get a full report for every result.
Backtest trading strategies and study markets with your BacktestingMax Pro account from any AI app.
Related MCP Servers
AlicenseAqualityDmaintenanceEnables AI assistants to backtest trading strategies described in plain English, providing access to market data, technical indicators, and comprehensive performance reports.131MIT- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to run backtests, fetch market data, list strategies, and analyze trading algorithms via natural language.1,143GPL 3.0
- AlicenseNot gradedqualityDmaintenanceLocal-first backtesting engine with built-in overfitting detection (PBO, deflated Sharpe, bootstrap CI, walk-forward) and a native MCP server for AI agents to validate trading strategies.4Apache 2.0

FinzDataofficial
AlicenseAqualityBmaintenancePoint-in-time market data and backtests for AI agents, 40 tools: 16,000+ US stocks since 2000 incl. delisted, 5,100+ ETFs, ticks, 139 futures markets, options GEX and chains, VIX, 123 indexes, 79 FX pairs, 512 crypto pairs, fundamentals as filed, 13F, COT since 1986, 22,700+ macro series with every vintage, Global Macro Pulse, congressional trades. Deflated-Sharpe backtests. No key to start.1160 PyPIMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.