agu-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., "@agu-mcp查一下贵州茅台的实时行情"
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.
agu-mcp — A股行情分析 MCP Server
让 Claude 直接查询和分析 A 股数据!实时行情、K线、技术指标、基本面、AI选股,一站式搞定。
✨ 功能
工具 | 说明 |
| 实时行情(价格、涨跌幅、PE/PB、市值、52周高低) |
| 批量行情查询 |
| K线数据(日/周/月,支持前复权) |
| 技术指标(MACD/RSI/KDJ/布林带/均线系统) |
| 股票搜索(代码/名称/拼音) |
| 行业/概念板块涨跌排行 |
| 资金流向(主力/散户/大单/中单/小单) |
| 基本面数据(ROE/毛利率/负债率/营收/利润) |
| 新闻公告 |
| 智能选股(PE、PB、技术指标、均线排列等条件) |
Related MCP server: AI-Kline MCP Server
🚀 快速开始
安装
# 克隆项目
cd agu-mcp
npm install
npm run build配置 Claude Code
项目自带了 .mcp.json,重启 Claude Code 即可自动加载。
或者在 ~/.claude/mcp.json 中添加全局配置:
{
"mcpServers": {
"agu": {
"command": "node",
"args": ["path/to/agu-mcp/dist/index.js"]
}
}
}使用示例
"查一下贵州茅台的实时行情"
"分析600519的MACD和RSI指标"
"今天哪些行业板块涨得好?"
"筛选PE在10-20之间、MACD金叉的股票"
"查看宁德时代近5日的资金流向"🏗 技术架构
agu-mcp/
├── src/
│ ├── index.ts # 入口 + 服务注册
│ ├── config.ts # 配置(缓存TTL、数据源)
│ ├── tools/ # 10个MCP工具实现
│ │ ├── quote.ts # 实时行情
│ │ ├── kline.ts # K线数据
│ │ ├── indicators.ts # 技术指标
│ │ ├── search.ts # 股票搜索
│ │ ├── sector.ts # 板块行情
│ │ ├── moneyflow.ts # 资金流向
│ │ ├── fundamentals.ts # 基本面
│ │ ├── news.ts # 新闻公告
│ │ ├── screening.ts # AI选股
│ │ └── formatters.ts # 输出格式化
│ ├── data/
│ │ ├── eastmoney.ts # 东方财富HTTP适配器
│ │ └── cache.ts # 内存+SQLite缓存
│ ├── analysis/
│ │ ├── indicators.ts # 技术指标计算引擎
│ │ └── screening.ts # 选股筛选引擎
│ └── utils/
│ ├── stockCode.ts # 股票代码解析
│ └── logger.ts # 日志工具
└── dist/ # 编译输出📊 数据来源
东方财富 HTTP API(免费,无需注册,无需API Key)
腾讯行情接口(备用)
所有数据均为公开行情数据
💡 注意事项
数据源为东方财富公开接口,仅供个人学习研究使用
高频请求可能被限流,缓存策略已内置(实时行情5秒,K线1分钟等)
非交易时段返回的是最近一个交易日的数据
本工具不构成任何投资建议
📜 License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenance基于Model Context Protocol (MCP) 的A股实时行情查询服务器,支持查询A股实时价格、历史K线数据、财务信息及市场概况。8MIT
- Flicense-qualityFmaintenanceMCP server for A-share stock technical analysis and AI prediction, enabling LLM-based interaction to analyze stocks.340
- Alicense-qualityFmaintenance提供A股实时行情、历史K线、财务报表、技术指标等全方位数据查询的MCP服务器,支持盘中即时更新及批量查询。23MIT
Related MCP Connectors
Read-only China A-share data for AI agents: market, limit-up, capital flow and disclosures.
7-factor stock scoring MCP server. US/HK/CN, 74 stocks. Free + Premium (USDC/Base). x402 ready.
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/lzw-wo/agu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server