A-Share Data
Access real-time and historical A-share stock market data for China's Shanghai and Shenzhen exchanges with zero configuration.
a-share-mcp is an MCP server designed for the A-share market, offering comprehensive real-time and historical stock data. It provides zero-configuration access to Shanghai and Shenzhen market information, including real-time quotes, minute-level K-lines, daily K-lines, and various technical indicators. With built-in dual data sources (Sina and Tencent) and automatic failover, it ensures reliable and up-to-date data without requiring registration or payment. The server outputs data in DataFrame format, making it ideal for quantitative research, backtesting, and automated trading system development.
主な機能
01Provides real-time market data including snapshots, intraday minute K-lines, and multi-stock batch queries.
02Offers comprehensive historical K-line data (1/5/15/30/60 minute, daily, weekly, monthly) and various financial reports.
032 GitHub stars
04Calculates over 12 common technical indicators such as MACD, KDJ, RSI, BOLL, and MA in real-time.
05Utilizes dual data sources (Sina/Tencent) with automatic fault switching, ensuring high availability and instant updates without login.
06Supports querying market overview data including hot sectors, major indices, Northbound Capital flow, and daily limit-up/down statistics.
ユースケース
01Conducting quantitative research and in-depth analysis of A-share stocks.
02Backtesting trading strategies using extensive historical and real-time market data.
03Developing and deploying automated trading systems for the Chinese stock market.