MT5-MCP-Quant

io.github.severus-sysPublished by GitHub account severus-sysv1.35.1Updated Oct 24, 2026

Native Windows MCP server for MetaTrader 5 backtesting, Market Watch, calendar data, and analytics.

Overview

AI-generated overview

A native Windows MCP server that drives MetaTrader 5 to compile, backtest, optimize, and analyze MQL5 expert advisors and export market data.

What you can do
It exposes tools for the full Strategy Tester pipeline: compiling MQL5 experts through MetaEditor, running backtests and genetic optimizations, and extracting results. It stores reports and deals in SQLite and offers deal-level analytics such as monthly P/L, drawdown events, loss sequences, layer performance, and cost impact. Additional tools manage Market Watch symbols, export historical tick CSVs, build economic-calendar datasets, read and write .set parameter files, and inspect MT5 logs and processes.
When to use it
Use it when an assistant should work inside MetaTrader 5 on Windows: running and comparing backtests, tuning parameters, diagnosing crashes or failed runs, organizing report history, or preparing tick and calendar datasets for research. It suits MQL5 strategy development rather than live order execution.
Requirements
Windows 10/11 x64 with native MetaTrader 5 installed and opened once under the same user account, plus a logged-in MT5 demo or live account in the same interactive session. The pre-built release needs no Rust or Visual Studio; source builds need Rust stable and the Visual Studio C++ workload. An optional MT5McpQuantBridge MQL5 Service must be compiled and started once for Market Watch, tick export, and calendar tools. Configuration directory is set by MT5_MCP_QUANT_HOME.
Before you install
It runs as a local Windows process started by the MCP client, not by double-clicking the binary. Tools can write, modify, and delete data: write_set_file and patch_set_file change .set files, prune_reports and archive_all_reports delete report directories, clean_cache deletes tester cache files, and update replaces the installed build. Backtests and optimizations consume local CPU and disk and may run for a long time. Close interactive MT5 terminals before tester work; kill_mt5_process refuses…

Installation

In SourceWeft

  1. Open MT5-MCP-Quant in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

This repository has no README.

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.35.1LatestSep 16, 2026

Score

25% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.