wind-mcp-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWind 万得 MCP 数据桥接(v1.1.0)
Wind MCP Data Bridge (v1.1.0)
本 skill 合并万得 6 个 MCP server,按 路由调用,共 19 个工具。
server_typeThis skill integrates 6 Wind MCP servers and routes calls by , with a total of 19 tools.
server_type何时使用
When to Use
✅ 触发场景:
| 场景 | server_type |
|---|---|
| A 股 / 港股最新行情、K 线、分钟 | |
| 基金任何维度(档案 / 财务 / 持仓 / 业绩 / 持有人 / 管理公司) | |
| 股票档案 / 财务基本面 / 股本结构 / 公司事件 / 技术指标 / 风险 | |
| 上市公司公告、财经新闻 | |
| 宏观经济、行业经济指标(EDB) | |
| 不确定归属或跨域综合查询(fallback) | |
❌ 不触发场景:
- 美股 / 欧股 / 非中概股
- 汇率 / 期货盘口 / 加密货币
- 非金融数据
✅ Trigger Scenarios:
| Scenario | server_type |
|---|---|
| Latest market quotes, K-lines, minute-level data for A-shares/Hong Kong stocks | |
| Any dimension of funds (profile/finances/holdings/performance/holders/management company) | |
| Stock profile/financial fundamentals/equity structure/corporate events/technical indicators/risk | |
| Listed company announcements, financial news | |
| Macroeconomic, industry economic indicators (EDB) | |
| Uncertain attribution or cross-domain comprehensive queries (fallback) | |
❌ 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 未配置":
- 先问用户是否同意打开浏览器(避免突然弹)
- 同意后跑:
node scripts/cli.mjs open-portal - 用户登录 / 拿 Key 后,按 cli.mjs 提示三选一配置(推荐 C:全局 ,所有 wind skill 共享)
~/.wind-aimarket/config
If the first call reports "WIND_API_KEY not configured":
- First ask the user if they agree to open the browser (avoid sudden pop-ups)
- If agreed, run:
node scripts/cli.mjs open-portal - After the user logs in/obtains the Key, choose one of the three configuration options as prompted by cli.mjs (Recommendation C: Global , shared by all Wind skills)
~/.wind-aimarket/config
工具表(6 server / 19 工具)
Tool List (6 servers / 19 tools)
server_type=quote(3 个,结构化代码参数)
server_type=quote (3 tools, structured code parameters)
| 工具 | 说明 | 必填入参 |
|---|---|---|
| 实时行情快照(最新价 / 涨跌 / 成交) | |
| K 线(日 / 周 / 月,前复权 / 后复权 / 不复权) | |
| 分钟级行情 | |
| Tool | Description | Required Parameters |
|---|---|---|
| Real-time market snapshots (latest price/change range/trading volume) | |
| K-lines (daily/weekly/monthly, forward-adjusted/backward-adjusted/unadjusted) | |
| Minute-level market data | |
server_type=fund_data(6 个,自然语言入参)
server_type=fund_data (6 tools, natural language parameters)
入参统一:, 必填。
{question, lang?, version?}question| 工具 | 说明 |
|---|---|
| 基金基本档案(代码 / 简称 / 投资风格 / 业绩基准 / 费率 / 现任经理) |
| 基金财务(利润 / 净值 / 收入 / 费用 / 分红) |
| 持仓 + 资产配置(重仓股 / 申万 Wind 中信行业 / 投资风格) |
| 业绩 + 排名 + ETF / 二级交易数据 |
| 持有人结构(个人 / 机构 / 申购赎回 / 规模变动) |
| 基金管理公司档案 + 经理团队指标 |
Unified parameters: , is required.
{question, lang?, version?}question| Tool | Description |
|---|---|
| Basic fund profile (code/abbreviation/investment style/performance benchmark/fees/current manager) |
| Fund finances (profit/net value/revenue/expenses/dividends) |
| Holdings + asset allocation (top holdings/Shenwan Wind CITIC industries/investment style) |
| Performance + rankings + ETF/secondary trading data |
| Holder structure (retail/institutional/subscription & redemption/scale changes) |
| 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| 工具 | 说明 |
|---|---|
| 股票基本档案(公司信息 / 主营 / 行业分类 / IPO 上市板) |
| 财务基本面(盈利能力 / 资产负债 / 利润 / 现金流 / 增长率 / 杠杆) |
| 股本 + 股东(总股本 / 流通 / 前十大 / 实控人 / 限售解禁) |
| 事件 + 资本运作(IPO / 增发 / 配股 / 并购 / ST / 合规) |
| 技术指标 + 交易(涨跌幅 / MACD / KDJ / RSI / BOLL / 融资融券 / 龙虎榜 / 涨跌停) |
| 风险指标(Beta / Jensen Alpha / 波动率 / Sharpe) |
Unified parameters: , is required.
{question, lang?, version?}question| Tool | Description |
|---|---|
| Basic stock profile (company information/core business/industry classification/IPO listing board) |
| Financial fundamentals (profitability/assets & liabilities/profit/cash flow/growth rate/leverage) |
| Equity + shareholders (total share capital/circulating shares/top 10 shareholders/actual controller/restricted share unlocks) |
| Events + capital operations (IPO/rights issue/placement/merger & acquisition/ST/compliance) |
| Technical indicators + trading (price change/MACD/KDJ/RSI/BOLL/margin trading/龙虎榜/limit up & down) |
| Risk indicators (Beta/Jensen Alpha/volatility/Sharpe) |
server_type=financial_docs(2 个,文档 RAG)
server_type=financial_docs (2 tools, document RAG)
| 工具 | 说明 | 入参 |
|---|---|---|
| 公司公告 / 监管文件 / 招股书 / 业绩公告 / 致股东信 | |
| 财经新闻报道 | 同上 |
| Tool | Description | Parameters |
|---|---|---|
| Corporate announcements/regulatory documents/prospectuses/performance letters/letters to shareholders | |
| Financial news reports | Same as above |
server_type=economic_data(1 个,EDB 宏观 / 行业)
server_type=economic_data (1 tool, EDB macro/industry)
| 工具 | 说明 | 入参 |
|---|---|---|
| EDB 宏观 / 行业经济指标(自动 NL → 指标 ID) | |
⚠️ 当前后端 bug:含具体年份 / freq / beginDate 等高级参数时偶发报错(已反馈万得后端,2026-04-29)。简单 NL 问句稳定通过(例:'str' object has no attribute 'get'/"中国GDP")。"近10年中国新能源汽车产销量"
| Tool | Description | Parameters |
|---|---|---|
| EDB macro/industry economic indicators (automatic NL → indicator ID) | |
⚠️ Current backend bug: Occasionalerror when using advanced parameters like specific year/freq/beginDate (reported to Wind backend, 2026-04-29). Simple NL questions pass stably (e.g.,'str' object has no attribute 'get'/"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?}| 工具 | 说明 |
|---|---|
| 自然语言 → Wind 通用数据(覆盖 fund / stock 之外的杂项 / 跨域综合查询) |
Parameters: .
{question, lang?, version?}| Tool | Description |
|---|---|
| Natural language → general Wind data (covers miscellaneous/cross-domain queries beyond fund/stock) |
典型示例
Typical Examples
bash
undefinedbash
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 最近一周表现"}'
undefinednode 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
- 行情 / K 线 / 分钟 →
- 工具名拼对:先 查;不要凭印象写
list-tools - 报"未配置 Key"时先问用户再跑 ,不要无打招呼弹浏览器
open-portal - 复杂参数后端有 bug,遇报错降级为简单 NL 问句重试
economic_data
- 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
- Market quotes/K-lines/minute-level data →
- Spell tool names correctly: Check with first; do not write from memory
list-tools - When reporting "Key not configured", ask the user first before running , do not pop up the browser without greeting
open-portal - has a backend bug with complex parameters; if an error occurs, retry with a simple NL question
economic_data