A Model Context Protocol (MCP) server for MetaTrader 5
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-metatrader5-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
[](https://deepwiki.com/Qoyyuum/mcp-metatrader5-server) [](https://mseep.ai/app/qoyyuum-mcp-metatrader5-server) [](https://codecov.io/github/Qoyyuum/mcp-metatrader5-server) [](https://pypi.org/project/mcp-metatrader5-server/) # MetaTrader 5 MCP Server A Model Context Protocol (MCP) server for MetaTrader 5, allowing AI assistants to interact with the MetaTrader 5 platform for trading and market data analysis. [Documentation](https://mcp-metatrader5-server.readthedocs.io) ## Features - Connect to MetaTrader 5 terminal - Access market data (symbols, rates, ticks) - Place and manage trades - Analyze trading history - Integrate with AI assistants through the Model Context Protocol ## Installation ### From PyPI ```bash uvx --from mcp-metatrader5-server mt5mcp ``` ### From Source ```bash git clone https://github.com/Qoyyuum/mcp-metatrader5-server.git cd mcp-metatrader5-server uv sync uv run mt5mcp ``` ## Requirements - **uv** (recommended) or pip - **Python 3.11 or higher** - **MetaTrader 5 terminal** installed on Windows - **MetaTrader 5 account** (demo or real) ## Usage ### Quick Start The server runs in **stdio mode** by default for MCP clients like Claude Desktop: ```bash uv run mt5mcp ``` ### Development Mode (HTTP) For testing with HTTP transport, create a `.env` file: ```env MT5_MCP_TRANSPORT=http MT5_MCP_HOST=127.0.0.1 MT5_MCP_PORT=8000 ``` Then run: ```bash uv run mt5mcp ``` The server will start at http://127.0.0.1:8000 ### Installing for MCP Clients #### Method 1: Using `uvx` (Simplest - No Installation Required) ⭐ Add this configuration to your MCP client's config file: **For Claude Desktop** (`claude_desktop_config.json`…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.