Model Context Protocol (MCP) server built with Python to enable AI LLMs to trade using MetaTrader platform.
Project description
MetaTrader MCP Server
This is a Model Context Protocol (MCP) server built with Python to enable AI LLMs to trade using MetaTrader platform.
Updates
- April 23, 2025: Published to PyPi (0.2.0) ✌🏻✌🏻✌🏻
- April 16, 2025: We have our first minor version release (0.1.0) 🎉🎉🎉
Installation Guide
Make sure you have Python version 3.10+ and MetaTrader 5 terminal installed in your workspace. Then install the package:
pip install metatrader-mcp-server
Claude Desktop Integration
To use this package to enable trading operations via Claude Desktop app, please add this into your Claude Desktop configuration:
{
"mcpServers": {
"metatrader": {
"command": "metatrader-mcp-server",
"args": [
"--login", "<YOUR_MT5_LOGIN>",
"--password", "<YOUR_MT5_PASSWORD>",
"--server", "<YOUR_MT5_SERVER>"
]
}
}
}
Project Roadmap
For full version checklist, see version-checklist.md.
| Task | Status | Done | Tested |
|---|---|---|---|
| Connect to MetaTrader 5 terminal | Finished | ✅ | ✅ |
| Develop MetaTrader client module | Finished | ✅ | ✅ |
| Develop MCP Server module | Finished | ✅ | ✅ |
| Implement MCP tools | Finished | ✅ | ✅ |
| Publish to PyPi | Finished | ✅ | ✅ |
| Claude Desktop integration | Finished | ✅ | ✅ |
| Open WebUI integration | - | - | - |
Developer Documentation
For developers, see Developer's Documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metatrader_mcp_server-0.2.1.tar.gz.
File metadata
- Download URL: metatrader_mcp_server-0.2.1.tar.gz
- Upload date:
- Size: 43.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b6cfff64b6ee5f59e1e4b45c50db2cc82ab9739b207d850e8298d139d84a6ef
|
|
| MD5 |
c2c33071b05c520373be4dc2357797a1
|
|
| BLAKE2b-256 |
11c81205c5ecbb1c51509f4e24830659f9e2d6c289ff7a2cb5c907dd6c3eb138
|
File details
Details for the file metatrader_mcp_server-0.2.1-py3-none-any.whl.
File metadata
- Download URL: metatrader_mcp_server-0.2.1-py3-none-any.whl
- Upload date:
- Size: 78.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e9ef860d4a837e2eeb4b6510dc5df29550b769de06f40e0e83ef769ac17b4fc
|
|
| MD5 |
2740e3e0b30b2dedc0d612aa11691734
|
|
| BLAKE2b-256 |
d9da48aa9097dfe182a288522a5cc67762444f3610d6cf11ba231aa571bb5d0e
|