iFinD-Finance-Data2: Let Agents Query iFinD (Hithink RoyalFlush) Data via Natural Language

Introduction

When developing quantitative scripts, assisting with research reports, or handling investment research Q&A, common practices include hand-coding REST clients, maintaining metric dictionaries, or pasting CSVs into conversations. Data calibration and announcement retrieval often require a separate service. Here, we introduce ifind-finance-data2 on SkillHub: it encapsulates the Tonghuashun iFinD financial data MCP capabilities into a universal Skill, allowing Agents like Cursor and Claude Code to initiate queries for stocks, funds, macroeconomics, and announcements via natural language within conversations.

What is This

ifind-finance-data2 (coordinate @user_c163d6d4/ifind-finance-data2) is a community-sourced (community) Agent Skill categorized as professional. The current released version on SkillHub is 1.0.0; the page indicates requires_api_key=true, meaning an iFinD MCP key must be configured before use.

The Skill’s self-described capabilities include Tonghuashun financial data queries covering stocks, funds, macroeconomics, industry economics, news announcements, bonds, Hong Kong/US stocks, and indices. It supports intelligent stock/fund screening, macro/industry economic indicator queries, and financial announcement search. The product homepage listed in the skill documentation is https://www.51ifind.com. It calls the Tonghuashun financial data MCP interface via call.py / call-node.js under the hood, rather than having the model hallucinate market data.

Core Functions

According to the Skill documentation, capabilities are divided by server_type, and Agents initiate requests via call(server_type, tool_name, params).

  1. Stocks (stock): Intelligent stock screening search_stocks, summary and quotes get_stock_info, financials get_stock_financials, shareholders, risk indicators, ESG, major events, etc.
  2. Funds (fund): Fund screening search, details, quotes/performance, holdings, holders, fund company information, etc.
  3. Macro & Industry Indicators (edb): search_edb to search indicators, get_edb_data to retrieve data; suitable for a “search first, then query” workflow.
  4. News & Announcements (news): Semantic retrieval via search_news, search_notice; search_trending_news for hot topics, supporting time range and count.
  5. Bonds (bond): Basic information, quotes/valuation, issuer financials, and special indicators like convertible bonds.
  6. HK & US Stocks (global_stock): Stock screening, basic info, quotes, financials, announcements/events; screening requires a market parameter (HK/US).
  7. Indexes & Sectors (index): Index quotes and sector constituents, etc.

Documentation suggestion: query parameters can combine multiple entities and indicators, but the number of entities and indicators should be kept within 5; sector queries should be mindful of result truncation caused by excessively large industry or time ranges.

Installation and Activation

Install from SkillHub

The installation method provided on the official Skill page is to instruct the AI to follow the SkillHub installation documentation and install the specified coordinate. You can send the following prompt to the Agent:

Please install `@user_c163d6d4/ifind-finance-data2` according to https://skillhub.cn/install/skillhub.md.

Note: The skillhub.md installation page returned a 500 error at the time of scraping; please refer to the current content of that document for specific CLI subcommands. Coordinates and versions are subject to SkillHub.

Keys and Environment

Keys must be configured before first use. The Skill documentation requires:

  • Write a valid auth_token into the mcp_config.json in the skill directory (the example placeholder is “Your iFinD-MCP Key”).
  • If there is no valid key, obtain it from MCP Official Website → Personal Center → Keys and write it in. The “First Use” section of the documentation also mentions config.json, which coexists with mcp_config.json in the notes; the actual data retrieval script relies on mcp_config.json (shared by both Node and Python solutions).
  • The runtime environment must have Node.js or Python. The Python solution requires requests. If the language is not specified and the environment is uncertain, the documentation recommends prioritizing Node.js (call-node.js, with no additional npm dependencies).

Concurrency and Quota

The documentation defaults to free users: maximum 2 concurrent requests per second; Personal Edition formal is 5, Enterprise Edition formal is 10. If quotas are uncertain, users can be guided to check on the MCP official website.

Typical Usage

After installation and setting up the auth_token, the Agent can call the encapsulated function within the skill directory; the request address and authentication are built into the script, so there is no need to construct URLs manually.

Node.js (Recommended when Python is unavailable or the environment is unknown):

const { call } = require('./call-node.js');

(async () => {
  const result = await call("stock", "search_stocks", {
    query: "电子行业市值排名前20的股票"
  });
  console.log(JSON.stringify(result, null, 2));
})();

Python:

from call import call

result = call("stock", "search_stocks", {"query": "电子行业市值排名前20的股票"})
print(result)

The return structure includes ok, status_code; on success, there is data, and on failure, there is error; callers should check ok.

Macro indicators can be searched and then queried:

call("edb", "search_edb", {"query": "新能源汽车产量相关指标"})
call("edb", "get_edb_data", {"query": "新能源汽车产量当月值(202301-202506)"})

Announcement retrieval example (time format YYYY-MM-DD):

call("news", "search_notice", {
    "query": "光迅科技2024年度报告 光模块技术",
    "time_start": "2025-01-01",
    "time_end": "2026-01-01",
    "size": 5
})

If a tool name throws an error or does not match the server side, you can use list_tools(server_type) as a backup to pull the list of currently online tools; under normal circumstances, prioritize using the tool_name from the documentation to call directly.

Use Cases and Notes

Who is it for

  • Developers already doing investment research, writing backtesting scripts, or organizing announcement highlights in Cursor / coding Agents that support Skills, and who wish to unify data standards via iFinD.
  • Teams that need to chain stock screening, financial report indicators, macro EDB, and news announcement retrieval within a single conversation, without writing separate HTTP clients for each data type.

Limitations and Notes

  • Must possess an iFinD MCP key; the SkillHub tag already indicates requires_api_key=true.
  • Data and compliance boundaries are subject to the Tonghuashun iFinD / MCP Terms of Service; the Skill is community-released (publisher user_c163d6d4) and may differ from official product support channels.
  • Comply with the concurrency limits in the documentation; queries for trending news with too many conditions may result in no results, so conditions can be relaxed or information search can be used instead.
  • The documentation requires cleaning up data retrieval scripts temporarily generated by the Agent after a single task is completed to avoid residual duplicate logic in the directory.

SkillHub page statistics (based on scraping): Rating 100000, Downloads 3072 times; this can serve as a reference for the popularity of community professional financial Skills but does not represent a promise of service quality.

Conclusion

After the steps above, the value of ifind-finance-data2 can be summarized as: converging iFinD’s multi-category financial data MCP into a Skill convention readable by Agents (server_type + natural language query), reducing the integration cost of querying quotes, financials, macroeconomics, and announcements within conversations. Official Skill Address: https://api.skillhub.cn/user_c163d6d4/ifind-finance-data2; SkillHub Display Page: https://www.skillhub.cn/skills/user_c163d6d4/ifind-finance-data2.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye