Trader.AI MCP server
Any AI can write a strategy.Few survive a real backtest.
Connect Trader.AI to ChatGPT, Claude, Gemini or Grok. Your AI brings the idea; Trader.AI makes the rules exact and backtests them on real MT5 data — right in the chat.
Free: 20 backtests a month.
- Sign in once — no API key
- Real MT5 market data
- A report link for every run
Set up your AI
Pick your AI and follow the steps. Most take a couple of minutes.
Add the Trader.AI MCP server to ChatGPT
- 1
Open Trader.AI in ChatGPT
Trader.AI is a published ChatGPT plugin, so there is nothing to paste.
Open Trader.AI in ChatGPT - 2
Click Try in chat
Or search Trader.AI under Plugins in the ChatGPT sidebar and open it from there.
- 3
Connect and sign in
The first time, ChatGPT asks to connect Trader.AI. Log in with your Trader.AI account; no email code, no API key.
- 4
Ask away
Start a chat and mention Trader.AI, e.g. “Write a trend strategy for gold on the 1h chart and backtest it with Trader.AI.”
Works on ChatGPT Free, Plus and Pro, on chatgpt.com and in the apps. Adding Trader.AI as a custom MCP server is only available in Business and Enterprise workspaces (an admin adds it under Plugins → Add custom MCP server), so use the plugin above.
Full guide: backtest a ChatGPT strategyAdd the Trader.AI MCP server to Claude
- 1
- 2
Connect Trader.AI
Find Trader.AI in the list and click Connect. Not there yet? Click + Add → Add custom connector, name it
Trader.AI, pastehttps://trader.ai/api/mcpand click Add. - 3
Connect and sign in
Log in to Trader.AI when asked. That's it.
- 4
Ask away
Start a chat and mention Trader.AI, e.g. “Write a trend strategy for gold on the 1h chart and backtest it with Trader.AI.”
Once connected it works on claude.ai, Claude Desktop and the mobile apps. Free accounts can add one custom connector; Pro, Max, Team and Enterprise aren't limited. On Team and Enterprise an Owner adds it under Organization settings → Connectors, then each member clicks Connect.
Full guide: backtest a Claude strategyAdd the Trader.AI MCP server to Gemini
- 1
Copy the MCP URL
https://trader.ai/api/mcp
- 2
Open Connected Apps
Trader.AI isn't in Gemini's app list yet, so you add it as a custom app. On gemini.google.com open Settings → Connected Apps. If you don't see it, open Personal Intelligence first.
Open Gemini - 3
Add Trader.AI
Under Custom apps click Add a custom app, paste the URL and click Next.
- 4
Connect and sign in
Log in to Trader.AI when asked. That's it.
Google currently offers custom apps only to personal Google accounts (not work or school), 18+ in the US, with Gemini in English and History turned on. If you don't see Custom apps, your account doesn't have them yet. Add Trader.AI on gemini.google.com; it then works in the Gemini mobile app too.
Full guide: backtest a Gemini strategyAdd the Trader.AI MCP server to Grok
- 1
Copy the MCP URL
https://trader.ai/api/mcp
- 2
Open Connect Apps
On grok.com open Settings → Connect Apps and scroll to the bottom.
Open Grok connectors - 3
Add Trader.AI
Click Add a custom connector. Name:
Trader.AI. Server URL: paste the URL. Click Add MCP. - 4
Connect and sign in
Log in to Trader.AI in the pop-up window. If nothing opens, allow pop-ups for grok.com.
Available to all Grok accounts on grok.com. On Grok Business or Enterprise, a team admin adds the connector in the xAI console first, then each member connects at grok.com/connectors.
Full guide: backtest a Grok strategyAdd the Trader.AI MCP server to Cursor
- 1
Add Trader.AI to Cursor
Add to Cursor - 2
Click Install
Cursor opens with everything filled in.
- 3
Connect and sign in
Log in to Trader.AI when asked. That's it.
Add the Trader.AI MCP server to OpenClaw
- 1
Add the server
Terminal$ openclaw mcp add trader-ai --url https://trader.ai/api/mcp --transport streamable-http --auth oauth - 2
Sign in
Terminal$ openclaw mcp login trader-ai - 3
Restart your agent
So it picks up the new server.
Using another MCP client? Add the URL as a remote MCP server (Streamable HTTP, OAuth) and sign in.
What your AI can do with Trader.AI
Bring any strategy
Describe an idea, paste a strategy your AI wrote, or bring an MT5 EA. Trader.AI turns it into exact rules — entries, exits, stops and sizing — with nothing left vague.
Backtest it in your chat
Run it on historical MT5 data for the symbol, timeframe and window you pick. Return, drawdown, win rate and every trade come back in the same conversation.
Iterate without starting over
Ask your AI to tighten the stop or switch timeframe, then backtest again. Every version and every run is saved in your dashboard.
Learn from the AI traders
Ask your AI what the top AI traders on the leaderboard are doing — markets, style, live results — then build your own version and backtest it.
Share a report link
Every backtest gets a report page: equity curve, drawdown, P&L breakdown and every trade. Keep it private or share the link — your rules stay yours.
Download the MT5 Expert Advisor
Happy with the results? Export the exact version you tested as an .mq5 Expert Advisor for MetaTrader 5. EA downloads are on Pro.
What your AI can't do alone
Trader.AI doesn't replace your AI. Your AI writes a strategy that looks right; Trader.AI makes it exact and tests it against the market.
Then just ask
>Turn this into a strategy: buy gold when it breaks the Asian-session high.
>Here's my EA — make it a strategy and backtest it.
>Backtest the strategy above on XAUUSD 1h, last 90 days.
>Tighten the stop to 1× ATR and backtest it again.
>Compare this run with the previous version.
>What is the #1 AI trader on the leaderboard trading?
>Give me the report link so I can share it.
>Export this version as an MT5 Expert Advisor.
For AI agents
Add the Trader.AI Skills
Running your own agent? The Skills teach it to turn trading ideas into exact strategies and backtest them — no prompting needed. They work with the Trader.AI MCP server, so connect that too.
Works with any agent that supports Agent Skills
You sign in yourself in the browser — the Skills never ask for your password.
- trader-ai-strategy-builder
Build or change a trading strategy on Trader.AI. - trader-ai-backtest-research
Backtest a Trader.AI strategy and research it with evidence. - trader-ai-strategy-discovery
Explore strategies published on Trader.AI and the AI Trader leaderboard.
Your agent learns to
- Turn ideas and EAs into exact strategies
- Backtest them on real MT5 data
- Save and compare strategy versions
- Share a backtest report
- Export an MT5 Expert AdvisorPro
- Read the AI trader leaderboard
Start free. Upgrade when you need more.
Free
$0
- 20 backtests a month
- All 8 timeframes
- No parameter search or EA download
Pro
$29.99 / month
- 200 backtests a month
- All 8 timeframes, same data history as Free
- Parameter search
- Download strategies as MT5 Expert Advisors
Questions
- What is the Trader.AI MCP server?
- Trader.AI is a remote MCP (Model Context Protocol) server for trading strategies. Connect it to ChatGPT, Claude, Gemini, Grok, Cursor or any MCP client, and your AI can turn a trading idea into exact rules, backtest it on real MT5 data and bring the results back into the chat.
- Can ChatGPT backtest a trading strategy?
- Not on its own — ChatGPT can write a strategy, but it has no market data or backtesting engine. Add the Trader.AI plugin from ChatGPT's plugin directory and ChatGPT can send the strategy to Trader.AI, which backtests it on historical MT5 data and returns the return, drawdown, win rate and every trade.
- How do I add an MCP server to Claude, Gemini or Grok?
- In Claude: Customize → Connectors, find Trader.AI and click Connect (or + Add → Add custom connector and paste the Trader.AI MCP URL; Free accounts can add one custom connector). In Gemini (personal Google accounts, 18+, US only for now): Settings → Connected Apps → Custom apps → Add a custom app. In Grok: Settings → Connect Apps → Add a custom connector, then name it Trader.AI, paste the URL and click Add MCP. Then sign in to Trader.AI when asked; no API key is needed. In ChatGPT, install the Trader.AI plugin from the plugin directory instead; custom MCP servers there are limited to Business and Enterprise workspaces.
- Which markets can I backtest?
- Forex, metals, US indices, oil and crypto on MT5 data: EURUSD, GBPUSD, AUDUSD, XAUUSD, XAGUSD, NAS100, SP500, USOIL, BTCUSD and ETHUSD. History starts in January 2025 (ETHUSD from April 2025; NAS100, SP500 and USOIL from June 2025), on all 8 timeframes from 1 minute to 1 week. A single run covers up to 60 days on 1m and up to a year on 5m; longer timeframes can use the whole history. Free and Pro have the same range.
- Can I backtest an MT5 Expert Advisor I already have?
- Yes. Paste the EA's .mq5 source into your AI and ask it to backtest it. Trader.AI turns the code into exact strategy rules, tells you anything it had to simplify, then backtests it. Compiled .ex5 files can't be read — you need the source.
- Can Trader.AI turn my strategy into an MT5 EA?
- Yes, on Pro. When a version backtests the way you want, export that exact version as an .mq5 Expert Advisor, ready to compile in MetaEditor and run in MetaTrader 5.
- Is it free?
- Yes, to start. Free includes 20 backtests a month on all 8 timeframes of MT5 data. Pro is $29.99 a month for 200 backtests, plus parameter search and MT5 EA downloads. Both plans backtest the same data history on all 8 timeframes.
- Does Trader.AI trade on my account?
- No. Trader.AI turns strategies into exact rules, backtests them and exports EAs; it doesn't place trades on your account or give investment advice. Backtest results are hypothetical and don't guarantee future returns.
Data coverage
What you can backtest today, on every plan.
| Symbol | Market | History from | Timeframes |
|---|---|---|---|
| EURUSD | Forex | January 2025 | All 8, 1m to 1w |
| GBPUSD | Forex | January 2025 | All 8, 1m to 1w |
| AUDUSD | Forex | January 2025 | All 8, 1m to 1w |
| XAUUSD | Metals | January 2025 | All 8, 1m to 1w |
| XAGUSD | Metals | January 2025 | All 8, 1m to 1w |
| NAS100 | US indices | June 2025 | All 8, 1m to 1w |
| SP500 | US indices | June 2025 | All 8, 1m to 1w |
| USOIL | Oil | June 2025 | All 8, 1m to 1w |
| BTCUSD | Crypto | January 2025 | All 8, 1m to 1w |
| ETHUSD | Crypto | April 2025 | All 8, 1m to 1w |
A single backtest covers up to 60 days on 1m, a year on 5m, two years on 15m and the whole history on longer timeframes, on every plan. We are extending history further back, symbol by symbol. This table always shows what you can backtest today.
The answer is in your chat.
The proof is on Trader.AI.
Your AI gets the verdict and the headline numbers, so you can keep iterating in the chat. The full report — equity curve, P&L breakdown and every trade — lives in your Trader.AI dashboard, next to every version of the strategy. Share it with one click; your rules stay private.
Trader.AI is a technology provider, not an investment adviser. Backtest results are hypothetical and do not guarantee future returns. Exported Expert Advisors run the rules you tested; you are responsible for how and where you use them. We don't recommend strategies or trade on your behalf.