a-stock-mcp
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., "@a-stock-mcpWhat are today's limit-up stocks?"
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.
A股量化MCP Server
基于 FastMCP + akshare 的 A 股金融数据 MCP 服务器,提供选股筛选、北向资金追踪、龙虎榜分析和融资融券查询。
功能
工具 | 说明 |
| A股多条件选股:行业/PE/涨跌幅/涨停跌停筛选 |
| 扫描今日涨停股列表 |
| 扫描今日跌停股列表 |
| 北向资金净流入趋势 + 今日汇总 |
| 龙虎榜上榜个股明细(按日期/原因/净买额) |
| 融资融券:市场汇总或单只个股两融余额 |
| 行业板块涨跌幅排序 |
| 板块历史走势追踪 |
| MACD/KDJ/RSI技术指标分析 |
| 新股申购信息查询 |
| 涨跌停统计汇总 |
所有数据来自 akshare(东方财富/新浪财经公开接口),仅供参考,不构成投资建议。
Related MCP server: A-Share MCP Server
安装
pip install a-stock-mcp使用
在 OpenCode 中使用
在 opencode.json 中配置:
{
"mcpServers": {
"a-stock-mcp": {
"command": "python",
"args": ["-m", "src.server"]
}
}
}在 Hermes 中使用
在 config.yaml 中配置:
mcp_servers:
a-stock-mcp:
command: python
args:
- -m
- src.server
cwd: /path/to/a-stock-mcp
enabled: true开发
# 克隆仓库
git clone https://github.com/RedSamerai/a-stock-mcp.git
cd a-stock-mcp
# 安装依赖
pip install -e ".[dev]"
# 运行测试
pytest tests/ -v项目结构
a-stock-mcp/
├── src/
│ ├── server.py # MCP服务器入口
│ ├── data/
│ │ └── akshare_client.py # 数据接口封装
│ └── tools/
│ ├── screener.py # 选股工具
│ ├── north_flow.py # 北向资金
│ ├── dragon_tiger.py # 龙虎榜
│ ├── margin.py # 融资融券
│ ├── sector.py # 板块分析
│ ├── technical.py # 技术指标
│ ├── ipo.py # 新股信息
│ └── stats.py # 涨跌统计
├── tests/ # 单元测试
└── pyproject.toml # 项目配置License
MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only China A-share data for AI agents: market, limit-up, capital flow and disclosures.
Provide access to Chinese stock market data including historical prices, real-time data, news, and…
China A-share market data for research, backtesting and AI agents via MCP.
Access real-time and historical market data for China A-shares and Hong Kong stocks, along with ne…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables real-time stock market analysis through AKShare API integration. Supports retrieving live stock prices, historical data, technical indicators (MA, MACD, RSI), market sentiment analysis, stock search, and financial news.5-
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive A-share (Chinese stock market) data including stock information, historical prices, financial reports, macroeconomic indicators, technical analysis, and valuation metrics through the free Baostock data source.27MIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time A-share (Chinese stock market) data through AKShare integration, enabling access to market overviews, company information, real-time quotes, and historical price data for Shanghai and Shenzhen stock exchanges.1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides real-time quotes, fund flows, and corporate announcements for Chinese A-share stocks. It enables users to search for stocks, analyze financial indicators, and summarize quarterly reports through natural language.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RedSamerai/a-stock-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server