MCP.so
Sign In

MetaTrader MCP Server

@MCP-Mirror

About MetaTrader MCP Server

Mirror of

Basic information

Category

Other

License

MIT license

Runtime

python

Transports

stdio

Publisher

MCP-Mirror

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MetaTrader MCP Server?

A Model Context Protocol (MCP) server built with Python that enables AI LLMs to trade using the MetaTrader platform. It integrates with MetaTrader 5 to execute trades programmatically through AI assistants like Claude and Open WebUI.

How to use MetaTrader MCP Server?

Install via pip install metatrader-mcp-server (requires Python 3.10+ and MetaTrader 5 terminal). Enable algorithmic trading in MT5 via Tools > Options. For Claude Desktop, add a JSON configuration with --login, --password, and --server arguments. Alternatively, run metatrader-http-server with those arguments to use with Open WebUI.

Key features of MetaTrader MCP Server

  • Connects AI LLMs to MetaTrader 5 for trade execution
  • Integrates with Claude Desktop and Open WebUI
  • Provides MCP tools for automated trading operations
  • Supports HTTP server for OpenAI/Open WebUI use
  • Broker-based filling modes (v0.2.5)
  • Published on PyPI for simple installation

Use cases of MetaTrader MCP Server

  • Automate trade execution via natural language commands in Claude Desktop
  • Deploy AI-driven trading strategies using OpenAI models through Open WebUI
  • Build custom trading bots that leverage MCP tools and the MetaTrader 5 terminal
  • Execute trades programmatically without manual MT5 interface interaction

FAQ from MetaTrader MCP Server

What are the prerequisites?

Python 3.10+ and MetaTrader 5 terminal installed. Algorithmic trading must be enabled in MT5 (Tools > Options > Allow algorithmic trading).

How do I configure Claude Desktop?

Add a JSON entry to your Claude Desktop config with command metatrader-mcp-server and arguments --login, --password, --server with your MT5 credentials.

How do I use MetaTrader MCP Server with Open WebUI?

Run metatrader-http-server with your MT5 credentials, host, port (default 8000). Then add http://localhost:8000 as a tool server in Open WebUI settings.

Is there a risk disclaimer?

Yes. Financial trading involves significant risk. The developers disclaim any liability for losses or profits; the package only facilitates MetaTrader 5 trade executions via AI LLMs. By using it you assume all risks.

What Python version is required?

Python version 3.10 or higher.

Comments

More Other MCP servers