プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MT5-Quant

作者:masdevidバージョン 1.34.3i★ –iパソコンで動く
レジストリ名io.github.masdevid/mt5-quant

インストール

概要

作者による説明(英語の原文)

MT5 strategy development with 87 tools. Backtest, optimize, debug MQL5 EAs on macOS/Linux.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

作者の .mcpb ファイルをダウンロード

リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。

ターミナルでこれを実行します

動かす前に、空欄の値を入力してください。

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • MT5_MCP_HOME env
    Path to MT5-Quant config directory (default: ~/.config/mt5-quant)

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント masdevid で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32380件のうち0%よりスターが多い
  • このカテゴリのほかの32380件のうち30%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32380件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MT5-Quantは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.34.3)がレジストリに届いたのは2 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにMCPBも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Dechonet MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

Dechonet MCP

作者:node-man

30 security tools for AI agents: phishing links, exposure maps, DNS, SSL, PQC, history, pivots.

パソコンでもクラウドでも今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

MT5-Quant

MCP server for MT5 strategy development on macOS/Linux. 89 tools to compile, backtest, analyze, optimize, debug crashes, and manage MQL5 Expert Advisors — no Windows required.

You: "Backtest MyEA Jan-Mar, what caused the February drawdown?"

Claude: [compile → clean → backtest → analyze 1,847 deals] → Feb 14: BUY grid at L6, locking lot 1.75× base → Cutloss fired 17 points later → Recommendation: cap locking multiplier to ≤1.2×

Why MT5-Quant

Focus: Backtest organization, reporting, and analytics — capabilities MT5 itself doesn't provide.

MT5-QuantOthers
PlatformmacOS/Linux nativeWindows only
Backtest pipeline✅ Full (compile → run → analyze)✅ Via MT5 Python package
Deal-level analytics✅ 19 dimensions, DB-backed❌
Report organization✅ SQLite (reports + deals) + search + history❌
MQL5 compilation✅ Headless (MetaEditor via Wine, no GUI)⚠️ Via GUI or terminal
Optimization✅ Background + results parsing + .set generation⚠️ Terminal only, no parsing
Crash debugging✅ Wine/MT5 diagnostics❌

Others typically run on Windows using the MetaTrader5 Python package, providing full terminal operations. MT5-Quant fills the gap: organizing backtest reports, extracting deal-level insights, and managing optimization workflows — none of which MT5 or its Python API expose natively.

Quick Start

Install MT5-Quant
Option A — Cargo (recommended, needs Rust toolchain)
cargo install mt5-quant --locked
Option B — Pre-built binaries (no toolchain)
# macOS Apple Silicon

curl -LO https://github.com/masdevid/mt5-quant/releases/latest/download/mcp-mt5-quant-macos-arm64.tar.gz tar xzf mcp-mt5-quant-macos-arm64.tar.gz # → mcp-mt5-quant-macos/mt5-quant

Linux x64

curl -LO https://github.com/masdevid/mt5-quant/releases/latest/download/mcp-mt5-quant-linux-x64.tar.gz tar xzf mcp-mt5-quant-linux-x64.tar.gz # → mcp-mt5-quant-linux/mt5-quant

Move the binary somewhere on your PATH (e.g. /usr/local/bin or ~/.local/bin) so clients can launch it as mt5-quant.

Option C — Register with your LLM client (copy-paste)

Claude Code

claude mcp add mt5-quant -- mt5-quant --stdio

Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "mt5-quant": { "command": "mt5-quant", "args": ["--stdio"] } } }

Cursor — .cursor/mcp.json (same JSON shape as Claude Desktop)

{ "mcpServers": { "mt5-quant": { "command": "mt5-quant", "args": ["--stdio"] } } }

opencode — .opencode/opencode.jsonc

{ "mcp": { "mt5-quant": { "type": "local", "command": ["mt5-quant", "--stdio"], "enabled": true } } }

Codex CLI — ~/.codex/config.toml

[mcp_servers.mt5-quant]

command = "mt5-quant" args = ["--stdio"]

Then finish setup (auto-detects Wine + MT5 paths):

bash scripts/setup.sh

Tip: you can also just ask your LLM coding agent to do all of the above:

*"Please install mt5-quant from https://github.com/masdevid/mt5-quant — download or build it, run its scripts/setup.sh to auto-detect Wine and MT5 paths, and register it as an MCP server."*

First Backtest
Run a backtest on MyEA from 2025.01.01 to 2025.03.31

The AI runs the full pipeline: compile → clean cache → backtest → extract → analyze.

MCP Tools (89)

Core workflow
ToolDescription
run_backtestFull pipeline: compile → clean → backtest → extract → analyze
run_backtest_quickQuick backtest using pre-compiled EA (skip compile)
run_backtest_onlyBacktest only - just extract raw trades, no analysis
launch_backtestFire-and-forget: launch MT5 backtest, poll for completion
get_backtest_statusPoll running backtest status (MT5 running, report found, elapsed time)
run_optimizationGenetic optimization (background, returns immediately)
get_optimization_resultsParse optimization results after MT5 finishes
list_jobsList all optimization jobs with status
analyze_reportRead analysis.json from any report directory
compare_baselineCompare report vs baseline, return winner/loser verdict
compile_eaCompile MQL5 EA via MetaEditor
list_expertsList all EAs in MQL5/Experts directory
list_indicatorsList all indicators in MQL5/Indicators directory
list_scriptsList all scripts in MQL5/Scripts directory
healthcheckQuick server health check
list_symbolsList all available symbols in MT5 terminal
Granular Analytics (individual analysis)
ToolDescription
analyze_monthly_pnlMonthly P/L breakdown only
analyze_drawdown_eventsDrawdown events and causes only
analyze_top_lossesWorst losing deals only
analyze_loss_sequencesConsecutive loss patterns only
analyze_position_pairsPosition hold time and P/L pairs
analyze_direction_biasBuy vs Sell performance
analyze_streaksWin/loss streak analysis
analyze_concurrent_peakPeak simultaneous positions

Use these for targeted analysis, or analyze_report to run all at once.

Deal-Level Analytics (New)
ToolDescription
list_dealsList individual deals with filters (type, profit range, volume, dates)
search_deals_by_commentFull-text search in deal comments (e.g., "Layer #3")
search_deals_by_magicFilter deals by EA magic number
analyze_profit_distributionProfit histogram: small/medium/large wins and losses
analyze_time_performancePerformance by hour of day and day of week
analyze_hold_time_distributionHold time buckets + correlation with profit
analyze_layer_performanceGrid/martingale layer analysis from comments
analyze_volume_vs_profitVolume correlation + performance by lot size
analyze_costsCommission and swap impact on profitability
analyze_efficiencyProfit per hour/day, annualized return, trade frequency
Monitoring
ToolDescription
verify_setupCheck Wine/MT5 paths, Wine version, and EA/set file counts
get_optimization_statusCheck live state of a background optimization job
list_jobsAll optimization jobs with compact status in one call
Reports & logs
ToolDescription
list_reportsCompact table of all runs with key metrics — no full analysis needed
get_latest_reportGet most recent report with optional equity chart
search_reportsFind reports by EA, symbol, date range, or profit criteria
get_report_by_idGet specific report by ID with equity chart
get_reports_summaryAggregate stats: counts, averages, pass rates
get_best_reportsTop N reports sorted by any metric (profit factor, drawdown, etc.)
search_reports_by_tagsFind reports by tags
search_reports_by_date_rangeQuery by backtest date range
search_reports_by_notesFull-text search in report notes
get_reports_by_set_fileFind all reports using a specific .set file
get_comparable_reportsFind comparable reports (same EA/symbol/timeframe)
tail_logRead last N lines of any log; filter=errors to see only failures
prune_reportsDelete old report directories, keep last N (skips _opt dirs)
promote_to_baselineWrite a history entry or report to baseline.json for compare_baseline
History & baseline
ToolDescription
archive_reportConvert one report dir → compact JSON entry in backtest_history.json, optionally delete source
archive_all_reportsBulk-archive all report dirs then optionally delete them; keeps N newest safe
get_historyQuery history with filters (EA, symbol, verdict, profit, DD) and sort options
annotate_historyAttach verdict / notes / tags to any history entry
Cache management
ToolDescription
cache_statusMT5 tester cache size breakdown by symbol — check before cleaning
clean_cacheDelete tester cache files; supports per-symbol and dry_run
Pre-flight & Validation
ToolDescription
get_active_accountGet current MT5 account session (login, server, available symbols)
check_symbol_data_statusValidate symbol has sufficient history data for date range
check_mt5_statusCheck if MT5 terminal is installed and ready
validate_ea_syntaxPre-compile syntax check without running full compilation
Debugging & Diagnostics (New)
ToolDescription
diagnose_wineCheck Wine installation, version, and prefix health
get_mt5_logsGet MT5 terminal, tester, or MetaEditor logs with filtering
search_mt5_errorsSearch logs for error patterns (crash, exception, access violation)
check_mt5_processCheck if MT5 processes are running, get PID, CPU, memory usage
kill_mt5_processKill stuck MT5 processes (force=true for wineserver)
check_system_resourcesCheck disk space, memory, CPU availability
validate_mt5_configValidate terminal.ini and tester configuration files
get_wine_prefix_infoGet Wine prefix details: Windows version, installed programs, registry
get_backtest_crash_infoInvestigate backtest failures: incomplete markers, missing deals.csv, errors
check_updateCheck if a newer version of MT5-Quant is available
updateUpdate MT5-Quant to latest release
Project Management
ToolDescription
init_projectScaffold new MQL5 project with templates (scalper/swing/grid/basic)
create_set_templateGenerate .set parameter file from EA input variables
export_reportExport backtest report to CSV, JSON, or Markdown
History & Comparison
ToolDescription
get_backtest_historyList all backtests for EA/symbol with summary metrics
compare_backtestsCompare 2+ backtest results side-by-side with analysis
.set file — read / write
ToolDescription
list_set_filesAll .set files in tester profiles dir with sweep stats and combination counts
read_set_fileParse UTF-16LE .set file → structured JSON params
write_set_fileWrite full params dict → UTF-16LE .set with chmod 444
patch_set_fileUpdate specific params in-place, return diff — replaces read→edit→write
clone_set_fileCopy .set to new path with optional overrides in one call
.set file — analysis & generation
ToolDescription
describe_sweepSwept params, value counts, and total optimization combinations
diff_set_filesSide-by-side diff of two .set files — only changed params returned
set_from_optimizationGenerate a clean backtest .set from get_optimization_results params; optionally narrow sweep
Search & Disc

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く