Your LLM just got a trading terminal and a liability waiver
It bridges LLMs and MetaTrader 5, turning natural-language commands into live trades, account queries, and real-time tick streams.

What it does
MetaTrader MCP Server is a Python bridge that exposes MetaTrader 5 operations as tools for AI assistants via the Model Context Protocol. It lets an LLM read your account balance, open or close positions, and pull historical candles by interpreting plain English requests. The project also exposes a WebSocket quote server for streaming live tick data and a REST API for broader integration.
The interesting bit
Rather than forcing the model to guess how trading works, the project ships with a dedicated Claude skill that encodes domain knowledge of all 32 tools, MT5 order types, and formatting rules—essentially giving the assistant a crash course in terminal syntax. That turns a generic chatbot into a specialized trading interface without the user needing to manually prompt-engineer around lot sizes and stop-loss semantics.
Key highlights
- Supports multiple AI frontends: Claude Desktop, Claude Code, and ChatGPT via Open WebUI.
- Publishes real-time bid/ask/spread ticks over WebSocket for dashboards and bots.
- Credentials stay local; the server connects directly to your on-machine MetaTrader 5 terminal.
- Offers three transport modes: local stdio, remote SSE, and HTTP REST.
- Includes a pre-built Claude skill in
claude-skill/for structured trade execution and terminal-style output formatting.
Caveats
- The SSE remote mode carries a security warning: the MCP protocol has no built-in authentication, so exposing it requires a firewall, reverse proxy, or SSH tunnel.
- The README carries an explicit disclaimer that the developers accept no liability for trading losses; this is literal financial risk, not a theoretical concern.
Verdict
Worth a look if you already automate strategies in MetaTrader 5 and want to experiment with LLM-driven execution or rapid data retrieval. Skip it if you are not prepared to have an autonomous agent place live orders with your capital.
Frequently asked
- What is ariadng/metatrader-mcp-server?
- It bridges LLMs and MetaTrader 5, turning natural-language commands into live trades, account queries, and real-time tick streams.
- Is metatrader-mcp-server open source?
- Yes — ariadng/metatrader-mcp-server is open source, released under the MIT license.
- What language is metatrader-mcp-server written in?
- ariadng/metatrader-mcp-server is primarily written in Python.
- How popular is metatrader-mcp-server?
- ariadng/metatrader-mcp-server has 655 stars on GitHub.
- Where can I find metatrader-mcp-server?
- ariadng/metatrader-mcp-server is on GitHub at https://github.com/ariadng/metatrader-mcp-server.