What it does
ashareport provides nine tools for China mainland A-share stock data: historical prices, realtime quotes, news, balance sheet, income statement, cash flow, inner trades and financial metrics. A local time tool returns the ISO time, a Unix timestamp and the last trading day. It runs as a command line program or as a stdio MCP server.
Someone would reach for it to pull A-share market data into an MCP-capable assistant or into scripts. Each data tool tries the requested source first, then a fixed fallback order for its domain, such as eastmoney, eastmoney_direct, sina and ths for historical data. It stops at the first non-empty result, and if every source fails, the error lists each source and its error. Defaults are interval day, no price adjustment, and 100 recent records for historical data or 10 for the other recent-N tools.
The data tools do not query markets directly. They send a JSON POST request to an endpoint set by the ASHAREPORT_API_URL variable and return that endpoint's answer. The publisher describes this as a TypeScript rebuild of an earlier Python library. The time tool runs fully locally. The CLI returns exit code 0 on success, 1 on a tool error and 2 on a usage error.
Limitations and requirements
The data tools need the ASHAREPORT_API_URL endpoint to be configured; without it they return an error. The last-trading-day calculation skips only Saturdays and Sundays, because exchange holidays are not modelled. The indicators_list parameter is passed through to the endpoint and is not computed locally.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.CloudCorpRecords/ashareport
A-share stock data: history, realtime, news, statements and metrics.
v0.1.0As shown on registry.modelcontextprotocol.io when we last read it