Guide

The best MCP servers for MetaTrader 5.

There are three ways to give an AI agent your MT5 account: MetaTrader 5's own built-in server, an open-source server you run yourself, or a hosted service that runs the terminal for you. For live accounts, hosted is easiest: nothing to keep running. Pipwire is hosted, keeps trading off until you allow it, and adds a REST API, WebSocket and a trade copier, from $5 per account a month.

Which one fits.

AI on live MT5 accounts around the clock, with nothing running on your side
Pipwire
Per key: read only, ask before each trade, or trade freely
Pipwire
MCP plus a REST API, WebSocket and a trade copier on the same accounts
Pipwire
One account, your computer is on, you want backtests and charts
MetaTrader 5's built-in MCP
Sign in from claude.ai or ChatGPT with one click
Tickwire, fxapis or FiveSocket (OAuth)
MetaTrader 4 as well as 5
Tickwire or FxSocket
Read-only by design, nothing can trade
FxSocket, or Pipwire with a Read key
Free and open source, you run it yourself on Windows
metatrader-mcp-server

Every option, compared.

Pipwire

Hosted MT5 terminals with an MCP server, REST and WebSocket API and a trade copier. Trading is off per key until you allow it, with order limits per key and a kill switch.

MT4 / MT5
MT5
Trading
Yes, opt-in per key
Sign-in
API key
Price
$5 read, $10 trade / account / month

MetaTrader 5 built-in

The terminal itself serves MCP on your computer since build 6060, with trading, charts, indicators and Strategy Tester tools. The terminal must be running.

MT4 / MT5
MT5
Trading
Yes
Sign-in
Key from the terminal
Price
Free

Tickwire

Hosted MT4 and MT5 terminals with an MCP server (in beta), REST, WebSocket and webhooks. Idempotent orders, an audit log and per-app kill switches.

MT4 / MT5
Both
Trading
Yes
Sign-in
OAuth or API key
Price
From $12 / account / month

FxSocket

Hosted MT4 and MT5 data with a read-only MCP server: no tool can place or change an order. REST, WebSocket and Python and Node SDKs.

MT4 / MT5
Both
Trading
No (read-only)
Sign-in
API key
Price
From €12 / account / month

fxapis

Hosted MT5 with a full MCP server and a separate read-only one. Trading is off by default, scoped by permission, with order-size limits and kill switches.

MT4 / MT5
MT5
Trading
Yes, opt-in
Sign-in
OAuth or API key
Price
Annual plans, 14-day trial

FiveSocket

Hosted MT5 with read and trading MCP endpoints. Trading needs a per-account symbol allowlist and volume cap; an optional prop-firm guard.

MT4 / MT5
MT5
Trading
Yes, opt-in
Sign-in
OAuth
Price
From $9.99 / month (1 account)

metatrader-mcp-server (open source)

The most popular open-source MT5 MCP server. Runs next to your own MT5 terminal on Windows, with Python. Trades without extra confirmation.

MT4 / MT5
MT5
Trading
Yes
Sign-in
Local
Price
Free (MIT licence)

Questions

What is an MT5 MCP server?
A server that lets an AI app (Claude, ChatGPT, Codex, Cursor) read a MetaTrader 5 account and, if allowed, trade it, through the Model Context Protocol. The AI calls tools such as get_positions or place_order instead of you clicking in the terminal.
Do I need to keep MetaTrader 5 running?
With the built-in server or an open-source one, yes: they talk to a terminal on your computer or VPS. Hosted services (Pipwire, Tickwire, FxSocket, fxapis, FiveSocket) run the terminal for you.
Is it safe to let an AI trade my account?
Start read-only. When you allow trading, use a mode that asks you before each order, limit the key to the accounts it needs, and try it on a demo account first. Several services, Pipwire included, keep trading off until you turn it on.
Which one is cheapest?
The built-in server and open-source servers are free if you already run MetaTrader 5 yourself. Hosted services charge per account: Pipwire $5 a month to read and $10 to trade; Tickwire from $12; FxSocket from €12; FiveSocket $9.99 for one account, falling to about $4 each on its 20-account plan; fxapis sells annual plans. Prices as we found them; check each site.

Last checked November 2026, from each product's own pages. Prices and features change: tell us at support@pipwire.io if something here is out of date.

Try it on your own account.

$5 per account a month to read, $10 to trade, billed only for days connected. MCP, REST, WebSocket and the copier included.