MCP server
The backtesting MCP server for trading agents
One hosted server gives any MCP client LONA's strategy authoring, backtests, optimizations and walk-forward analysis. Sign in with your LONA account.
https://mcp.lona.agency/mcpPick your agent
Step-by-step setup and a first prompt for each client.
Claude Code
One command in your terminal
Codex
Two commands in the Codex CLI
Cursor
Add it to mcp.json
ChatGPT
The LONA app for ChatGPT
Claude
The LONA connector for Claude
Any other MCP client
Any client that supports remote HTTP servers with OAuth can connect with this config.
Any other MCP client
Any client that supports remote HTTP servers with OAuth can connect with this config.
{
"mcpServers": {
"lona": {
"type": "http",
"url": "https://mcp.lona.agency/mcp"
}
}
}What your agent can do with LONA
Create strategies
Describe the rules in plain words. The agent writes the Python strategy and dry-runs it before saving.
Backtest
Run it on US and China equities, ETFs, crypto and forex, from 5-minute bars to daily.
Optimize parameters
Sweep one or two parameters and compare every combination.
Walk-forward analysis
Re-optimize on rolling windows and test on data the parameters never saw.
Day and time tests
Find the weekdays or UTC hours your strategy should skip.
[ FAQ ]