Trader.AI README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Trader.AI listing page.

Trader.AI

Trader.AI skills

Backtest your trading ideas.
Turn trading ideas into exact strategies and backtest them on real MT5 data, right in the chat.

Release License: MIT MCP server Agent Skills AllMCPs Verified

Works with ChatGPT · Claude · Claude Code · Gemini · Gemini CLI · Grok · Cursor · OpenClaw


Trader.AI turns trading ideas into strategies you can trade. Describe an idea, paste a strategy, or share the source of an MT5 Expert Advisor, and Trader.AI makes the rules exact (entries, exits, stops and position sizing), then backtests them on historical MT5 data. Results come back in the chat: return, max drawdown, win rate, Sharpe and every trade, plus a report link. When a version backtests the way you want, export it as an MT5 Expert Advisor. Backtest results are hypothetical and don't guarantee future returns. Trader.AI doesn't place trades on your account or give investment advice.

This repository has two parts:

  • The Trader.AI MCP server (https://trader.ai/api/mcp) runs every action: building strategies, running backtests, listing the AI Trader leaderboard and so on.
  • Agent skills (skills/) tell your assistant when to use those tools, in what order, and how to present the results. They follow the open Agent Skills format.

Contents

Skills

SkillUse it to
trader-ai-strategy-builderGet a strategy recommended, written, edited or explained as a flowchart from plain-language entry, exit and risk rules
trader-ai-backtest-researchBacktest a strategy, judge whether the result is reliable, find out why it loses, compare versions, tune parameters, export to MetaTrader 5
trader-ai-strategy-discoveryBrowse the AI Trader leaderboard and published strategies, look up a creator, copy a strategy, publish or unpublish your own

Example prompts

  • "Write a trend strategy for gold on the 1h chart and backtest it with Trader.AI."
  • "Suggest a Trader.AI starter strategy for EURUSD and backtest it."
  • "Backtest my strategy on EURUSD for the last year. Can I trust the result?"
  • "Why does this strategy lose money in sideways markets, and what would you change?"
  • "What is the #1 Trader.AI AI trader trading, and how has it done live?"

Install

Step-by-step guides with screenshots for every client: https://trader.ai/mcp. You need a Trader.AI account; sign-in happens in your browser, and you never paste an API key or password into the assistant.

Let your agent install it. In Claude Code, Codex, Cursor or another agent that can run commands, say:

Code
Install Trader.AI by following https://raw.githubusercontent.com/traderai-official/skills/main/install.md

Or pick your client below.

Claude Code (plugin: skills + MCP server)
Code
/plugin marketplace add traderai-official/skills
/plugin install trader-ai@trader-ai

Then run /mcp and sign in to Trader.AI.

Claude (claude.ai, Desktop and mobile)
  1. Open Customize → Connectors, find Trader.AI and click Connect.
  2. Not in the list? Click + Add → Add custom connector, name it Trader.AI, paste https://trader.ai/api/mcp, click Add, then Connect.
  3. Sign in to Trader.AI.

Free accounts can add one custom connector. On Team and Enterprise, an Owner adds it under Organization settings → Connectors, then each member clicks Connect.

ChatGPT
  1. Open Trader.AI in ChatGPT, or search Trader.AI under Plugins in the ChatGPT sidebar.
  2. Click Try in chat and sign in to Trader.AI.

Works on ChatGPT Free, Plus and Pro. The ChatGPT version currently includes the MCP tools only, not these skills.

Gemini (gemini.google.com)
  1. Open Settings → Connected Apps in Gemini. If you don't see it, open Personal Intelligence first.
  2. Under Custom apps, click Add a custom app, paste https://trader.ai/api/mcp and click Next.
  3. Sign in to Trader.AI.

Google currently offers custom apps to personal Google accounts (not Workspace), for users 18+ in the US, in English, with Keep Activity turned on.

Gemini CLI (extension: skills + MCP server)
Code
gemini extensions install https://github.com/traderai-official/skills

Then run /mcp auth trader-ai to sign in. Gemini CLI is no longer available to every Google account; if yours cannot use it, use Gemini on the web above.

Grok
  1. Open grok.com/connectors and click New Connector → Custom.
  2. Name it Trader.AI and paste https://trader.ai/api/mcp.
  3. Sign in to Trader.AI.
Cursor

Click Add to Cursor on https://trader.ai/mcp, or add this to mcp.json:

config.json
{ "mcpServers": { "trader-ai": { "url": "https://trader.ai/api/mcp" } } }

Then sign in to Trader.AI when Cursor asks.

OpenClaw
Code
openclaw mcp add trader-ai --url https://trader.ai/api/mcp --transport streamable-http --auth oauth
openclaw mcp login trader-ai

Then restart your agent so it picks up the new server.

Skills only (any client that reads Agent Skills)
Terminal
npx skills add traderai-official/skills

This installs the skills only. They do nothing until the MCP server is connected, so add it in your client:

ClientAdd the MCP server
Claude Codeclaude mcp add --transport http trader-ai https://trader.ai/api/mcp
Gemini CLI (settings.json){ "mcpServers": { "trader-ai": { "httpUrl": "https://trader.ai/api/mcp" } } }
Cursor (mcp.json){ "mcpServers": { "trader-ai": { "url": "https://trader.ai/api/mcp" } } }
Other clientsAdd a Streamable HTTP MCP server with the URL https://trader.ai/api/mcp

Skills installed this way don't update on their own; run npx skills update to get new versions.

Network access and credentials

  • Endpoint: the plugin connects only to trader.ai: the MCP server at https://trader.ai/api/mcp and sign-in at https://trader.ai/connect/. The skills contain no scripts and make no other network calls.
  • Sign-in: OAuth through your Trader.AI account, handled by https://trader.ai/connect/. You never paste an API key or password into the assistant.
  • What is sent: the requests you make, such as strategy rules, a short summary of what you asked for when a strategy is saved, and backtest settings. They are stored in your Trader.AI account as described in the privacy policy.
  • Account and plan: you need a Trader.AI account. Backtests and other actions count toward your plan's limits, and some features, such as MetaTrader 5 export, may require a paid plan.

Scope

The plugin builds, tests and researches strategies. It does not place orders, quote live prices or give personal investment advice. Backtest results are hypothetical and don't guarantee future returns. Trading involves risk; read the Risk Disclosure before trading.

Privacy and support

License

MIT