The Stock Data MCP Server provides comprehensive financial data querying for A-shares, Hong Kong stocks, US stocks, and cryptocurrencies, with multi-source automatic failover.
Stock Search & Info: Find stock codes by keyword and retrieve basic information, real-time quotes (individual and batch), and historical prices with technical indicators across A-share, HK, and US markets.
A-Share Specific Tools: Access chip distribution, individual stock fund flows, multi-period statistics, sector/board constituent stocks, limit-up stock pools, strong stock pools, and Dragon-Tiger List statistics.
Financial Indicators: Query key financial metrics for A-shares, Hong Kong stocks, and US stocks.
US Stock Tools: Get company overviews, financial statements, earnings data, insider trading, news sentiment analysis, and technical indicators (via Alpha Vantage or yfinance).
Sector & Market Insights: Retrieve sector fund flow rankings and spot data for industries, concepts, and regions.
Cryptocurrency Data: Fetch historical OHLCV candlestick data with technical indicators (OKX, multiple timeframes), long/short loan ratios, taker buy/sell volume, and AI-generated analysis reports (Binance).
News & Updates: Get stock/crypto-specific news and global financial news flashes.
Utilities: Check current system time and A-share trading day info, monitor data source health and circuit breaker status, and receive AI-driven investment recommendations (buy/sell/hold) with confidence scores and reasoning.
Click on "Install 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., "@Stock Data MCP ServerShow me the real-time price and technical indicators for NVDA"
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.
Stock Data MCP Server
English | 中文
MCP 服务器,提供 A股/港股/美股、加密货币数据查询,支持多数据源自动故障转移。
安装
PyPI
MCP 配置
Docker
MCP 配置
Git 源码(开发版,会实时更新)
MCP 配置
变量 | 说明 |
| Tushare Pro API Token(A股高优先数据源) |
| Alpha Vantage API Key(美股数据增强,不配置则使用 yfinance 免费源) |
| OKX API 代理地址 |
| Binance API 代理地址 |
| NewsNow 财经快讯频道列表(默认: |
Claude Code
工具列表
工具 | 说明 |
| 股票搜索 |
| 股票信息 |
| 历史价格+技术指标 |
| 实时行情 |
| 批量实时行情 |
| 筹码分布 |
| 个股资金流向 |
| 多周期统计 |
| 个股所属板块 |
| 板块成分股 |
| 个股新闻 |
| 全球财经快讯 |
| A股财务指标 |
| 港股财务指标 |
| 美股财务指标 |
| A股涨停股池 |
| A股强势股池 |
| A股龙虎榜 |
| 板块资金流 |
| 美股公司概览(Alpha Vantage / yfinance) |
| 美股财务报表(Alpha Vantage / yfinance) |
| 美股新闻情绪(需 Alpha Vantage API key) |
| 美股盈利数据(Alpha Vantage / yfinance) |
| 美股内部交易(Alpha Vantage / yfinance) |
| 美股技术指标(需 Alpha Vantage API key) |
| 加密货币K线 |
| 加密货币借贷比 |
| 加密货币买卖量 |
| 加密货币AI分析 |
| 系统时间及交易日 |
| 数据源状态 |
License
MIT