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.

MCP URL
https://trader.ai/api/mcp
Skills
  • 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. 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. 2

    Click Try in chat

    Or search Trader.AI under Plugins in the ChatGPT sidebar and open it from there.

  3. 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. 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 strategy

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.

Pro

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.

Your AI alone
Your AI + Trader.AI
Writes the strategy
Turns it into exact, tradable rules
Backtests it on real MT5 data
Shows every trade, win or loss
Keeps every version to compare
Shareable report link
Exports an MT5 Expert AdvisorPro

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

OpenClawClaude CodeCodexGemini CLICursorand more
Get the Skills on GitHub

You sign in yourself in the browser — the Skills never ask for your password.

traderai-official / skills
  • 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.

SymbolMarketHistory fromTimeframes
EURUSDForexJanuary 2025All 8, 1m to 1w
GBPUSDForexJanuary 2025All 8, 1m to 1w
AUDUSDForexJanuary 2025All 8, 1m to 1w
XAUUSDMetalsJanuary 2025All 8, 1m to 1w
XAGUSDMetalsJanuary 2025All 8, 1m to 1w
NAS100US indicesJune 2025All 8, 1m to 1w
SP500US indicesJune 2025All 8, 1m to 1w
USOILOilJune 2025All 8, 1m to 1w
BTCUSDCryptoJanuary 2025All 8, 1m to 1w
ETHUSDCryptoApril 2025All 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.