
caoshuo594/mql5-help-mcp
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
MQL5 Documentation MCP Server - Allows AI programming assistants to directly access the MQL5 documentation and learning library
Overview
mql5-help-mcp lets your AI programming assistant (Claude Code, Cursor, Copilot, Gemini CLI, etc.) directly access local MQL5 documentation and learning resource libraries. Based on Model Context Protocol (MCP), it provides the AI assistant with fast retrieval capabilities for 4,500+ official documents and two supplementary e-books (HTML), helping you complete EA/metrics/script development and debugging more efficiently. - Official MQL5 documentation: MQL5_HELP/ (4500+ .htm) - MQL5 Algorithmic Trading Manual (HTML): MQL5_Algo_Book/ - Neural Networks and Machine Learning Manual (HTML): Neural_Networks_Book/ Note: The copyright of the two e-books belongs to the original authors and is distributed with the warehouse only as study references; The current version mainly provides a complete index for MQL5_HELP/, and unified indexing and search for e-books will be added in future versions (Roadmap already listed). - Search documentation (provided) - Quickly locate official documents by function name, class name, or keywords - Covers common topics such as trading functions, indicators, standard libraries, ONNX - Intelligent matching (basic capabilities provided) - Supports precise/fuzzy matching, compatible with common class name variants (such as CTrade/Trade) - Common error solution library (in progress) - Causes and comparison tables of typical issues such as error 256/undeclared identifier - MQL4→MQL5 Migration differences: Symbol()→_Symbol, Period()→_Period, ResultCode()→ResultRetcode() - Intelligent error matching (planned) - Search directly by "compiler error text": e.g., error 256: undeclared identifier ResultCode - Context-aware search (planned) - Terminology mapping and aliases: such as iMA in MQL4 → IndicatorCreate in MQL5 - Code Analysis and Diagnosis (planned) - analyze_code: Points out API renaming and common misuses - diagnose_error: Provides positioning and alternative suggestions based on compilation error logs - Interactive help (planned) - Support for "a line of code/a specific error" in a Q&A - Learning path recommendations (planned) - Sequential content from "syntax differences → standard libraries → metrics/transactions → performance optimization" - multidimensional tags and version annotations (planned) - filtering by difficulty/purpose/version/theme; Clearly...
Overview (machine translated)
mql5-help-mcp Allows your AI programming assistant (Claude Code, Cursor, Copilot, Gemini CLI, etc.) to directly access local MQL5 documentation and learning resource libraries. Based on Model Context Protocol (MCP), provides the AI assistant with 4500+ official documents and two supplementary e-books (HTML) for fast retrieval capabilities, helping you complete EA/metrics/script development and debugging more efficiently.
What materials are built-in?
- Official MQL5 documentation:
MQL5_HELP/(4500+ .htm) - MQL5 Algorithmic Trading Manual (HTML):
MQL5_Algo_Book/ - Neural Networks and Machine Learning Handbook (HTML):
Neural_Networks_Book/
Note: The copyright of the two e-books belongs to the original authors and is distributed with the repository only as study references; The current version mainly provides a complete index of
MQL5_HELP/, and unified indexing and search for e-books will be supplemented in future versions (Roadmap already listed).
Problem-Oriented Capabilities (Refactoring Based on User Suggestions)
Currently Available + Planned Features Overview:
- Search documents (provided)
- Quickly locate official documents by function name, class name, or keywords
- Covers commonly used topics such as trading functions, indicators, standard libraries, ONNX, and more
- Smart matching (basic capabilities provided)
- Supports precise/fuzzy matching, compatible with common class name variants (such as CTrade/Trade)
- Common error solution library (in progress)
- Causes and comparison table of typical issues such as error 256/undeclared identifier
- MQL4 →MQL5 migration differences: Symbol()→_Symbol, Period()→_Period, ResultCode()→ResultRetcode()
- Intelligent Error Matching (Planned)
- Search directly with “compiler error text”: for example
error 256: undeclared identifier ResultCode - Context-aware search (planned)
- Terminology mappings and aliases: such as
iMAfor MQL4 →IndicatorCreatefor MQL5 - Code Analysis and Diagnosis (Planned)
analyze_code: Points out API renaming and common misusesdiagnose_error: Provides positioning and alternative suggestions based on compiled error logs- Interactive help (planned)
- Supports follow-up Q&A for “a certain line of code / a certain error.”
- Recommended Learning Paths (Planned)
- Sequential content from “Syntax Differences → Standard Library → Metric/Transaction → Performance Optimization.”
- Multidimensional tags and version annotations (planned)
- Filtering by dimensions such as difficulty, purpose, version, and theme; Clearly specify MQL4 compatibility information
Priority:
- High: Intelligent error matching, error solution library, code examples
- Medium: context-aware search, interactive help, learning paths
- Low: code analysis, tagging system, version annotation (refined)
Get Started Quickly
Prerequisites
This page was translated automatically. Technical details may differ from the original.
Install
npx -y github:caoshuo594/mql5-help-mcpConfiguration
{
"mcpServers": {
"mql5-help": {
"command": "npx",
"args": ["-y", "github:caoshuo594/mql5-help-mcp"]
}
}
}