Wind Financial Data: Enabling Agents to Query Market Data and Fundamentals via Wind MCP

Preface

When conducting investment research assistance, financial report verification, or sector screening, relying solely on model memory to answer questions like “Kweichow Moutai’s latest price” or “The PE percentile of a certain index” often leads to untraceable results. A common workaround is to open a separate terminal to check Wind, then paste the numbers back into the conversation, which easily breaks the context flow. The following is an introduction to the Wind Financial Data Skill on SkillHub (@user_db7424f5/udb7-wind-financial-data, v1.0.0): it connects the Wind financial database to an Agent via a local CLI, fetching data according to tool contracts before formulating responses.

What is this

Wind Financial Data is a financial data Skill designed for AI Agents, located at @user_db7424f5/udb7-wind-financial-data. On SkillHub, it is categorized as professional and sourced from the community. The SkillHub page is maintained by the publisher user_db7424f5. The package metadata indicates the author is Wind, and the homepage is Wind Financial AI Market.

In one sentence: It accesses the Wind database via the MCP protocol, covering queries for A-shares, Hong Kong stocks, US stocks, fund ETFs, index sectors, bonds, announcements, news, and macroeconomic indicators. The official introduction explicitly states it does not include European stocks, Japanese stocks, or crypto assets.

Current SkillHub display: Rating 100000, Downloads 8162. The tag requires_api_key=false indicates that installing the Skill itself does not require a SkillHub API Key, but configuring a WIND_API_KEY is still necessary to actually invoke the Wind backend (see below).

Core Functions

Capabilities are divided by server_type. The authoritative list of tool names is found in the package’s references/tool-manifest.json. Key functions include:

server_type Typical Capabilities
stock_data Shanghai, Shenzhen, HK, and US stock screening; latest price/quotes/K-line; profile; financials; shareholders; events; technicals; risk
fund_data Fund/ETF screening; quotes; profile; financials; holdings; performance; holders; fund companies
index_data Index/sector quotes; K-line; profile; fundamentals; technical indicators
bond_data Bond profiles; issuers; quotes & valuation; issuer financials
financial_docs Listed company announcements; financial news retrieval
economic_data Macroeconomic/Industry EDB indicators
analytics_data Fallback for structured data retrieval via natural language (README suggests using only when specific tools cannot cover the requirement)

The example queries in the SKILL metadata (which can be asked to the Agent in natural language after installation) include: screening for Shanghai/Shenzhen stocks with a market cap over 50 billion and rising for 5 consecutive days, HK tech stock screening, equity fund return screening, Kweichow Moutai’s latest price, Apple (AAPL) K-line for the last 30 days, fund size and manager, CSI 500 PE/PB percentiles, annual report content, and new energy vehicle production and sales volume.

Installation and Activation

1. Install SkillHub CLI (if not already installed)

Check or install according to the SkillHub Installation Instructions:

command -v skillhub && skillhub --version

If not installed, you can execute:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill

The installation prompt provided on the official page is: Please install @user_db7424f5/udb7-wind-financial-data according to https://skillhub.cn/install/skillhub.md.

When installing via the command line, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized. Common path examples:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Example:

skillhub install @user_db7424f5/udb7-wind-financial-data --dir ~/.cursor/skills/

After installation, the Skill directory contains files such as SKILL.md, scripts/cli.mjs, and references/tool-contracts.md. Currently, the SKILL.md in the v1.0.0 package primarily consists of YAML metadata and example queries, while detailed tool tables and parameter descriptions are in references/tool-contracts.md and README.md.

The package’s README.md also provides a path to install the same capabilities from the official Wind repository via npx skills add (GitHub / Gitee mirrors). If you have already installed @user_db7424f5/udb7-wind-financial-data from SkillHub, you generally do not need to repeat this, unless you wish to switch to the global -g installation method described in that documentation.

3. Configure Wind API Key

Data retrieval requires a WIND_API_KEY, which can be obtained at Wind Financial AI Market.

You can open the configuration wizard within the Skill directory:

cd <skills_dir>/@user_db7424f5/udb7-wind-financial-data
node scripts/cli.mjs open-portal

The README explains: If the CLI returns KEY_MISSING, configure it according to error.agent_action / error.hint in the stdout JSON. The reading order is user global config, current Skill local config, and the environment variable WIND_API_KEY.

Typical Usage

After installation and Key configuration, simply use the queries found in the SKILL metadata, such as:

  • “What is Kweichow Moutai’s latest price today?”
  • “Apple (AAPL.O) K-line for the last 30 days”
  • “Screen for equity funds with a return over 20% in the past year”

The Agent should route requests by server_type, execute node scripts/cli.mjs call ... in the Skill root directory, and answer based solely on the results returned by Wind.

Direct CLI Invocation (Reproducible)

First, cd to the root directory of this Skill (not the business project root). The command format is:

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

Examples embedded in references/tool-contracts.md and scripts/cli.mjs include:

# Shanghai/Shenzhen Stock Screening
node scripts/cli.mjs call stock_data search_stocks '{"question":"筛选沪深市场市值超500亿且连续5日上涨的股票"}'

# Latest price indicators for a single ticker (see references/indicators.md for index field names)
node scripts/cli.mjs call stock_data get_stock_price_indicators '{"windcode":"600519.SH","indexes":"中文简称,最新成交价,涨跌幅,成交量"}'

# K-line (Date format yyyyMMdd, must pass both begin_date / end_date)
node scripts/cli.mjs call stock_data get_stock_kline '{"windcode":"600519.SH","begin_date":"20260401","end_date":"20260430"}'

# Financial News
node scripts/cli.mjs call financial_docs get_financial_news '{"query":"美联储利率政策","top_k":5}'

Note: windcode must be a single ticker string (e.g., 600519.SH, AAPL.O, 005827.OF); multi-ticker comparisons require splitting into multiple calls. K-lines use begin_date/end_date, while minute quote tools use begin/end; do not mix them.

Applicable Scenarios and Notes

Who it is for: Users who need verifiable financial Q&A within environments supporting Skills (such as Cursor, Claude Code, Codex)—covering stock screening conditions, single ticker quotes and fundamentals, fund/index/bond profiles, announcements, news, and macro series, provided the target scope is within A-shares, HK stocks, US stocks, and related instruments.

Limitations and Pitfalls:

  • The data scope is subject to the SkillHub introduction: Excludes European stocks, Japanese stocks, and crypto. The README also states it does not include certain non-China/non-US markets, exchange rates, or futures order books. Out-of-scope requests should be explicitly stated rather than speculated upon.
  • analytics_data is a fallback entry; for clear intentions like announcements, news, macro, quotes, or financials, prioritize the corresponding server_type.
  • Passing JSON in Windows PowerShell 5.x can easily trigger INVALID_PARAMS_JSON. Refer to the Shell escaping instructions in the package documentation or use the @scripts/request-*.json parameter passing method (if specified in the SKILL body).
  • When invoking the Wind backend from sandboxes like Codex requiring network access, the README mentions that require_escalated might be needed.
  • The Skill performs a daily background update check as per the README, writing results to update-state.json. This does not affect the logic for subsequent data retrieval on the same day.

Conclusion

Wind Financial Data encapsulates Wind’s MCP toolchain into an Agent Skill: install coordinates @user_db7424f5/udb7-wind-financial-data, use cli.mjs to fetch data according to contracts, making it suitable for completing “data querying” and “analysis writing” within the same session.

  • SkillHub Page: https://www.skillhub.cn/skills/user_db7424f5/udb7-wind-financial-data
  • API Entry (SkillHub): https://api.skillhub.cn/user_db7424f5/udb7-wind-financial-data
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye