Yes. Reamer Research gives Claude Code a backtesting engine two ways: pick Claude Code as the agent in the Reamer Research app, or add the Reamer Research MCP server or Claude Code plugin to the Claude Code you already run. Either way Claude writes the strategy as a Python file, backtests it on your bars with realistic costs and shows you every trade, on your own computer. Reamer Research is a quant workstation built on a high-performance C++ core. Describe a strategy in plain English, and your AI agent writes it, backtests it and shows you every trade.
Way 1: the Reamer Research app
Claude Code is the app's default agent and runs on your own Claude sign-in, so your Claude plan pays for the model and the app adds no AI charge.
- Install the app with
uv tool install reamer-researchand start it withreamer-research. - It opens at 127.0.0.1:8765 with a sample data file in a new workspace.
- Describe the strategy in the chat. The Strategy, Data, Analysis, Backtest, Trade diagnostics and Live tabs fill beside it as Claude works.
By default the app asks before every file edit and every backtest. Claude works through the app's engine and analysis tools and has no shell, and live trading starts only from your own click.
Way 2: the MCP server in your own Claude Code
If you already work in Claude Code in a terminal, add the plugin, which installs the server and a Reamer Research skill:
claude plugin marketplace add reamerlabs/reamer-research-mcp
claude plugin install reamer-research@reamerlabs
Or the server alone:
claude mcp add reamer-research -- uvx reamer-research-mcp
The server installs the engine with itself, so there is nothing else to download. Claude gets tools to check the engine, read the strategy API, run backtest, sort closed_trades, run monte_carlo, read what the strategy printed and open the run in visual trade diagnostics. The skill tells Claude how to write a Reamer Research strategy and in what order to work. See the MCP server docs.
Why Claude works through an engine
Claude can write a pandas backtest from scratch, and each new script brings its own fill logic to check. With an engine, Claude writes only the strategy:
- The engine owns the fills. Every order fills tick by tick on a seeded path inside each bar, with spread, slippage, commission and swap, under a public execution specification. An order returned on one bar is eligible from the next.
- The same answer every run. The same data, settings and seed give byte-identical results, so when Claude changes a parameter, any difference in the numbers comes from that change.
- Every trade on its own chart. Claude can point you to the five worst trades, and Trade diagnostics shows each one with its entry, exit, stop and target and the values the strategy printed.
See Why do AI-written backtests give misleading results?
Data
Fetch your own data in one ask: in the app, Claude downloads bars from your Alpaca or Databento account, a MetaTrader 5 terminal on Windows or any vendor with a REST API, crypto from Alpaca with no key, or you drop in CSV files.
The app and the server are free to install; Evaluation Mode backtests one ticker over up to 30 days or 50,000 bars, and $20 a month removes the limits. See Can I use my own AI agent with Reamer Research? and pricing.
Try it in Reamer Research
Install the app with uv tool install reamer-research, start it with reamer-research, and paste this into the chat:
Write a Donchian breakout on the sample bars with an ATR stop, backtest it with realistic costs, then show me the five worst trades and explain why each one lost.