qmt-mcp-server
by jm12138·★ 18·Score 40
An MCP server for QMT platform that provides stock market data download and query functionality.
Overview
The QMT MCP Server is a Python-based implementation that bridges the Model Context Protocol with QMT platform's stock market data capabilities. It offers tools for retrieving stock details, downloading historical data, and querying market information for single or multiple instruments. The server demonstrates practical functionality through extensive examples showing how it can analyze stock performance across different time periods and multiple companies.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you need access to Chinese stock market data through QMT platform for financial analysis and research.
When NOT to choose this
Avoid if you need cross-market data (US, Europe, etc.) as this server is limited to Chinese stocks and Windows platform only.
Tools this server exposes
5 tools extracted from the READMEget_current_time_tool获取当前时间
get_instrument_detail_tool获取股票的详细信息
download_history_data_tool下载特定股票的历史市场数据
download_history_data2_tool下载多只股票的历史市场数据
get_market_data_ex_tool获取多只股票的市场数据
Comparable tools
Installation
Installation
- Install QMT-MCP-Server
$ pip install git+https://github.com/jm12138/qmt-mcp-server- Start QMT or MiniQMT client
- Start MCP server
stdio mode (for local use)
$ qmt_mcp_server_stdioSSE mode (for server deployment)
$ qmt_mcp_server_sse --host 0.0.0.0 --port 8000- Client configuration
Claude Desktop
{
"mcpServers": {
"qmt-mcp-server": {
"command": "qmt_mcp_server_stdio"
}
}
}VS Code
{
"servers": {
"qmt-mcp-server": {
"command": "qmt_mcp_server_stdio"
}
}
}FAQ
- What platforms are supported by the QMT MCP Server?
- Currently, the server only supports Windows due to limitations of the QMT client.
- What tools are available in the QMT MCP Server?
- The server provides five tools: get_current_time_tool, get_instrument_detail_tool, download_history_data_tool, download_history_data2_tool, and get_market_data_ex_tool.
Compare qmt-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.