MCP.so
Sign In

MetaTrader MCP Server

@MCP-Mirror

Basic information

Category

Other

License

MIT license

Transports

stdio

Author

MCP-Mirror

About MetaTrader MCP Server

Mirror of

MetaTrader MCP Server 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

MetaTrader MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1

What are the prerequisites?

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

2

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.

3

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.

4

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.

5

What Python version is required?

Python version 3.10 or higher.

Comments

More Other MCP servers