MCP Server — Qoyyuum/mcp-metatrader5-server

A Model Context Protocol (MCP) server for MetaTrader 5

Local serverstdioPython

What is the MCP Server?

A Model Context Protocol (MCP) server for MetaTrader 5

The short version

A Model Context Protocol (MCP) server for MetaTrader 5, allowing AI assistants to interact with the MetaTrader 5 platform for trading and market data analysis. Documentation

  • Connect to MetaTrader 5 terminal
  • Access market data (symbols, rates, ticks)
  • Place and manage trades
  • Analyze trading history
  • Integrate with AI assistants through the Model Context Protocol

What it needs from you

  • uv (recommended) or pip - Python 3.11 or higher - MetaTrader 5 terminal installed on Windows - MetaTrader 5 account (demo or real)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • uv (recommended) or pip - Python 3.11 or higher - MetaTrader 5 terminal installed on Windows - MetaTrader 5 account (demo or real)
VariableDescriptionRequired
MT5_MCP_HOSTEndpoint or connection string the server talks to.Optional

Frequently asked questions

A Model Context Protocol (MCP) server for MetaTrader 5 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.