China Exchange Data

v0.2.1
io.github.pipeworx-io/china-exchange-data Checked 2 days ago Published 1 month ago

China Exchange Data MCP (SZSE + SSE).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ashares_sector_flows

深交所 A股行业板块统计 — SZSE-official per-industry (行业) turnover ranking for the Chinese A-share market: turnover amount (成交金额/亿元), share volume, company count, total and float market cap, and weighted-average P/E, one row per SZSE industry classification (A 农林牧渔 … T 综合 etc.), for a given trading day. This is the exchange's own published turnover-by-industry statistic — NOT the vendor-computed "主力资金净流入" (large-order net capital inflow) metric that East Money / 同花顺-style trackers publish; neither SZSE nor SSE discloses that classi…

ParameterTypeDescription
datestringTrading day as YYYY-MM-DD (default: today). SZSE returns the most recently published session if the exact date has no data yet.
topnumberHow many industries to return, 1-50 (default 10, all if omitted total is under that).

ashares_index_bars

上证/深证指数日线周线年线 — Daily, weekly, or annual OHLC + volume + turnover bars for a major China A-share index: 上证指数 Shanghai Composite (000001), 上证50 (000016), 沪深300 CSI 300 (000300), 科创50 STAR50 (000688) from SSE; 深证成指 Shenzhen Component (399001), 创业板指 ChiNext (399006) from SZSE. Weekly history goes back up to 6 years (312 bars); `years` returns one bar per calendar year (close + year-over-year pct change) for multi-year questions like "5 years of annual closes for CSI 300". Answers "上证指数000001最近10个交易日OHLC", "Shanghai…

ParameterTypeDescription
daysnumberNumber of daily bars to return, 1-250 (default 10). Ignored if weeks or years is set.
indexstringIndex code: 000001 (上证指数), 000016 (上证50), 000300 (沪深300), 000688 (科创50), 399001 (深证成指), 399006 (创业板指). Default 000001.
weeksnumberNumber of weekly bars to return, 1-312 (up to ~6 years). Overrides days when set; ignored if years is set.
yearsnumberNumber of annual bars to return, 1-40 — one bar per calendar year with close and year-over-year pct_change. Overrides weeks and days when set. E.g. years:6 for 2020-2025 inclusive.

ashares_market_bars

沪市全市场行情 — Full-market latest-session board snapshot for SSE-listed A-shares (~2,358 stocks): code, name, last price, change %, volume, turnover amount (成交额). Built for running screens (momentum vs index, top movers) without querying each stock individually. This is the LATEST available trading session only (a live board snapshot, not a historical-date archive) — SZSE does not expose an equivalent single-call full-market bulk endpoint (its per-stock snapshot report needs one call per code), so this tool covers the Shanghai exchange only; asking for a past date returns th…

ParameterTypeDescription
datestringRequested date, YYYY-MM-DD. Informational only — the tool always returns the latest available SSE session and reports whether it matches this date.
limitnumberMax rows to return, 1-2500 (default 500). The response always reports the true total row count on the board.
sortstringSort rows by turnover amount (default), change %, or volume, descending.

ashares_bulletins

上交所上市公司公告 — SSE-listed company disclosure bulletins (公告) by 6-digit code: title, type (半年报/年报/董事会/股东会/回购/关联交易 etc.), date, and the PDF URL on sse.com.cn. Answers "600519最新公告", "贵州茅台公司公告", "SSE company bulletins since 2026-01-01", "annual report / 年报 filings for a code". SZSE-listed codes (0/3-prefixed) are not covered — this endpoint is SSE-only. Source: SSE queryCompanyBulletinNew (keyless).

ParameterTypeDescription
code *string6-digit SSE code, e.g. "600519" (贵州茅台).
limitnumberMax bulletins to return, 1-100 (default 20, newest first). The response always reports the true total on file.
sincestringOnly return bulletins on or after this date, YYYY-MM-DD (default: no lower bound — most recent first).
typestringFilter by bulletin type substring, e.g. "年报" or "股东会" (default: all types).