wind-mcp-skill

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Wind 万得 MCP 数据桥接(v1.1.0)

Wind MCP Data Bridge (v1.1.0)

本 skill 合并万得 6 个 MCP server,按
server_type
路由调用,共 19 个工具。
This skill integrates 6 Wind MCP servers and routes calls by
server_type
, with a total of 19 tools.

何时使用

When to Use

✅ 触发场景:
场景server_type
A 股 / 港股最新行情、K 线、分钟
quote
基金任何维度(档案 / 财务 / 持仓 / 业绩 / 持有人 / 管理公司)
fund_data
股票档案 / 财务基本面 / 股本结构 / 公司事件 / 技术指标 / 风险
stock_data
上市公司公告、财经新闻
financial_docs
宏观经济、行业经济指标(EDB)
economic_data
不确定归属或跨域综合查询(fallback)
analytics_data
❌ 不触发场景:
  • 美股 / 欧股 / 非中概股
  • 汇率 / 期货盘口 / 加密货币
  • 非金融数据
✅ Trigger Scenarios:
Scenarioserver_type
Latest market quotes, K-lines, minute-level data for A-shares/Hong Kong stocks
quote
Any dimension of funds (profile/finances/holdings/performance/holders/management company)
fund_data
Stock profile/financial fundamentals/equity structure/corporate events/technical indicators/risk
stock_data
Listed company announcements, financial news
financial_docs
Macroeconomic, industry economic indicators (EDB)
economic_data
Uncertain attribution or cross-domain comprehensive queries (fallback)
analytics_data
❌ Non-Trigger Scenarios:
  • US stocks/European stocks/non-Chinese concept stocks
  • Exchange rates/futures quotes/cryptocurrencies
  • Non-financial data

工作流程

Workflow

所有命令在 skill 目录下运行(cwd = skill 根)。
All commands are run in the skill directory (cwd = skill root).

Step 1: 看可用工具

Step 1: Check Available Tools

bash
node scripts/cli.mjs list-tools <server_type>
24h 缓存。返回工具 schema 数组。
bash
node scripts/cli.mjs list-tools <server_type>
24-hour cache. Returns an array of tool schemas.

Step 2: 调用工具

Step 2: Call Tools

bash
node scripts/cli.mjs call <server_type> <tool_name> '<params_json>'
bash
node scripts/cli.mjs call <server_type> <tool_name> '<params_json>'

Step 3: 没 Key 时引导用户

Step 3: Guide Users When No Key is Available

如果第一次调用报"WIND_API_KEY 未配置":
  1. 先问用户是否同意打开浏览器(避免突然弹)
  2. 同意后跑:
    node scripts/cli.mjs open-portal
  3. 用户登录 / 拿 Key 后,按 cli.mjs 提示三选一配置(推荐 C:全局
    ~/.wind-aimarket/config
    ,所有 wind skill 共享)
If the first call reports "WIND_API_KEY not configured":
  1. First ask the user if they agree to open the browser (avoid sudden pop-ups)
  2. If agreed, run:
    node scripts/cli.mjs open-portal
  3. After the user logs in/obtains the Key, choose one of the three configuration options as prompted by cli.mjs (Recommendation C: Global
    ~/.wind-aimarket/config
    , shared by all Wind skills)

工具表(6 server / 19 工具)

Tool List (6 servers / 19 tools)

server_type=quote(3 个,结构化代码参数)

server_type=quote (3 tools, structured code parameters)

工具说明必填入参
quote_get_indicators
实时行情快照(最新价 / 涨跌 / 成交)
windcode, indexes
quote_get_kline
K 线(日 / 周 / 月,前复权 / 后复权 / 不复权)
windcode
quote_get_minute
分钟级行情
windcode
ToolDescriptionRequired Parameters
quote_get_indicators
Real-time market snapshots (latest price/change range/trading volume)
windcode, indexes
quote_get_kline
K-lines (daily/weekly/monthly, forward-adjusted/backward-adjusted/unadjusted)
windcode
quote_get_minute
Minute-level market data
windcode

server_type=fund_data(6 个,自然语言入参)

server_type=fund_data (6 tools, natural language parameters)

入参统一:
{question, lang?, version?}
question
必填。
工具说明
get_fund_info
基金基本档案(代码 / 简称 / 投资风格 / 业绩基准 / 费率 / 现任经理)
get_fund_financials
基金财务(利润 / 净值 / 收入 / 费用 / 分红)
get_fund_holdings
持仓 + 资产配置(重仓股 / 申万 Wind 中信行业 / 投资风格)
get_fund_performance
业绩 + 排名 + ETF / 二级交易数据
get_fund_shareholders
持有人结构(个人 / 机构 / 申购赎回 / 规模变动)
get_fund_company_info
基金管理公司档案 + 经理团队指标
Unified parameters:
{question, lang?, version?}
,
question
is required.
ToolDescription
get_fund_info
Basic fund profile (code/abbreviation/investment style/performance benchmark/fees/current manager)
get_fund_financials
Fund finances (profit/net value/revenue/expenses/dividends)
get_fund_holdings
Holdings + asset allocation (top holdings/Shenwan Wind CITIC industries/investment style)
get_fund_performance
Performance + rankings + ETF/secondary trading data
get_fund_shareholders
Holder structure (retail/institutional/subscription & redemption/scale changes)
get_fund_company_info
Fund management company profile + manager team indicators

server_type=stock_data(6 个,自然语言入参)

server_type=stock_data (6 tools, natural language parameters)

入参统一:
{question, lang?, version?}
question
必填。
工具说明
get_stock_basicinfo
股票基本档案(公司信息 / 主营 / 行业分类 / IPO 上市板)
get_stock_fundamentals
财务基本面(盈利能力 / 资产负债 / 利润 / 现金流 / 增长率 / 杠杆)
get_stock_equity_holders
股本 + 股东(总股本 / 流通 / 前十大 / 实控人 / 限售解禁)
get_stock_events
事件 + 资本运作(IPO / 增发 / 配股 / 并购 / ST / 合规)
get_stock_technicals
技术指标 + 交易(涨跌幅 / MACD / KDJ / RSI / BOLL / 融资融券 / 龙虎榜 / 涨跌停)
get_risk_metrics
风险指标(Beta / Jensen Alpha / 波动率 / Sharpe)
Unified parameters:
{question, lang?, version?}
,
question
is required.
ToolDescription
get_stock_basicinfo
Basic stock profile (company information/core business/industry classification/IPO listing board)
get_stock_fundamentals
Financial fundamentals (profitability/assets & liabilities/profit/cash flow/growth rate/leverage)
get_stock_equity_holders
Equity + shareholders (total share capital/circulating shares/top 10 shareholders/actual controller/restricted share unlocks)
get_stock_events
Events + capital operations (IPO/rights issue/placement/merger & acquisition/ST/compliance)
get_stock_technicals
Technical indicators + trading (price change/MACD/KDJ/RSI/BOLL/margin trading/龙虎榜/limit up & down)
get_risk_metrics
Risk indicators (Beta/Jensen Alpha/volatility/Sharpe)

server_type=financial_docs(2 个,文档 RAG)

server_type=financial_docs (2 tools, document RAG)

工具说明入参
get_company_announcements
公司公告 / 监管文件 / 招股书 / 业绩公告 / 致股东信
query
(必填)+
top_k / start_date / end_date
get_financial_news
财经新闻报道同上
ToolDescriptionParameters
get_company_announcements
Corporate announcements/regulatory documents/prospectuses/performance letters/letters to shareholders
query
(required) +
top_k / start_date / end_date
get_financial_news
Financial news reportsSame as above

server_type=economic_data(1 个,EDB 宏观 / 行业)

server_type=economic_data (1 tool, EDB macro/industry)

工具说明入参
get_economic_data
EDB 宏观 / 行业经济指标(自动 NL → 指标 ID)
metricIdsStr
(必填,自然语言问句)+
beginDate / endDate / freq / magnitude / currency
⚠️ 当前后端 bug:含具体年份 / freq / beginDate 等高级参数时偶发
'str' object has no attribute 'get'
报错(已反馈万得后端,2026-04-29)。简单 NL 问句稳定通过(例:
"中国GDP"
/
"近10年中国新能源汽车产销量"
)。
ToolDescriptionParameters
get_economic_data
EDB macro/industry economic indicators (automatic NL → indicator ID)
metricIdsStr
(required, natural language question) +
beginDate / endDate / freq / magnitude / currency
⚠️ Current backend bug: Occasional
'str' object has no attribute 'get'
error when using advanced parameters like specific year/freq/beginDate (reported to Wind backend, 2026-04-29). Simple NL questions pass stably (e.g.,
"China GDP"
/
"China new energy vehicle production and sales in the past 10 years"
).

server_type=analytics_data(1 个,通用 NL fallback)

server_type=analytics_data (1 tool, general NL fallback)

入参:
{question, lang?, version?}
工具说明
get_financial_data
自然语言 → Wind 通用数据(覆盖 fund / stock 之外的杂项 / 跨域综合查询)
Parameters:
{question, lang?, version?}
.
ToolDescription
get_financial_data
Natural language → general Wind data (covers miscellaneous/cross-domain queries beyond fund/stock)

典型示例

Typical Examples

bash
undefined
bash
undefined

行情类

Market data

node scripts/cli.mjs call quote quote_get_indicators '{"windcode":"600519.SH","indexes":"NAME,MATCH,CHANGERANGE,VOLUME"}' node scripts/cli.mjs call quote quote_get_kline '{"windcode":"600519.SH","period":"D","count":30}'
node scripts/cli.mjs call quote quote_get_indicators '{"windcode":"600519.SH","indexes":"NAME,MATCH,CHANGERANGE,VOLUME"}' node scripts/cli.mjs call quote quote_get_kline '{"windcode":"600519.SH","period":"D","count":30}'

股票深度

In-depth stock data

node scripts/cli.mjs call stock_data get_stock_fundamentals '{"question":"贵州茅台 2024 年 ROE 和净利润增速"}' node scripts/cli.mjs call stock_data get_stock_basicinfo '{"question":"600519.SH 公司基本档案"}'
node scripts/cli.mjs call stock_data get_stock_fundamentals '{"question":"Guizhou Moutai ROE and net profit growth rate in 2024"}' node scripts/cli.mjs call stock_data get_stock_basicinfo '{"question":"Basic profile of 600519.SH"}'

基金

Fund data

node scripts/cli.mjs call fund_data get_fund_info '{"question":"易方达蓝筹精选 005827.OF 基金档案"}' node scripts/cli.mjs call fund_data get_fund_holdings '{"question":"005827.OF 最新一期重仓股"}'
node scripts/cli.mjs call fund_data get_fund_info '{"question":"Profile of E Fund Blue Chip Select 005827.OF"}' node scripts/cli.mjs call fund_data get_fund_holdings '{"question":"Latest top holdings of 005827.OF"}'

文档

Document data

node scripts/cli.mjs call financial_docs get_company_announcements '{"query":"贵州茅台 2024 年报","top_k":3}' node scripts/cli.mjs call financial_docs get_financial_news '{"query":"美联储利率政策","top_k":5}'
node scripts/cli.mjs call financial_docs get_company_announcements '{"query":"Guizhou Moutai 2024 annual report","top_k":3}' node scripts/cli.mjs call financial_docs get_financial_news '{"query":"Fed interest rate policy","top_k":5}'

宏观

Macroeconomic data

node scripts/cli.mjs call economic_data get_economic_data '{"metricIdsStr":"中国GDP"}'
node scripts/cli.mjs call economic_data get_economic_data '{"metricIdsStr":"China GDP"}'

通用 fallback

General fallback

node scripts/cli.mjs call analytics_data get_financial_data '{"question":"中证 500 最近一周表现"}'
undefined
node scripts/cli.mjs call analytics_data get_financial_data '{"question":"Performance of CSI 500 in the past week"}'
undefined

自检(响应前)

Self-Check (Before Response)

  • 用户问题是 A 股 / 港股 / 中国宏观 / 中概?是 → 用本 skill;否 → 不要套
  • 选对 server_type(最常出错处):
    • 行情 / K 线 / 分钟 →
      quote
    • 基金任何维度 →
      fund_data
    • 股票档案 / 财务 / 股本 / 事件 / 技术 / 风险 →
      stock_data
    • 公告 / 新闻 →
      financial_docs
    • EDB 宏观 / 行业 →
      economic_data
    • 不确定 / 杂项跨域 →
      analytics_data
  • 工具名拼对:先
    list-tools
    查;不要凭印象写
  • 报"未配置 Key"时先问用户再跑
    open-portal
    ,不要无打招呼弹浏览器
  • economic_data
    复杂参数后端有 bug,遇报错降级为简单 NL 问句重试
  • Is the user's question related to A-shares/Hong Kong stocks/Chinese macroeconomy/Chinese concept stocks? Yes → use this skill; No → do not apply
  • Select the correct server_type (most common error point):
    • Market quotes/K-lines/minute-level data →
      quote
    • Any dimension of funds →
      fund_data
    • Stock profile/finances/equity/events/technical indicators/risk →
      stock_data
    • Announcements/news →
      financial_docs
    • EDB macro/industry →
      economic_data
    • Uncertain/miscellaneous cross-domain →
      analytics_data
  • Spell tool names correctly: Check with
    list-tools
    first; do not write from memory
  • When reporting "Key not configured", ask the user first before running
    open-portal
    , do not pop up the browser without greeting
  • economic_data
    has a backend bug with complex parameters; if an error occurs, retry with a simple NL question