shouldnotappearcalm/a-share-mcp
基于 MCP(Model Context Protocol)协议的 A 股股票数据服务,零配置开箱即用,完全免费无需注册。提供沪深市场实时行情与历史数据,包括分时、分钟线、日线 K 线及常用技术指标,内置新浪与腾讯双数据源并支持自动故障切换。统一以 DataFrame 格式输出,适用于量化研究、回测分析及自动化交易系统开发。
Overview
shouldnotappearcalm/a-share-mcp is a Python MCP server licensed under MIT. 基于 MCP(Model Context Protocol)协议的 A 股股票数据服务,零配置开箱即用,完全免费无需注册。提供沪深市场实时行情与历史数据,包括分时、分钟线、日线 K 线及常用技术指标,内置新浪与腾讯双数据源并支持自动故障切换。统一以 DataFrame 格式输出,适用于量化研究、回测分析及自动化交易系统开发。
Ranked #7 out of 104 indexed tools.
In the top 7% of all indexed tools.
Actively maintained with commits in the last week.
Ecosystem
Score Breakdown
2 stars → early stage
Last commit today → actively maintained
No issues filed → no history to score
2 contributors → solo project
No dependents → no downstream usage
Weights: Freshness 25% · Issue Health 25% · Dependents 25% · Stars 15% · Contributors 10% · How we score →
How to Improve
Matched Queries
From the README
<div align="center"> # 📊 a-share-mcp 📈 </div> A股 MCP 服务器,支持**实时行情**与历史数据查询。 本项目是一个专注于 A 股市场的 MCP 服务器,提供**盘中实时行情**、股票基本信息、历史 K 线数据、财务指标、宏观经济数据等多种查询功能。支持实时K线、技术指标计算(MACD/KDJ/RSI/BOLL等),理论上可以回答有关 A 股市场的任何问题,无论是针对大盘还是特定股票。 <div align="center"> </div> ## 项目结构 ``` a_share_mcp/ │ ├── mcp_server.py # 主服务器入口文件 ├── pyproject.toml # 项目依赖配置 ├── README.md # 项目说明文档 │ ├── src/ # 源代码目录 │ ├── __init__.py │ ├── baostock_data_source.py # Baostock数据源实现 │ ├── ashare_data_source.py # Sina/Tencent数据源实现 (新增) │ ├── data_source_interface.py # 数据源接口定义 │ ├── utils.py # 通用工具函数 │ │ │ ├── formatting/ # 数据格式化模块 │ │ ├── __init__.py │ │ └── markdown_formatter.py # Markdown格式化工具 │ │ │ ├── use_cases/ # 业务逻辑层 │ │ ├── stock_market.py # 股票市场业务逻辑 │ │ ├── realtime_market.py # 实时行情业务逻辑 (重构) │ │ ├── market_data.py # 市场数据业务逻辑 (新增) │ │ └── ... │ │ │ └── tools/Read full README on GitHub →
Claim this listing to add a tagline, mark deprecation status, and get a verified maintainer badge.
Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.