Vibe Coding Discover

MCP

Financial-API

View on GitHub

同花顺官方 A股金融数据服务,提供股票实时行情、历史行情、财务报表、指数、板块、涨停等数据,适用于 AI Agent、量化研究和应用开发,支持 API、MCP、CLI 和 Python。Official Tonghuashun (HiThink) A-share financial data service providing real-time and historical stock market data, financial statements, indices, sectors and limit-up data for AI agents, quantitative research and application development.

★ 3.7K323 forksTypeScriptMITHiThink-Tech

Official HiThink/Tonghuashun A-share financial data service: real-time and historical quotes, financials, indices, sectors, funds, futures and options via REST API, six hosted MCP servers, Node CLI, Python SDK and an installable hithink-finance Agent Skill. Requires an API key.

Use Cases

Query real-time A-share stock quotes from an AI agentPull historical K-line data for backtesting researchAnalyze income statements, balance sheets and financial ratiosFetch index, sector and constituent snapshotsTrack limit-up, 炸板 and 龙虎榜 specialty dataLook up mutual fund NAV, holdings and performanceGet public futures and options contract dataBuild and incrementally sync a local DuckDB market databaseExport full-market or long-window data dumps to diskAuto-query financial data in Claude Desktop or Cursor via hosted MCP serversResolve stock names or codes into unique thscode identifiersBatch valuation snapshots (PE, PB, PS, PCF)

Built With

Language
TypeScript
Frameworks
Node.js · TypeScript · Python · DuckDB · MCP · REST API · Vitest · pytest

Tags

a-share · financial-data · mcp · cli · python-sdk · agent-skill · rest-api · quantitative-finance · duckdb · stock-market · china-stock-market · market-data · npm-package · agent-integration