Back to Home
Cloudmeru icon

MetaTrader-5-MCP-Server

Verified Safe

by Cloudmeru

Overview

Provides read-only access to MetaTrader 5 market data, technical analysis, and forecasting capabilities via Model Context Protocol.

Installation

Run Command
python -m mt5_mcp

Security Notes

The `execute_mt5` tool allows arbitrary Python code execution. However, the server implements robust guardrails: a restricted namespace whitelisting only read-only MT5 functions and data science libraries, explicit blocking of dangerous functions (`mt5.initialize()`, `os.system`, `eval`, `exec`, `subprocess`), command length limits, and IP-based rate limiting for HTTP. While not entirely risk-free due to code execution, these mitigations significantly enhance safety within its intended operational scope.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2025-12-03

Tags

MetaTrader 5Financial TradingTechnical AnalysisTime SeriesMCP