Backtest Vault
Backtest NQ, ES and GC futures strategies on 15+ years of 1-minute data from your AI client.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"backtest-vault": {
"url": "https://backtestvault.com/mcp"
}
}
}Puntos de conexión remotos
https://backtestvault.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (10)
🟢get_spec
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.
Esquema de entrada
{
"type": "object",
"properties": {}
}🟡run_backtest(spec)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"additionalProperties": {},
"description": "The full strategy spec object, per get_spec's grammar"
}
},
"required": [
"spec"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_runs(limit, offset, tag)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "integer",
"minimum": 0
},
"tag": {
"type": "string"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_run(run_id)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"run_id": {
"type": "string"
}
},
"required": [
"run_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢compare_runs(run_id_a, run_id_b)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"run_id_a": {
"type": "string"
},
"run_id_b": {
"type": "string"
}
},
"required": [
"run_id_a",
"run_id_b"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪rerun(run_id, changes)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"run_id": {
"type": "string"
},
"changes": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"run_id",
"changes"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢name_run(run_id, name, notes, tags)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"run_id": {
"type": "string"
},
"name": {
"type": "string"
},
"notes": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"run_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴delete_run(run_id)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"run_id": {
"type": "string"
}
},
"required": [
"run_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢vault_stats
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.
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢usage
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.
Esquema de entrada
{
"type": "object",
"properties": {}
}Comunidad
Evidencia