Quant Data MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Quant Data MCP Server茅台现在多少钱?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quant Data MCP Server
MCP Server for Quant Data API.
让 Claude Desktop / Cursor 等 MCP 客户端能直接调 A 股数据。
✨ 功能
📈 个股实时行情
📊 个股 K 线
📉 市场统计
🏭 行业涨跌幅
🔍 多条件选股
💰 最新财务指标
Related MCP server: A股实时行情MCP服务器
📦 安装
pip install zizhenghua-mcp或从源码:
git clone https://github.com/Zizhenghua/quant-data-mcp.git
cd quant-data-mcp
pip install -e .🚀 配置
Claude Desktop
编辑配置文件:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonMac:
~/Library/Application Support/Claude/claude_desktop_config.json
内容:
{
"mcpServers": {
"quant-data": {
"command": "python",
"args": ["-m", "quant_data_mcp.server"],
"env": {
"QUANT_API_KEY": ""
}
}
}
}Cursor
在 Cursor 设置里加 MCP Server,或编辑 ~/.cursor/mcp.json:
{
"mcpServers": {
"quant-data": {
"command": "python",
"args": ["-m", "quant_data_mcp.server"],
"env": {
"QUANT_API_KEY": ""
}
}
}
}🔑 用 API Key
默认匿名调用(10 次/分钟)。
想提高限额,在配置里填 QUANT_API_KEY:
{
"env": {
"QUANT_API_KEY": "your_api_key_here"
}
}注册获取 API Key:https://zizhenghua.com
💬 示例
配好后,在 Claude Desktop / Cursor 里问:
"茅台现在多少钱?"
"帮我看看 600519 最近的 K 线"
"今天市场涨跌家数怎么样?"
"哪些行业今天涨得最好?"
"帮我筛选换手率大于 5% 的股票"
"600519 最新的财务指标是什么?"
AI 会自动调对应的工具。
🛠️ 可用工具
工具 | 说明 |
| 个股实时行情 |
| 个股 K 线 |
| 市场统计 |
| 行业涨跌幅 |
| 多条件选股 |
| 最新财务指标 |
🧪 开发
# 1. Clone
git clone https://github.com/Zizhenghua/quant-data-mcp.git
cd quant-data-mcp
# 2. 虚拟环境
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # Mac / Linux
# 3. 安装
pip install -e ".[dev]"
# 4. 测试
python -m quant_data_mcp.server💬 讨论
有问题?来 GitHub Discussions 提问。
📚 相关项目
quant-data-sdk — Python / JS SDK
Quant Data API — 数据接口
📄 License
⚠️ Disclaimer
数据仅供量化学习与策略回测研究之用,不构成任何投资建议。
This server cannot be deployed
Maintenance
Related MCP Connectors
China A-share market data for research, backtesting and AI agents via MCP.
MCP server giving AI agents one-connection access to China A-share market intelligence: financials,
China Exchange Data MCP (SZSE + SSE). Keyless.
Access real-time and historical market data for China A-shares and Hong Kong stocks, along with ne…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that wraps SFC financial data API into 32 tools for comprehensive A-share market data, including real-time quotes, rankings, limit-up statistics, news, themes, financials, charts, research reports, and watchlists.-
- AlicenseNot gradedqualityCmaintenance基于Model Context Protocol (MCP) 的A股实时行情查询服务器,支持查询A股实时价格、历史K线数据、财务信息及市场概况。8MIT
- AlicenseNot gradedqualityFmaintenance提供A股实时行情、历史K线、财务报表、技术指标等全方位数据查询的MCP服务器,支持盘中即时更新及批量查询。25MIT
- AlicenseAqualityDmaintenanceProvides access to Chinese A-share market financial data, including historical K-line, real-time quotes, financial statements, shareholder information, and technical indicators, via MCP protocol.128 npm3MIT