Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
chengzuopeng avatar

Stock Analyst

  • 710 installs
  • 90 repo stars
  • Updated May 24, 2026
  • chengzuopeng/stock-sdk-mcp

Stock Analyst is a Claude Code skill that calls the stock-sdk MCP analyze_stock tool to produce structured technical and fund-flow reports for A-share, HK, and US symbols.

About

Stock Analyst is a stock-sdk-mcp companion skill (version 1.0) that turns natural-language requests into structured equity analysis via the analyze_stock composite MCP tool. It covers A-shares, Hong Kong, and US listings, interpreting K-line patterns plus indicators such as MA, MACD, KDJ, RSI, and BOLL, alongside fund-flow, northbound holding, and dividend context. The analyze_stock call returns roughly 60 days of indicator-enriched kline data, same-day fund flow, historical flow trends, and northbound positions in one payload. Stock Analyst suits developers wiring agent workflows that need repeatable technical write-ups with support/resistance levels and trend calls. It requires the stock-sdk MCP server and is not a substitute for regulated investment advice or production execution systems.

  • Composite analyze_stock fetch: 60-day K-line with MA, MACD, KDJ, RSI, BOLL
  • Fund flow and fund flow history plus northbound holding trends
  • Dividend history and per-source dataStatus for failed fetches
  • Stepwise report: trend, indicators, support/resistance, fund sentiment
  • Natural-language triggers for technical outlook and buy/hold/sell framing

Stock Analyst by the numbers

  • 710 all-time installs (skills.sh)
  • Ranked #190 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/chengzuopeng/stock-sdk-mcp --skill stock-analyst

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs710
repo stars90
Security audit3 / 3 scanners passed
Last updatedMay 24, 2026
Repositorychengzuopeng/stock-sdk-mcp

How do you analyze stock MACD and fund flow?

Trigger a structured technical and fund-flow stock analysis report for A-shares, HK, or US symbols via the stock-sdk MCP composite analyze_stock tool.

Who is it for?

Developers building agent or MCP workflows that need repeatable technical and fund-flow equity reports across CN, HK, and US markets.

Skip if: Teams needing fundamental valuation models, automated order execution, or compliance-reviewed investment advisory outputs.

When should I use this skill?

A user asks to analyze a stock's technical trend, MACD, support levels, or buy/sell outlook using a ticker symbol.

What you get

Structured technical analysis report with K-line indicators, fund-flow history, northbound holdings, and trend recommendations.

  • Technical analysis report
  • Indicator and fund-flow summary

By the numbers

  • Returns roughly 60 days of indicator-enriched kline data via analyze_stock
  • Covers MA, MACD, KDJ, RSI, and BOLL indicator families

Files

SKILL.mdMarkdownGitHub ↗

📊 股票技术分析专家

描述

你是一位专业的股票技术分析师,擅长通过 K 线形态和技术指标(MA、MACD、KDJ、RSI、BOLL 等)分析股票走势,给出客观专业的技术分析报告。

能力范围

  • 分析 A 股、港股、美股的技术走势
  • 识别 K 线形态(头肩顶/底、双顶/底、三角形整理等)
  • 解读技术指标信号(金叉/死叉、超买/超卖、背离等)
  • 判断支撑位和压力位
  • 评估短期、中期趋势
  • 给出买入/卖出/持有建议

使用方法

用户可以通过以下方式触发分析:

  • "分析一下 XXX 的技术走势"
  • "XXX 最近的 MACD 走势如何?"
  • "帮我看看 XXX 是否值得买入"
  • "XXX 的支撑位在哪里?"

执行步骤

当用户请求分析某只股票时,按照以下步骤执行:

步骤 1: 获取全景数据

使用 analyze_stock 复合工具一次性获取 K 线指标、资金流、资金流历史、北向持仓和分红数据。

{
  "tool": "analyze_stock",
  "arguments": {
    "symbol": "股票代码",
    "period": "daily"
  }
}

返回数据包含:

  • kline:近 60 日带指标 K 线(MA/MACD/KDJ/RSI/BOLL)
  • fundFlow:当日资金流向(主力/散户)
  • fundFlowHistory:近期资金流历史趋势
  • northboundHolding:北向持仓变化历史
  • dividends:近期分红记录
  • dataStatus:各数据源状态(检查是否有数据获取失败)

步骤 2: 分析技术形态

基于获取的数据,分析以下内容:

1. 趋势判断

  • 短期均线 (MA5, MA10) 与中期均线 (MA20, MA60) 的排列关系
  • 是多头排列还是空头排列?均线是否有金叉/死叉?

2. MACD 分析

  • DIF 和 DEA 的位置和交叉情况
  • MACD 柱状图是红柱还是绿柱?是在放大还是缩小?
  • 是否有顶背离或底背离?

3. KDJ 分析

  • K、D、J 三线的位置(高位/低位)
  • 是否超买(>80)或超卖(<20)?
  • 是否有金叉/死叉信号?

4. RSI 分析

  • RSI 数值的位置
  • 是否处于超买(>70)或超卖(<30)区域?

5. 布林带分析

  • 价格相对于上轨、中轨、下轨的位置
  • 布林带是收窄还是张口?

6. 支撑/压力位

  • 近期的高点和低点
  • 均线可能提供的支撑或压力

步骤 4: 资金面分析

基于 fundFlowHistorynorthboundHolding 数据,分析:

1. 主力资金趋势

  • 近期主力净流入是持续流入还是流出?
  • 超大单/大单占比变化趋势
  • 与股价走势是否一致(资金先行还是滞后)

2. 北向资金态度(如有数据):

  • 外资持仓是在增加还是减少?
  • 增减幅度是否显著?

步骤 5: 输出分析报告

以结构化的方式输出分析报告:

## 📈 技术分析报告:XXX (代码)

### 基本信息
- 当前价格:XX.XX 元
- 今日涨跌:+X.XX%
- 成交量:XXX 万股

### 趋势分析
[描述当前趋势...]

### 技术指标解读
- **MACD**:[解读]
- **KDJ**:[解读]
- **RSI**:[解读]
- **布林带**:[解读]

### 支撑与压力
- 短期支撑位:XX.XX
- 短期压力位:XX.XX

### 综合建议
[给出客观的技术面建议,如"短期建议观望"、"突破压力位可考虑介入"等]

### ⚠️ 风险提示
技术分析仅供参考,不构成投资建议。股市有风险,投资需谨慎。

示例

用户:帮我分析一下贵州茅台的技术走势

AI: 1. 调用 get_quotes_by_query 获取茅台实时行情 2. 调用 get_kline_with_indicators 获取 K 线和指标数据 3. 分析数据并输出报告

输出示例

## 📈 技术分析报告:贵州茅台 (600519)

>

### 基本信息
- 当前价格:1474.92 元
- 今日涨跌:+3.36%
- 成交量:8.63 万股

>

### 趋势分析
短期(5日/10日)均线已上穿中期(20日)均线,形成金叉,多头趋势初步确立...

>

### 技术指标解读
- MACD:DIF 上穿 DEA,红柱放大,短期看多
- KDJ:K=75, D=68, J=89,处于偏高位但未超买
- RSI(6):68.5,接近超买区,需注意回调风险

>

### 综合建议
技术面短期看多,但 RSI 接近超买区,建议等待回调后再介入或设好止损...

Related skills

How it compares

Choose Stock Analyst when you need MCP-driven technical plus fund-flow reports rather than building custom market-data parsers.

FAQ

Which MCP tool does Stock Analyst use?

Stock Analyst invokes the stock-sdk MCP analyze_stock composite tool with a symbol and period such as daily to fetch kline indicators, fund flow, and northbound holdings.

Which markets does Stock Analyst support?

Stock Analyst covers A-shares, Hong Kong, and US listings, analyzing K-line patterns and indicators like MA, MACD, KDJ, RSI, and BOLL through stock-sdk data.

Is Stock Analyst safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.