Backtest Vault

Docs

Connect once.
Then just ask.

Backtest Vault is a remote MCP server. Your AI client connects to it, sees ten tools, and uses them when you ask for a backtest. Nothing to install: one URL and your key.

1. Connect your AI

Two equivalent ways. Your key comes with any plan and is shown once after checkout.

WayWhat to enterUse it in
Personal connector URLhttps://backtestvault.com/mcp/<your key> — no separate auth fieldClaude, ChatGPT, Cursor, Windsurf, Cline, Zed and any client that takes a URL only
Server URL + headerURL https://backtestvault.com/mcp, header Authorization: Bearer <your key>Clients and directories with a headers or API-key field (the MCP Registry listing uses this form)
ClaudeSettings → Connectors → Add custom connector → paste the connector URL, leave authentication empty. Web, desktop, iPhone, Android.
ChatGPTSettings → Connectors → Advanced → Developer mode on → Create → MCP server URL: the connector URL, Authentication: none.
Cursor / WindsurfSettings → MCP → Add server → type HTTP → the connector URL. In mcp.json: {"mcpServers":{"nq-backtest":{"url":"https://backtestvault.com/mcp/<your key>"}}}
Cline / VS Code / Gemini CLI / ZedAdd a remote (HTTP) MCP server with the connector URL, or the server URL plus the Authorization header where the client has a headers field.

Without a key the server still answers initialize and tools/list, so a client can show the tools; calling a tool then returns a 401 that says where to get a key.

2. Ask for a backtest

Plain words. Your AI reads the grammar (free), composes the strategy, runs it and explains the numbers. Change one thing at a time.

"Read the backtest spec, then backtest a 30-minute opening range breakout on NQ, 5-minute bars, 60-tick stop, 120-tick target, one trade a day, 2020 to now."
"Same strategy on ES. Then compare the two runs and tell me exactly what differs."
"Gold: buy when the 20-period average crosses above the 50 on 15-minute bars during regular hours, 40-tick stop, flat by 13:00 ET. Since 2018."
"Re-run my last ORB test with a 90-tick stop and tag both runs 'orb'."
"What was my best run by Sharpe this month, and how many credits do I have left?"

Expect honest numbers: most simple ideas net about zero after costs. The engine includes slippage and commission, fills at the next bar's open, checks the stop before the target inside a bar, holds nothing overnight and never looks ahead. The fine print is in get_spec; the example page walks through one run.

3. Tool reference

Ten tools, one account. Each tool declares whether it only reads (read-only), writes to your vault, or deletes.

ToolWhat it doesCredits
get_specThe strategy grammar (every node and field), execution rules, instruments with tick and point value, credit table and four example specs. Read it first. Read-only.free
run_backtestRuns one spec on 15+ years of 1-minute NQ, ES or GC history. Returns metrics, an equity curve (≤500 points), a monthly table and the run id; saves the run to your vault. A rejected spec returns a teaching error with the exact path.1 (2 on 1-min bars)
list_runsYour saved runs, newest first, with headline metrics; filter by tag. Read-only.free
get_runOne run in full: spec, metrics, curve, monthly table, name, notes, tags. Read-only.free
compare_runsTwo runs side by side plus exactly which spec fields differ. Read-only.free
rerunRe-runs a saved run with changes merged in; saves a new run.as run_backtest
name_runName, notes and tags on a run.free
delete_runDeletes one run. Cannot be undone. Destructive.free
vault_statsTotals: run count, credits spent, best run by Sharpe, runs per timeframe. Read-only.free
usageThis month's credits in one line, the numbers, your account status and your billing link (card, invoices, cancel). Read-only.free

An identical spec re-run on the same data build is a free cache hit. A run that fails on our side refunds its credit. Raw price bars never leave the server. Rate limit: 10 requests a minute per key; the server waits out the window once for you.

4. Instruments and data

NQ (E-mini Nasdaq-100), ES (E-mini S&P 500) and GC (gold) futures: continuous back-adjusted 1-minute bars from June 2010, updated weekly, every session validated against the CME calendar. Set spec.instrument; NQ is the default. Details, tick sizes and point values on the data page.

5. Your key

The key (and the connector URL that contains it) works like a password: anyone who has it can run backtests on your plan and read your vault. Keep it out of screenshots and shared chats. Lost it or leaked it? See support: we revoke it and issue a new one.