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.
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.
npx skills add HiThink-Tech/Financial-API --skill hithink-finance-mcpgit clone --depth 1 https://github.com/HiThink-Tech/Financial-APIWrote 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.
[](https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-mcp)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 行情 | 公募基金 |
| 期货品种、合约、持仓、仓单、基差、交易时段、日程与行情 | 期货 |
| 期权品种、合约、交易时段与行情 | 期权 |
| 资讯详情、快讯、公告解读、专题、异动解读与个股分时新闻 | 资讯 |
- 仅查询工具说明时,读取对应目录,按链接锚点定位业务文档中的目标 tool 小节。
- 实际取数时,用户只给名称或不完整代码,先用公共基础数据域的
get_meta_tickers_search消歧为唯一thscode。 - 在目标业务域选择 tool,读取该工具小节中的用途、入参、默认值、时间窗口、分页、返回字段和关联结构;同页其它工具按需读取。
- 按实时工具 schema 构造参数,执行调用并检查业务信封
code=0。确认结果中的标的、数据时间、口径、行数与分页范围。 - 只返回摘要;全市场、分页全集、多标的或长序列结果落盘,交付路径、行数、窗口与来源。
调用规则
- 使用完整
thscode;身份不唯一时继续消歧,保留响应中的空代码、原记录和分页信息。 - 最新快照和财报不追问复权;历史行情按目标 tool 的复权和窗口契约执行。
- 时间戳、单位、日期与游标按工具契约传递;长整数标识使用字符串,
null、零值、负数和空数组保持原义。 - 批量上限、共享条件、合法空组和无效标的处理逐 tool 核对,不用循环逐个请求冒充原生批量能力。
- 认证检查使用一个有界请求。认证失效时检查 Secret 注入和已有 Key 来源,更新后重连目标服务;参数、限流和上游错误按具体错误处理,避免无界重试。
- 真实数据不可用时报告失败阶段和脱敏错误,不用模拟数据替代。说明实际完成的验证范围。
- 端内专用能力按目录标记处理;以实时工具清单确认当前可调用范围。
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.
- agents/openai.yaml 286 B
- references/authentication.md 2.2 KB
- references/mcp.md 6.7 KB
- references/mcp/a-share/anomaly-analysis.md 3.7 KB
- references/mcp/a-share/auction-opportunities.md 5.8 KB
- references/mcp/a-share/auction.md 5.0 KB
- references/mcp/a-share/calendar-trading-days.md 2.0 KB
- references/mcp/a-share/corporate-actions-adjustment-factors.md 3.7 KB
- references/mcp/a-share/dragon-tiger-department.md 5.1 KB
- references/mcp/a-share/financials-indicators.md 3.9 KB
- references/mcp/a-share/financials.md 29 KB
- references/mcp/a-share/hot-list-data.md 11 KB
- references/mcp/a-share/ipo-calendar-list.md 2.0 KB
- references/mcp/a-share/limit-up-data.md 13 KB
- references/mcp/a-share/prices.md 11 KB
- references/mcp/a-share/README.md 5.7 KB
- references/mcp/a-share/special-data-abnormal-monitor-list.md 2.6 KB
- references/mcp/a-share/special-data-dragon-tiger-list.md 4.8 KB
- references/mcp/a-share/special-data-dragon-tiger-stock-institution.md 2.9 KB
- references/mcp/a-share/special-data-limit-up-statistics.md 2.8 KB
- references/mcp/a-share/valuations-snapshot.md 4.1 KB
- references/mcp/fund/companies-detail.md 1.5 KB
- references/mcp/fund/corporate-actions-dividends.md 2.1 KB
- references/mcp/fund/diagnostics-detail.md 1.8 KB
- references/mcp/fund/fund-backtest.md 4.3 KB
- references/mcp/fund/fund-financials.md 5.8 KB
- references/mcp/fund/fund-holders.md 4.2 KB
- references/mcp/fund/fund-managers.md 6.3 KB
- references/mcp/fund/fund-market.md 9.6 KB
- references/mcp/fund/fund-performance.md 8.0 KB
- references/mcp/fund/fund-portfolio.md 9.5 KB
- references/mcp/fund/fund-quota.md 3.2 KB
- references/mcp/fund/news-article-list.md 2.4 KB
- references/mcp/fund/offerings-list.md 1.5 KB
- references/mcp/fund/portfolio-holdings.md 2.4 KB
- references/mcp/fund/profile-detail.md 2.3 KB
- references/mcp/fund/README.md 5.8 KB
- references/mcp/futures/calendar-session-timeline.md 1.6 KB
- references/mcp/futures/calendar-trading-schedule.md 2.0 KB
- references/mcp/futures/futures-basis.md 3.6 KB
- references/mcp/futures/futures-contracts-extended.md 6.7 KB
- references/mcp/futures/futures-positions.md 9.7 KB
- references/mcp/futures/futures-prices.md 3.6 KB
- references/mcp/futures/futures-reference.md 3.2 KB
- references/mcp/futures/README.md 3.4 KB
- references/mcp/futures/varieties-list.md 2.2 KB
- references/mcp/futures/variety-plates-list.md 1.3 KB
- references/mcp/futures/warehouse-receipts-historical.md 1.6 KB
- references/mcp/hk-share/hk-share-ipo.md 5.9 KB
- references/mcp/hk-share/README.md 670 B
- references/mcp/index/a-share-index.md 17 KB
- references/mcp/index/README.md 1.1 KB
- references/mcp/meta/README.md 1.2 KB
- references/mcp/meta/tickers-list.md 3.1 KB
- references/mcp/meta/tickers-search.md 3.7 KB
- references/mcp/news/anomaly-analysis.md 2.7 KB
- references/mcp/news/article-detail.md 1.9 KB
- references/mcp/news/news-flash.md 4.5 KB
- references/mcp/news/notice-detail.md 2.5 KB
- references/mcp/news/README.md 1.1 KB
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.
- 18d ago First seen · 46 lines · 62 tokens per session scan A ebf37c1bc523
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.
hithink-finance-mcp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hithink-finance-mcpHiThink-Tech/Financial-API | Skill | 4.7k | 3d ago | MIT | A | 62 | Codex |
| 通达信TQadambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 56 | Claude Code, Codex |
| 机构持仓股东分析adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 229 | Claude Code, Codex |
| 问小达选A股adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 82 | Claude Code, Codex |
| 政策解读与受益分析adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 248 | Claude Code, Codex |
| 仓位决策adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 109 | Claude Code, Codex |
| 生成交易计划adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 64 | Claude Code, Codex |