MetaTrader 5 MCP Server
MetaTrader 5 MCP server enabling AI agents to interact with MetaTrader 5 — the industry-standard trading platform — accessing real-time and historical market data, querying account positions, analyzing technical indicators, and integrating MT5's comprehensive trading environment into agent-driven financial analysis workflows.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
Local MT5 access. No credentials for MCP. High financial risk for order placement. Demo test first.
⚡ Reliability
Best When
A forex or CFD trader uses MetaTrader 5 and wants AI agents to analyze market data, monitor positions, and assist with trading decisions — connecting AI intelligence to MT5's market environment.
Avoid When
You don't use MT5 or trade forex/CFDs. For crypto, use crypto-specific MCPs.
Use Cases
- • Accessing real-time forex and CFD price data from market analysis agents
- • Querying account positions and portfolio status from portfolio management agents
- • Retrieving historical OHLCV data for backtesting from trading strategy agents
- • Monitoring open trades and profit/loss from risk management agents
- • Analyzing technical indicators via MT5's built-in functions from analysis agents
- • Automating trade entry via Expert Advisor integration from trading agents
Not For
- • Teams without MetaTrader 5 account and broker connection
- • Crypto trading on non-MT5 platforms
- • Teams needing stock market data (MT5 focuses on forex/CFDs)
Interface
Authentication
No MCP-level authentication — connects to local MetaTrader 5 terminal via Python MT5 library. MT5 must be running and logged in with broker account.
Pricing
MT5 platform is free. Demo accounts available. Community MCP is free. Live trading requires broker account.
Agent Metadata
Known Gotchas
- ⚠ MetaTrader 5 must be running and connected to broker — local terminal required
- ⚠ Python MetaTrader5 library must be installed (Windows-only)
- ⚠ Live trading via AI agents carries significant financial risk — test with demo account
- ⚠ Broker's data feed quality affects data accuracy
- ⚠ Community MCP from individual contributor — experimental quality
- ⚠ MT5 Python API is Windows-only — not available on macOS/Linux
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for MetaTrader 5 MCP Server.
Scores are editorial opinions as of 2026-03-06.