Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
Q

Qoyyuum/mcp-metatrader5-server

Market data and trading actions in MetaTrader 5

Before you install: a copy-paste command is available · no license recorded · link reachable

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
  1. Copy the command above
  2. Paste it as one entry under mcpServers in claude_desktop_config.json — local servers take command + args (example: clients)
  3. Restart your client
Client config (built from the install command this repo gives)
{
  "mcpServers": {
    "qoyyuum-mcp-metatrader5-server": {
      "command": "uvx",
      "args": ["--from", "mcp-metatrader5-server", "mt5mcp"]
    }
  }
}

Parsed from the README we fetched on 2026-11-06; we have not executed it.

command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
  "servers": {
    "qoyyuum-mcp-metatrader5-server": {
      "command": "uvx",
      "args": ["--from", "mcp-metatrader5-server", "mt5mcp"]
    }
  }
}
Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio qoyyuum-mcp-metatrader5-server -- uvx --from mcp-metatrader5-server mt5mcp
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
Source
collected from the abordage/awesome-mcp list · type: MCP server
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
Score
score 1,003 · 10 sources · mcp
Install
uvx --from mcp-metatrader5-server mt5mcp
FAQ (answers come from our records)
How do I install it?
The repository provides this install command: uvx --from mcp-metatrader5-server mt5mcp. It comes from the repository itself; we cannot guarantee it runs as-is in your client.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# MetaTrader 5 MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

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
## 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
MT5MCPTRANSPORT=http
MT5MCPHOST=127.0.0.1
MT5MCPPORT=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 (claudedesktopconfig.json):
json
"mcpServers": {
"mcp-metatrader5-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Qoyyuum/mcp-metatrader5-server",
"mt5mcp"
#### Method 2: Using FastMCP Install (Recommended)
bash
git clone https://github.com/Qoyyuum/mcp-metatrader5-server
cd mcp-metatrader5-server
After git cloning the repo, run the following commands:
For MCP JSON format
bash
uv run fastmcp install mcp-json src/mcpmt5/main.py
For Claude Desktop
bash
uv run fastmcp install claude-desktop src/mcpmt5/main.py
For Claude Code
bash
uv run fastmcp install claude-code src/mcpmt5/main.py
For Cursor
bash
uv run fastmcp install cursor src/mcpmt5/main.py
For Gemini CLI
bash
uv run fastmcp install gemini-cli src/mcpmt5/main.py
#### Method 3: Manual Configuration
Add this to your claudedesktopconfig.json or whatever LLM config file:
json
"mcpServers": {
"mcp-metatrader5-server": {
"command": "uvx",
"args": [
"--from",
"mcp-metatrader5-server",
"mt5mcp"
],
"env": {
"MT5PATH": "C:\\Program Files\\MetaTrader 5\\terminal64.exe",
"MT5LOGIN": " ",
"MT5PASSWORD": " ",
"MT5SERVER": " "
The env block is optional. When it is set, initialize() and login() can be
called without arguments and the agent never needs to see or ask for your
credentials. Explicit arguments still take precedence. MT5USERNAME is
accepted as an alias for MT5LOGIN.
> Security: with credentials in the env block, the config file holds a
> secret. Keep it out of git, shared backups and shared or synced folders.
## API Reference
### Connection Management
initialize(): Initialize the MT5 terminal
login(account, password, server): Log in to a trading account
shutdown(): Close the connection to the MT5 terminal
### Market Data Functions
getsymbols(): Get all available symbols
getsymbolsbygroup(group): Get symbols by group
getsymbolinfo(symbol): Get information about a specific symbol
getsymbolinfotick(symbol): Get the latest tick for a symbol
copyratesfrompos(symbol, timeframe, startpos, count): Get bars from a specific position
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/qoyyuum-mcp-metatrader5-server/)
Source
awesome · https://github.com/Qoyyuum/mcp-metatrader5-server
Browse by field
MCP servers
Listed by
10 independent sources
added
today

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index