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.
| Way | What to enter | Use it in |
|---|---|---|
| Personal connector URL | https://backtestvault.com/mcp/<your key> — no separate auth field | Claude, ChatGPT, Cursor, Windsurf, Cline, Zed and any client that takes a URL only |
| Server URL + header | URL 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) |
mcp.json: {"mcpServers":{"nq-backtest":{"url":"https://backtestvault.com/mcp/<your key>"}}}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.
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.
| Tool | What it does | Credits |
|---|---|---|
get_spec | The 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_backtest | Runs 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_runs | Your saved runs, newest first, with headline metrics; filter by tag. Read-only. | free |
get_run | One run in full: spec, metrics, curve, monthly table, name, notes, tags. Read-only. | free |
compare_runs | Two runs side by side plus exactly which spec fields differ. Read-only. | free |
rerun | Re-runs a saved run with changes merged in; saves a new run. | as run_backtest |
name_run | Name, notes and tags on a run. | free |
delete_run | Deletes one run. Cannot be undone. Destructive. | free |
vault_stats | Totals: run count, credits spent, best run by Sharpe, runs per timeframe. Read-only. | free |
usage | This 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.
Plans from $19 a month. Pick one, paste your link, ask your AI. Cancel anytime.
See pricing