cn_futures_warehouse_stocks
Pack: cn-futures · 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/cn_futures_warehouse_stocks for the schema, then POST the same URL with its arguments for the data.
Shanghai Futures Exchange daily warehouse-receipt (warrant) stocks: gold and silver in kilograms, base metals, rebar, hot-rolled coil and other products in tonnes, with the day-over-day change and the per-warehouse breakdown. This is stock made into warrants for delivery, not total physical inventory. Pass a product code or name (au, ag, rb, copper…) for the full breakdown, or omit it for a one-line total per product. Defaults to the latest published report.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
product | string | no | Product code or name: “au” or “gold”, “ag” or “silver”, “rb”, “cu”… Omit for every product’s total. |
date | string | no | Report day, YYYY-MM-DD or YYYYMMDD. Omit for the latest published report. |
Example call
Arguments
{
"product": "ag",
"date": "2026-11-06"
}
curl
curl -X POST https://gateway.pipeworx.io/cn-futures/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cn_futures_warehouse_stocks","arguments":{"product":"ag","date":"2026-11-06"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cn_futures_warehouse_stocks', {
"product": "ag",
"date": "2026-11-06"
});
Response shape
| Field | Type | Description |
|---|---|---|
exchange | string | |
exchange_name | string | |
report_date | string | |
basis | string | |
source | string | |
data_as_of | string | |
product | string | |
name_en | string | |
sections | array |
Full JSON Schema
{
"type": "object",
"properties": {
"exchange": {
"type": "string"
},
"exchange_name": {
"type": "string"
},
"report_date": {
"type": "string"
},
"basis": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"product": {
"type": "string"
},
"name_en": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"section": {
"type": "string"
},
"unit": {
"type": "string"
},
"total_stock": {
"type": "number"
},
"total_change": {
"type": "number"
},
"total_basis": {
"type": "string"
},
"locations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"location": {
"type": "string"
},
"stock": {
"type": "number"
},
"change": {
"type": "number"
},
"is_subtotal": {
"type": "boolean"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
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 cn-futures pack
{
"mcpServers": {
"cn-futures": {
"url": "https://gateway.pipeworx.io/cn-futures/mcp"
}
}
}
See Getting Started for client-specific install steps.