AI Invest Map

TickHub-CN

Quant toolsMarket dataFinancial integrations 2 GitHub stars

Stars updated:

Connect A-share quotes, financials and filings to an AI client, CLI or Python workflow.

At a glance

Resource type
Tool / product
Markets
China A-shares
Coding required
Coding required
How you use it
Self-hosted
License
Apache-2.0
Live execution
No direct execution
Crypto exposure
No
Individual access
Yes
Access / integration
External AI tool integration

About the tool

For investors who need A-share market data in an AI assistant, and developers who want the same data in scripts. With Python 3.11+, the project documents installing `tickhub-cn` and configuring a local MCP server (stdio or self-hosted Streamable HTTP); the `th-cn` CLI and Python client are alternatives. Provide a ticker, metric or date to retrieve quotes and candles, financial statements, fund flows, announcements/research reports, macro and index data, futures, options and convertible bonds. The documentation lists 124 canonical MCP tools plus 25 compatibility aliases across 14 layers, and says core sources need no account or API key. Responses include source, fetch time, cache state and trace ID; some tools accept `data_as_of` for historical look-back. The code is Apache-2.0 and the documented setup is primarily local; no hosted service was found. The README says coverage is narrower than AKShare and warns that upstream public endpoints can change; it is not exchange-authorized data and is not recommended for compliance disclosure or live-trading decisions. The documented HTTP MCP has no authentication, so a remotely exposed instance needs an authenticated reverse proxy. The current GitHub README says PyPI is live, recommends `pip install tickhub-cn`, and gives `1.0.1` as a pinned version; PyPI JSON confirms the wheel upload on 2026-10-26. The README points to GitHub Releases for offline packages, but that page currently has no GitHub release. The README embedded in the PyPI distribution is an older copy that still says PyPI has not published the package. Since current main has later commits from 2026-10-31, this run did not verify that PyPI 1.0.1 contains all current-main code. The repository shows an example labeled by its author as a live fetch; this run only reviewed documentation and did not install or test the software.

Running costs

Software
The repository and PyPI metadata identify Apache-2.0; the README calls the software free. Code licensing does not establish upstream data rights or commercial-use permission.
Model services
CLI/Python data retrieval does not require a model; AI-client/model charges depend on the chosen provider.
Data sources
The README says core sources require no account or API key. Upstream data terms, commercial-use rights and continuing availability were not confirmed; keyless access does not prove all data rights or costs.
Hosting
The documented setup is mainly self-hosted locally; no official hosted MCP endpoint or hosting price was found. Redis is optional; infrastructure costs depend on deployment.

Known limitations

  • Coverage is primarily A-shares and China-market data; US-stock or crypto support was not confirmed.
  • It depends on public endpoints and commercial aggregators; upstream changes, delays, rate limits or outages may affect results. The README says its coverage is narrower than AKShare.
  • The README says it is not exchange-authorized market data and is not recommended for compliance disclosure or live-trading decisions.
  • No order-placement tools were found. The documented HTTP MCP has no authentication; remote exposure needs separate authentication.
  • PyPI 1.0.1 was uploaded on 2026-10-26, while GitHub main has later commits from 2026-10-31; this run did not verify that the release matches current source. The README embedded in the PyPI package is older.

Documentation & resources