How to connect Grok to MetaTrader 5
With TraderWAI, Grok can read live charts, check your MetaTrader 5 account and prepare orders with stop loss and take profit that you approve. It takes about 2 minutes and you don't need to install anything on your computer.
MetaTrader 5: The most used platform in forex and CFDs, connected through MetaApi.
Complete step-by-step guide: How to connect Grok to MetaTrader 5 (MT5) →
Step 1: add TraderWAI to Grok
Works on grok.com and in the Grok app with Grok's custom connectors. If «Custom» doesn't appear in Connectors, your Grok plan doesn't include it: use Claude for free instead (one click).
Server URL to paste in Grok:
https://mcp.traderwai.comExact click path: grok.com/connectors → New Connector → Custom → Name: TraderWAI + Server URL → Save → Sign in to TraderWAI and allow access
- Open Grok and go to Connectors (grok.com/connectors, or Settings → Connectors in the app).
- Click «New Connector» and choose «Custom». If it doesn't appear, your Grok plan doesn't include it: use Claude for free (one click).
- Name: TraderWAI. Server URL: https://mcp.traderwai.com
- Save and sign in with Google to authorize access (if you don't have a TraderWAI account yet, it is created at this step).
- In a new chat, ask Grok to use TraderWAI, e.g. «Show me the EUR/USD H1 chart».
If it doesn't work
- No «New Connector» or «Custom» option: custom connectors depend on your Grok plan and region. Your TraderWAI account works the same with Claude or ChatGPT, including their free plans.
- Grok doesn't use the tools: start a new chat, check that TraderWAI is enabled for the chat and name it in your request («Using TraderWAI, show me…»).
- Sign-in fails or loops: allow pop-ups for grok.com, sign in with the same Google or Microsoft account you use on TraderWAI, then remove the connector and add it again.
- The URL must be exactly https://mcp.traderwai.com (https, no extra path or spaces).
Step 2: connect your MetaTrader 5 account
In TraderWAI go to Settings → Broker accounts → Add account and choose MetaTrader 5.
Enter your MetaTrader 5 login (account number), the master password and the server name exactly as it appears in MetaTrader. The account is set up in 1–3 minutes.
MetaTrader 5 is included in the Trader plan ($29/month). Charts and analysis are free on every plan.
Step 3: ask Grok
Open a new chat and try, for example:
- «Show me the gold H1 chart and tell me where the key levels are.»
- «What positions do I have open and how much am I risking?»
- «Prepare a buy limit on EUR/USD at yesterday's low with a 20-pip stop and a 2R target. I'll approve it.»
How Grok works with MetaTrader 5
MetaTrader 5 has no built-in way to talk to an AI, so TraderWAI prepares your MT5 account in the cloud and exposes it to Grok as an MCP server. Grok calls TraderWAI's tools (chart, quote, positions, order) and TraderWAI talks to your broker's MT5 server: no Expert Advisor to install, nothing to run on your computer, and Grok never sees your password.
- Have your MT5 login (account number), master password and server name ready, with the server exactly as MetaTrader shows it (for example ICMarketsSC-Demo).
- In TraderWAI go to Settings → Broker accounts → Add account → MetaTrader. The first connection takes 1–3 minutes while the terminal is prepared in the cloud; after that it is instant.
- MetaTrader is a premium broker included in the Trader plan ($29/month; any of your 5 accounts can be MetaTrader, 10 on Max). Charts and analysis stay free on every plan.
- Ask Grok for your balance and open positions to check the connection, then for a chart or an order.
Example prompt for Grok
«Using TraderWAI, check gold on H1 in my MT5 account, tell me the trend and prepare a buy stop above the last high with a stop loss and a 2R target. I'll approve it.»
Every order carries a stop loss by default, is checked against your risk limits and waits for your approval unless you allow auto-execution on that account (with the symbols and limits you choose).
What Grok can do with your MetaTrader 5 account
- Read live charts in any timeframe, with the indicators you ask for.
- Check your balance, open positions and pending orders.
- Backtest a strategy idea on historical data before risking anything.
- Prepare market, limit and stop orders with stop loss and take profit that you approve.
- Leave conditional orders that TraderWAI watches every minute.
- Respect your risk limits: maximum daily loss and drawdown, risk per trade, size and number of trades.
Questions
Which MT5 password do I enter?
The master (trading) password. The investor password is read-only and cannot place orders.
Do I need an EA or to keep MetaTrader 5 open?
No. TraderWAI connects to your broker's MT5 server from the cloud: you don't install an Expert Advisor and your MetaTrader terminal can stay closed.
Does it work with a prop firm's MT5 account?
Yes, if your firm uses MT5 and its rules allow this kind of trading. Connect the login and server the firm gives you and set TraderWAI's risk limits (daily loss, drawdown, risk per trade) to match its rules.
Where do I add TraderWAI in Grok?
On grok.com/connectors (or Settings → Connectors in the app) click «New Connector» → «Custom», name it TraderWAI with the server URL https://mcp.traderwai.com, save and sign in with Google.
I don't see Connectors in Grok. What can I do?
Grok's custom connectors may not be available yet on your plan or in your region. Your MetaTrader 5 account connected in TraderWAI works the same with Claude or ChatGPT, including their free plans.
Is it free to connect Grok to MetaTrader 5?
Charts and analysis are free. Trading on MetaTrader 5 requires the Trader plan ($29/month).
Does Grok place orders on its own?
Only if you want it to. By default every order needs your approval. You can also allow automatic execution for specific symbols, always within the risk limits you set.
Is my MetaTrader 5 account safe?
Your credentials are encrypted (AES-256) and the key is kept on a separate server. TraderWAI only acts on your account as you instruct and never requests withdrawal permissions.
Does it work with demo accounts?
Yes, with demo and live MetaTrader 5 accounts. We recommend starting with a demo.
Related guides
- How to connect Grok to MetaTrader 5 (MT5)
- Which brokers can you connect to ChatGPT, Claude or Grok? (2026)
- How to trade Nvidia, Apple and Tesla with ChatGPT or Claude
- Grok for prop firm traders: connect your challenge account safely
- How to connect Grok to MetaTrader 4
- How to connect Grok to cTrader
- How to connect Grok to TradeLocker
Other AIs with MetaTrader 5
Grok with other platforms
- How to connect Grok to MetaTrader 4
- How to connect Grok to TradeLocker
- How to connect Grok to cTrader
- How to connect Grok to Match-Trader
- How to connect Grok to DXtrade
- How to connect Grok to Capital.com
- How to connect Grok to eToro
- How to connect Grok to tastytrade
- How to connect Grok to Binance
- How to connect Grok to Bybit
- How to connect Grok to Toobit
- How to connect Grok to OKX
- How to connect Grok to Kraken
Trading involves risk. TraderWAI is a technology tool: it does not provide investment advice and AI analysis is not a recommendation; you decide every order.