hithink-finance-mcp

hithink-finance-mcp is a skill for Codex from HiThink-Tech/Financial-API. It costs 62 tokens per session (1,082 once invoked), scanned A, original, MIT.

A connection and usage guide for Hithink's financial-data MCP service. MCP is a standard way for an AI assistant to call an external tool; this service provides market, company, fund, futures, options, IPO, and financial-news data.

In plain words
What is it for?
Use it to configure the service, find securities, query prices and financial reports, inspect funds or derivatives, retrieve IPO information, and check available tool fields and limits.
Why use it?
It helps identify the right financial-data tool, supply its required parameters, and verify that the returned data matches the requested security, dates, units, and pages. It also covers authentication and connection problems.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to configure the service, find securities, query prices and financial reports, inspect funds or derivatives, retrieve IPO information, and check available tool fields and limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hithink-tech/financial-api/hithink-finance-mcp
About the project

HiThink-Tech/Financial-API is an official Tonghuashun service that provides A-share market data, including prices, financial statements, indices, sectors, funds and trading activity through APIs and developer tools. It serves AI agents, quantitative researchers and application developers. The catalogue add-ons help coding agents access and use this financial data.

HiThink-Tech/Financial-API · 4,715 stars · on GitHub · fuyao.aicubes.cn

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HiThink-Tech/Financial-API --skill hithink-finance-mcp
Clone the repo
git clone --depth 1 https://github.com/HiThink-Tech/Financial-API

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hithink-finance-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-mcp/github.svg)](https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-mcp)
Your own site
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-mcp"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hithink-finance-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-mcp"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01082
Opus 5.5 $0.00025 $0.00433
Sonnet 5.5 $0.00012 $0.00216
Haiku 4.5 $0.00006 $0.00108

Measured 18d ago against content hash ebf37c1bc523, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hithink-finance-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hithink-finance-mcp/SKILL.md · 46 lines

What it actually says

hithink finance MCP

同花顺金融数据 MCP 的配置、工具选路与契约入口。按业务意图选择服务,进入业务文档中以目标 tool 名称标记的独立小节。当前连接返回的 tools/list 和 schema 决定可用工具及实际参数。

配置与连接

  • 首次配置、认证或连接诊断:读取 MCP 配置;按宿主支持的配置位置和 Secret 机制设置服务。
  • 使用在 https://fuyao.aicubes.cn/admin/ 获取的 API Key,通过 X-api-key 请求头传递。先复用用户级 HITHINK_FINANCE_API_KEY 或受限凭据文件,详见 认证与恢复。
  • 已连接时只检查当前任务需要的服务。工具未出现在实时清单时,报告当前可用范围;静态文档和配置文件不能代替连接验证。

工具路由

用户意图 业务域与工具目录
名称、ticker、证券代码消歧;代码表与交易日程 公共基础数据
A 股价格、历史行情、公司行动、财报、估值、集合竞价、异动、榜单与 A 股新股 A 股
港股新股递表、认购、上市日历与发行详情 港股新股
指数、概念与行业板块目录、成分股和行情 指数与板块
基金档案、公司和经理、持仓、净值、收益、基金财务、资讯、回测、指标、QDII 额度及 ETF/LOF 行情 公募基金
期货品种、合约、持仓、仓单、基差、交易时段、日程与行情 期货
期权品种、合约、交易时段与行情 期权
资讯详情、快讯、公告解读、专题、异动解读与个股分时新闻 资讯
  1. 仅查询工具说明时,读取对应目录,按链接锚点定位业务文档中的目标 tool 小节。
  2. 实际取数时,用户只给名称或不完整代码,先用公共基础数据域的 get_meta_tickers_search 消歧为唯一 thscode。
  3. 在目标业务域选择 tool,读取该工具小节中的用途、入参、默认值、时间窗口、分页、返回字段和关联结构;同页其它工具按需读取。
  4. 按实时工具 schema 构造参数,执行调用并检查业务信封 code=0。确认结果中的标的、数据时间、口径、行数与分页范围。
  5. 只返回摘要;全市场、分页全集、多标的或长序列结果落盘,交付路径、行数、窗口与来源。

调用规则

  • 使用完整 thscode;身份不唯一时继续消歧,保留响应中的空代码、原记录和分页信息。
  • 最新快照和财报不追问复权;历史行情按目标 tool 的复权和窗口契约执行。
  • 时间戳、单位、日期与游标按工具契约传递;长整数标识使用字符串,null、零值、负数和空数组保持原义。
  • 批量上限、共享条件、合法空组和无效标的处理逐 tool 核对,不用循环逐个请求冒充原生批量能力。
  • 认证检查使用一个有界请求。认证失效时检查 Secret 注入和已有 Key 来源,更新后重连目标服务;参数、限流和上游错误按具体错误处理,避免无界重试。
  • 真实数据不可用时报告失败阶段和脱敏错误,不用模拟数据替代。说明实际完成的验证范围。
  • 端内专用能力按目录标记处理;以实时工具清单确认当前可调用范围。

配置与全部业务域索引见 MCP 接入 和 工具目录。

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago First seen · 46 lines · 62 tokens per session scan A ebf37c1bc523

Subscribe to this mod's changes

hithink-finance-mcp is a skill published in the GitHub repository HiThink-Tech/Financial-API (4,715 stars, last pushed 3d ago), licensed MIT. It adds 62 tokens to every session and 1,082 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.

Related

hithink-finance-mcp compared with skills from other repositories

hithink-finance-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hithink-finance-mcpHiThink-Tech/Financial-APISkill4.7k3d agoMITA62Codex
通达信TQadambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA56Claude Code, Codex
机构持仓股东分析adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA229Claude Code, Codex
问小达选A股adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA82Claude Code, Codex
政策解读与受益分析adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA248Claude Code, Codex
仓位决策adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA109Claude Code, Codex
生成交易计划adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA64Claude Code, Codex