Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. MT5 Quant
MT5 Quant logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 9:30:07 PM

MT5 Quant

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository32 GitHub StarsTotal stargazers on GitHub for the source repository (32 stars).Visit Website

MCP server for MT5 strategy development. Compile, backtest, analyze MQL5 EAs on macOS/Linux.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mt5-quant": {
      "command": "npx",
      "args": [
        "-y",
        "mt5-quant"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

MT5-Quant

OpenSSF Scorecard CII Best Practices Rust CI crates.io License: MIT CodeQL

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.

Code
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)

bash
cargo install mt5-quant --locked

Option B β€” Pre-built binaries (no toolchain)

bash
# 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

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

Claude Desktop β€” ~/Library/Application Support/Claude/claude_desktop_config.json

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

Cursor β€” .cursor/mcp.json (same JSON shape as Claude Desktop)

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

opencode β€” .opencode/opencode.jsonc

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

Codex CLI β€” ~/.codex/config.toml

toml
[mcp_servers.mt5-quant]
command = "mt5-quant"
args = ["--stdio"]

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

bash
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

Code
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)

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’
  • SpriteCook logoSpriteCook

    Generate game sprites and assets from text prompts for game development.

    πŸ’» Developer Tools0 views
    Compare vs SpriteCook β†’
  • Archstone logoArchstone

    Compile your own business capabilities from declarative YAML and serve them as MCP tools.

    πŸ’» Developer Tools0 views
    Compare vs Archstone β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about MT5 Quant

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mt5-quant": { "command": "npx", "args": ["-y", "MT5-Quant"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMT5 Quant AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mt5-quant?style=directory)](https://allmcps.com/mcp/mt5-quant)
HTML Embed
<a href="https://allmcps.com/mcp/mt5-quant"><img src="https://allmcps.com/api/badge/mt5-quant?style=directory" alt="MT5 Quant on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars32
GitHub Star CountTotal stargazers on GitHub representing community popularity (32 stars).
33Quality signal: Emerging Β· 33/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools11/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to MT5 Quant β†’Install in Claude DesktopInstall in CursorInstall in VS Code