ashares_stock_connect
Pack: china-stocks · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ashares_stock_connect for the schema, then POST the same URL with its arguments for the data.
China Stock Connect daily Northbound/Southbound turnover, with an explicit note where daily net-flow is no longer published.
Tool description as the model sees it
Stock Connect (沪深港通) daily channel statistics: GROSS TURNOVER for Northbound (mainland A-shares bought via Hong Kong — 沪股通/深股通/combined) and Southbound (Hong Kong-listed stocks bought by mainland investors — 港股通沪/港股通深/combined), plus a best-effort per-stock “top traded stocks” list for Northbound. Answers “northbound stock connect turnover today”, “沪深股通成交额”, “how much did northbound/southbound trade today”, “stock connect top traded stocks”. IMPORTANT: mainland regulators (CSRC) stopped publishing DAILY net fund-flow figures (net buy/sell, daily inflow, remaining quota) for NORTHBOUND Stock Connect in August 2024 — every Northbound channel’s net_flow field says so explicitly rather than returning null as if it were real data; gross turnover is unaffected and is published daily for every channel. Southbound net flow is still disclosed by Hong Kong Exchanges and Clearing and is returned when available. A turnover-ranked top-10-stocks list for Northbound depends on an Eastmoney report that has returned a server error on every live probe during this build — the tool still attempts it live on every call and reports plainly under top_traded_stocks.northbound whether real data came back, rather than silently omitting the field or faking rows. Source: Shanghai Stock Exchange / Shenzhen Stock Exchange / Hong Kong Exchanges and Clearing, via Eastmoney datacenter (keyless).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | no | Trading day as YYYY-MM-DD or YYYYMMDD (default: most recent day with published data — today’s session often has not published yet). |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/china-stocks/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ashares_stock_connect","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ashares_stock_connect', {});
More examples
{
"date": "2026-10-16"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the china-stocks pack
{
"mcpServers": {
"china-stocks": {
"url": "https://gateway.pipeworx.io/china-stocks/mcp"
}
}
}
See Getting Started for client-specific install steps.