metatrader-mcp-server
MCP bridge from AI assistants to MetaTrader 5 for quotes, orders and account data.
Install
See the repository for setupWhat it does
This server connects AI assistants to the MetaTrader 5 desktop trading platform so that trading and market-data requests can be issued in natural language. It exposes account information, symbol and historical price data, order placement and modification, and position management as MCP tools managed by the assistant.
It is aimed at traders, developers and analysts who already run MetaTrader 5 and have a demo or live account. Integration happens through several transports: local STDIO for clients such as Claude Desktop, an HTTP API for Open WebUI, a remote SSE MCP endpoint that can run on a Windows VPS, and a separate WebSocket quote server that streams tick data with configurable symbols and poll interval.
Requirements and limits are notable. It needs Python 3.10 or later and an installed MetaTrader 5 terminal with algorithmic trading enabled, so it is Windows-bound. Credentials are passed as command-line arguments and remain local. The SSE transport has no built-in authentication, so the documentation recommends firewall rules, a reverse proxy or an SSH tunnel. Trading carries financial risk and the authors disclaim liability.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 861
- Last push
- Mar 28, 2026
- License
- MIT
- Archived
- No
FAQ
- What license does metatrader-mcp-server use?
- MIT
- Does metatrader-mcp-server run locally or remotely?
- It runs locally.
- Is metatrader-mcp-server an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/metatrader-mcp-server"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.