AI Backtester
Backtest crypto trading strategies described in plain English, with fees and funding included.
Is this yours? Claim it freeA few minutes with a DNS record or a file. Then edit it, get uptime emails, a README badge and paid calls.
Add to your AI
Remote MCP server (streamable HTTP). Most clients sign you in with the provider on first use.
Claude Code
claude mcp add --transport http ai-backtester https://aibacktester.app/mcp
Claude Desktop, Cursor, Windsurf (mcp config)
{
"mcpServers": {
"ai-backtester": {
"url": "https://aibacktester.app/mcp"
}
}
}
ChatGPT: Settings → Connectors → add a custom connector with the URL above.
How to call AI Backtester from code (MCP)
Remote MCP over streamable HTTP with the official SDKs: initialize, list its tools, then call_tool / callTool. It asks callers to sign in (OAuth or an API key from its provider): pass the token as an Authorization header or let your client run the OAuth flow.
Python
# pip install mcp
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async def main():
async with streamablehttp_client("https://aibacktester.app/mcp") as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
print([t.name for t in tools.tools])
asyncio.run(main())TypeScript
// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL("https://aibacktester.app/mcp")));
console.log((await client.listTools()).tools.map((t) => t.name));Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "ai-backtester" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="ai-backtester")Track record
- Uptime
- 100% uptime over the last 27 checked days (one unpaid request a day)
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Tools (27)
- Account and quota
whoamiConfirm the API key is valid and report the current plan and weekly backtest quota. Worth calling first in a conversation so later failures are not a surprise. - How to write a strategy
get_strategy_spec_rulesREQUIRED reading before calling run_backtest or check_strategy for the first time. Returns the full strategy format: the JSON schema, every supported indicator with the range it can occupy, the condition operators, and worked examples. - Search markets
list_symbolsSearch every market with history in the archive, by ticker or by coin: USD-M perpetual futures (the default) or spot. Worth calling before writing a strategy: Binance futures prefix small-cap coins by lot size, so PEPE trades as 1000PEPEUS… - Validate a strategy without running it
check_strategyValidate a strategy spec and prove whether its rules can ever fire. Costs nothing and touches no market data. Catches impossible conditions (for example an RSI threshold above 100) and strategies with no way to close a position. - Run a backtest
run_backtestRun a strategy against real historical data and return its performance. Nothing is saved or published unless `save` is set — a backtest is a question, not a publication. Call get_strategy_spec_rules first if you have not already. If exactl… - Trade list for a run
get_tradesEvery trade from a saved run, in order. - Equity curve for a run
get_equity_curveAccount equity over time, downsampled to at most `maxPoints` samples. The default is deliberately small so the response fits comfortably in context. - Your saved strategies
list_strategiesList strategies saved to this account. - Read a strategy
get_strategyFetch a strategy and its current spec by id. - Browse public results
search_strategiesSearch public backtest results. Sorted by Sharpe ratio by default, not raw profit: ranking by return alone puts the most overfit result on top. Results with fewer than `minTrades` trades are excluded, because a handful of trades cannot dis… - Open a saved result
get_runThe headline numbers of one saved run by id — yours, or anyone's public one — with a link to its full report. Use get_trades and get_equity_curve for the detail. - Compare results side by side
compare_backtestsPut 2 to 6 saved runs (yours or public ones) side by side: return, buy & hold, drawdown, Sharpe, trades and win rate. Runs over different markets or periods are listed, but the answer says so, because their numbers are not comparable. - Rename a strategy, or make it public or private
update_strategyRename one of your strategies, or change who can see it. Making it private takes it and every result it saved off Browse and your profile (Pro); making it public puts them back. To change its rules, run a backtest with the new spec and `sa… - Delete a strategy
delete_strategyDelete one of your strategies. It disappears from your strategies, Browse and your profile, its forward test (if any) stops, and its results become private. This cannot be undone from here, so `confirm` must be true: ask the user first. - Fork a public strategy
fork_strategyCopy someone else's public strategy into this account as a private strategy of its own, and run it once so it has a result (uses one backtest). Pro. Pass the id of one of its public runs, from search_strategies or a report link. - Start forward testing
promote_strategyBegin evaluating a saved strategy on candles it has never seen. A backtest can be tuned until it looks good; the future cannot be tuned. The gap between the two is the honest measure of whether a strategy actually works. - Stop forward testing
demote_strategyStop forward testing and DISCARD the forward record. Promoting again starts from zero at the new date: a forward test cannot be paused and resumed, because that would let an unflattering period be edited out. - Preview a parameter sweep
propose_optimization_planShow what a sweep would search before spending anything on it: the values per param, the total combinations, and any range that had to be clamped because it reached outside what the param can actually affect. Costs nothing. - Sweep parameters, honestly
optimize_strategySearch a strategy's declared params for the best combination, then report how much of that result is explained by the search itself. Searches on the first 60% of the window, chooses on the next 20%, and confirms on the last 20%, which it n… - Create a portfolio
create_portfolioPut several of your saved strategies together as a portfolio, each with a share of the capital, and see their combined result — equity, drawdown, Sharpe, each one's contribution, and how correlated they are. Combining saved backtests costs… - Your portfolios
list_portfoliosList your portfolios, with how many strategies each holds. - A portfolio's result
get_portfolioShow a portfolio: its latest run — the combined equity numbers, trades, and each strategy's part — or, if it has never run, its strategies' own saved results combined. Free. - Change a portfolio
update_portfolioRename a portfolio, or replace its strategies and their shares (give the whole list: it replaces the old one). - Run a portfolio
run_portfolioRun every strategy in a portfolio over the same dates and show the combined result. The money is split by the allocations; each strategy trades its slice with its own current rules, position size and leverage (a fixed amount per trade is k… - Optimize a portfolio
optimize_portfolioSearch a portfolio's allocations — some may go to 0 — for the best score on the first 70% of its last run, then show how that did on the last 30% (which the search never saw) next to the current allocations and equal ones. The last 30% is… - Delete a portfolio
delete_portfolioDelete a portfolio. Its strategies and their results are kept. `confirm` must be true: ask the user first. - Backtest versus forward
get_forward_resultCompare a strategy's backtest against how it has actually performed since being promoted. This is the number that matters: backtests are fitted to the past, forward results are not.
Automated check: 80/100
Last run 2026-11-27 03:04 UTC. What we measured, not a guarantee.
- 10/10Every URL is https.
- 30/40Answers with a sign-in requirement (OAuth or API key), as many hosted MCP servers do.
- 15/1527 tools listed in its server card.
- 10/10MCP server card at https://aibacktester.app/.well-known/mcp/server-card.json.
- 10/10Has a homepage or documentation link.
- 5/5Answered in 171 ms.
- 0/10Not claimed with a domain proof yet.