Hithink Finance

Financial-API (hithink-finance)

Official Tonghuashun skill for China A-share market data: quotes, financials, indices and funds via CLI, MCP or REST

Skill

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • Makes network calls to an external API with an access key
  • Can write financial data into a local DuckDB
All reasons and checks

hithink-tech/financial-api

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/financial-api-hithink-finance

Detects the agents on your machine, checks the risk and pins the version.

Other ways to install

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a claude-code -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .claude/skills
cp -R "$tmp/skills/hithink-finance" .claude/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a cursor -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .agents/skills
cp -R "$tmp/skills/hithink-finance" .agents/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a github-copilot -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .github/skills
cp -R "$tmp/skills/hithink-finance" .github/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a codex -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .agents/skills
cp -R "$tmp/skills/hithink-finance" .agents/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a gemini-cli -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .agents/skills
cp -R "$tmp/skills/hithink-finance" .agents/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .devin/skills
cp -R "$tmp/skills/hithink-finance" .devin/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Formerly Windsurf.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a cline -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .cline/skills
cp -R "$tmp/skills/hithink-finance" .cline/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a roo -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .roo/skills
cp -R "$tmp/skills/hithink-finance" .roo/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

A fork of Roo Code, same .roo folders.

Run in a terminal in the project folder

npx skills add hithink-tech/financial-api --skill hithink-finance -a opencode -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Without third-party tools, from commit 3bca780
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .agents/skills
cp -R "$tmp/skills/hithink-finance" .agents/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .agents/skills
cp -R "$tmp/skills/hithink-finance" .agents/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

Run in a terminal in the project folder

tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/hithink-tech/financial-api.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/hithink-finance/
git -C "$tmp" checkout 3bca7805a4127ece8d81961917e740d2effac6ec
mkdir -p .agents/skills
cp -R "$tmp/skills/hithink-finance" .agents/skills/hithink-finance

Commands for macOS and Linux, on Windows run them in Git Bash.

You will need: Node.js

Checked against the repository on Sep 25, 2026, commit 3bca780.

Text for your agent

Install the skill: npx skills add HiThink-Tech/Financial-API --skill hithink-finance -g --yes. Get an API key at fuyao.aicubes.cn/admin/ and give it to the agent on first use, or store it in the HITHINK_FINANCE_API_KEY variable.

Other ways from the author
npx skills add HiThink-Tech/Financial-API --skill hithink-finance -g --yes

Installs the hithink-finance skill globally through the skills registry.

This is third-party code. Review the repository files before installing.

What it does

The skill gives the agent one entry point to China's A-share market data from the official Tonghuashun vendor. It picks the right channel itself: CLI for terminal work and automation, MCP for chat or IDE sessions, REST for building it into your own service. Coverage includes quotes, financial statements, valuation multiples, indices and sector groups, mutual funds, public futures and options, plus syncing historical data into a local DuckDB. Before querying, the skill resolves a company name to a unique security code and clarifies the period and price adjustment method.

Who it is for. For analysts and developers who need official data on stocks, funds and indices from China's A-share market.

Good fit when

  • You need quotes, financials or valuation multiples for a specific A-share stock
  • You need index, sector or mutual fund data
  • You need to sync history into a local DuckDB for backtesting
  • The agent should choose between CLI, MCP and REST on its own

Not a fit when

  • You need minute bars, tick data, Level-2 quotes or Hong Kong and US listings
  • You cannot register at fuyao.aicubes.cn and obtain a key
  • You need to buy or redeem fund shares, not just read data

Example request

Find the latest financial statements and valuation multiples for ticker 600519 on the Shanghai exchange

Limitations

Requires a personal API key from fuyao.aicubes.cn, registered on a Chinese platform. Minute bars, tick data, Level-2 quotes, Hong Kong and US listings, and full news or research report text are not part of the public access. Some capabilities are available only inside Tonghuashun's own client, not through CLI, MCP or REST.

How to disable. Remove the skills/hithink-finance folder from your skills directory, or run npx skills remove hithink-finance.

Security check

  • Makes network calls to an external API with an access key
  • Can write financial data into a local DuckDB

README in short

The README describes Tonghuashun's unified financial data platform for China's A-share market: one API key unlocks quotes, opening auctions, financial statements, valuation, indices, funds, public futures and options, special data such as daily price limits, and a local DuckDB for long-term history storage. Access is available through a REST API, MCP, a Node.js CLI and a Python SDK; for agents the README recommends the Agent Skill, which chooses the right channel for the task. MIT licensed.

SKILL.md

---
name: hithink-finance
description: 通过同花顺金融数据服务查询、分析、同步或导出 A 股、指数、基金、期货、期权与本地 DuckDB 数据;用于选择和配置 CLI、MCP、REST API,以及执行金融取数任务。
---

# hithink finance

"同花顺金融数据服务"的统一 Agent 入口。按用户意图和当前环境选择 CLI、MCP 或 REST API,再按需读取业务契约。

官方 GitHub 仓库:HiThink-Tech/Financial-API。项目介绍、源码和问题反馈见仓库;执行任务优先读取本 Skill 内置文档及当前工具契约,无需下载仓库。

## 任务路由

1. 文档查询:仅询问接口说明、参数、字段或示例时,直接读取下面对应的接入入口和业务文档。
2. 执行任务:接受名称、简称或代码等自然语言输入,明确资产类别、时间范围、新鲜度、口径和输出规模。
3. 选择主路径:尊重用户指定方式;否则结合已有连接和任务选择 CLI、MCP 或 REST API 之一。
4. 逐层读取:REST 按接入入口读取,MCP 只读取目标业务域路由页。
5. 执行与交付:报告数据来源、数据时间、查询窗口、复权口径和摘要。

FAQ

How is CLI different from MCP and REST?

CLI fits terminal work, automation and the local DuckDB. MCP works inside a chat or IDE that is already connected. REST is for integrating the data into your own service in any language.

Do I need to know the exact security code in advance?

No, the skill searches for and resolves a unique code from a name or ISIN before running the query.

Editors’ pick

A set of investment research skills for Claude Code and Codex built on four investors' methodologies. It is a research tool, not investment advice

SkillMedium riskNo VPN needed16.6KRepository stars
Official

Stripe's official MCP server, plugins and skills: the agent searches the API and docs, reads and changes account data

MCP serverHigh riskNeeds a VPN1.8KRepository stars
Official

Alpaca's official MCP server: orders for stocks, ETFs, crypto and options, position management and market data in plain language

MCP serverHigh risk995Repository stars
Editors’ pick

An open-source skill that checks a Russian company by tax ID across EGRUL, bailiffs, courts, bankruptcy and sanctions, and returns a dated risk verdict

SkillLow riskRussian stackNo VPN needed4Repository stars
Foxx AIHithink Finance

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.