AI assistants

MetaTrader 5's AI Assistant vs a Hosted MCP Connector: What Each Can Do

MetaTrader 5 now has a built-in AI Assistant and its own MCP server. What it can do, where it runs, and when a hosted MCP connector fits better.

5 min read
On this page
  1. What MetaTrader 5's AI Assistant is
  2. What it can do
  3. Where it runs — and what that means
  4. Which AI model it uses
  5. A hosted MCP connector, for comparison
  6. Side by side
  7. Which to use
  8. Keep an AI away from money you can't afford to lose
  9. Sources

Since July 2026, MetaTrader 5 has its own AI Assistant and its own MCP server. That changes the question many traders ask — "how do I connect Claude or ChatGPT to MT5?" — so this post sets out what MetaQuotes built, where it runs, and where a hosted MCP connector such as fxapis's still fits. Every MetaTrader fact below comes from MetaQuotes' release notes and help pages, checked on 12 November 2026; the features change with each build, so check the release notes for anything newer.

What MetaTrader 5's AI Assistant is

The AI Assistant is a chat built into the MetaTrader 5 desktop terminal and MetaEditor. Behind it, the terminal runs MCP servers — Model Context Protocol, the open standard AI apps use to call tools — that give the assistant, and other AI agents, access to charts, market data, your account and the Strategy Tester.

BuildDateWhat changed
606023 July 2026First release build with the AI Assistant and native MCP support
609030 July 2026More tools (indicators on charts); the assistant is turned off on Windows 7
614020 August 2026Many more AI providers to choose from
61803 September 2026Strategy Tester tools: reports, optimisation, settings, logs
623024 September 2026Expert Advisor inputs, launching EAs and scripts on charts, the economic calendar

MetaQuotes reported that traders used 1 trillion tokens in the assistant in its first three weeks (MetaQuotes, 11 August 2026).

What it can do

MetaQuotes' capabilities page lists the tools. In short:

  • Read your account, open positions and history, charts, indicators, Market Watch, price history, news and the economic calendar.
  • Trade: market and pending orders, stop loss and take profit changes, closing positions, deleting orders.
  • Test: run backtests and optimisations in the Strategy Tester and read the reports and logs.
  • Code: in MetaEditor it writes, compiles and debugs MQL5.

What it may do is a setting. Trading can be allowed, set to ask you to confirm each trade, or switched off. Web access can be full, read-only or off, and shell commands (PowerShell, Python) have their own switch (configuration help).

Where it runs — and what that means

The AI Assistant lives in the desktop terminal. Its MCP servers listen on your own computer — the terminal's at 127.0.0.1:22346, MetaEditor's at 127.0.0.1:22345 — so:

  • The terminal has to be running, and the computer on, for the assistant or any agent to reach your account.
  • Outside AI apps connect from the same computer. MetaQuotes gives ready-made settings for Claude Code and OpenAI Codex, which connect with a key the terminal generates.
  • Phones and the browser: MetaQuotes' notes describe the assistant in the desktop terminal and MetaEditor. We found nothing about the web terminal or the iOS and Android apps as of 12 November 2026.

Which AI model it uses

By default, the assistant uses MetaQuotes' own MQL5 Lite model, free with an MQL5.community account. You can instead enter your own key for OpenAI, Anthropic, Google Gemini, DeepSeek, a local Ollama model or one of the providers added in build 6140; usage is then billed by that provider (MetaQuotes, 23 July 2026).

A hosted MCP connector, for comparison

A hosted connector runs the MT5 terminal in the cloud instead of on your computer. With fxapis:

  • Claude and ChatGPT connect by signing in — no key to copy, no terminal to keep open. Add https://api.fxapis.com/mcp/insights (read-only, no trading tools at all) or https://api.fxapis.com/mcp in the app's connector settings.
  • Your computer can be off. The terminals run on fxapis's servers, so the assistant answers from the web or your phone.
  • Any MT5 broker, several accounts. One connector covers every account in your workspace.
  • Trading is off unless you allow it at sign-in, and then only on the accounts you pick, with an optional maximum order size and number of orders a day. It needs two-factor, and Revoke ends access on the app's next request.
  • No Strategy Tester and no MQL5 coding. That is what MetaTrader's own assistant is for.

What ChatGPT allows depends on your ChatGPT plan: OpenAI lists full MCP, including actions, for Business, Enterprise and Edu, and read-only fetch for Pro (OpenAI help). Connect Claude and ChatGPT to MetaTrader 5 has the setup steps.

Side by side

AspectMT5 AI Assistant and MCP serverHosted MCP connector (fxapis)
RunsIn the desktop terminal on your computerIn the cloud
Computer must be onYesNo
Works from your phoneNot documentedYes — for example ChatGPT on Android
AI appsIts own chat; Claude Code and Codex on the same computerClaude (web, desktop, Claude Code) and ChatGPT
AI modelMQL5 Lite (free) or your own provider keyThe model in your Claude or ChatGPT plan
Trading permissionAllow, confirm each trade, or offOff unless allowed; per account, with size and daily caps
Strategy Tester, MQL5 codeYesNo
AccountsThe one logged in to that terminalEvery account in the workspace, any broker
CostFree default model; your provider bills your own keyAn fxapis plan (pricing)

Which to use

  • You write or test Expert Advisors: MetaTrader's assistant. Coding, compiling and backtesting in MetaEditor and the Strategy Tester is what it does best, and the default model is free.
  • You want Claude Code on your trading PC to see your terminal: MetaTrader's local MCP server, with the settings MetaQuotes provides.
  • You want to ask about your accounts from your phone, or with your computer off: a hosted connector. Can you trade MT5 with your computer off? explains the trade-off.
  • You run several accounts, or several brokers: a hosted connector, which sees them all through one sign-in.

They don't exclude each other: you can build and test in MetaTrader with its assistant, and check positions and risk from your phone through a hosted connector.

Keep an AI away from money you can't afford to lose

Whichever you use: start read-only, allow trading on a demo account first, and keep trade confirmation on. An AI assistant can misread a request or a chart; MetaQuotes itself says its answers are for information only and are not investment advice.

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Nothing here is investment advice.

Sources

Checked 12 November 2026.

— Software architect and AI engineer with more than 15 years of building and scaling software systems. Designs and builds production-grade software and AI systems, and writes about how it's done.

elwizard.netGitHubInstagram

FAQ

Questions people also ask

Does MetaTrader 5 have a built-in AI assistant?

Yes. Since build 6060 (23 July 2026) the MT5 desktop terminal and MetaEditor include an AI Assistant, backed by MCP servers that give it access to charts, market data, your account and the Strategy Tester.

Can the MetaTrader 5 AI Assistant place trades?

Yes, if you allow it. Its trading setting can execute trades, ask you to confirm each one, or block trading. Its tools cover market and pending orders, stop changes, closing positions and deleting orders.

Can I use MetaTrader 5's MCP server from ChatGPT or Claude on my phone?

Not as MetaQuotes documents it. The terminal's MCP server listens on 127.0.0.1 on your own computer, and the outside clients MetaQuotes gives settings for are Claude Code and Codex on that computer. A hosted MCP connector is what works from a phone.

Is the MT5 AI Assistant free?

Its default model, MQL5 Lite, is free with an MQL5.community account. If you enter your own key for OpenAI, Anthropic, Gemini or another provider, that provider bills you for usage.

Does the MT5 AI Assistant need my computer to be on?

Yes. It runs inside the desktop terminal, and its MCP servers are on your computer, so the terminal has to be running for the assistant or an outside agent to reach your account.

All in this topic
> Connect. Execute. Scale.

Trade MT5 from your own code.

Connect accounts by login, password and server, and place orders over HTTPS. We run MetaTrader 5; you install nothing.