cn_futures_weekly_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_weekly_stocks for the schema, then POST the same URL with its arguments for the data.

Shanghai Futures Exchange weekly stock report: last week, this week and the change in warehouse-receipt (warrant) stock per product (silver and gold in kilograms, base metals, rebar and others in tonnes), with the per-warehouse breakdown. Weekly figures as of the last trading day of the week, complementing the daily cn_futures_warehouse_stocks. Pass a product code or name (ag, silver, au, cu…) or omit it for one line per product. Defaults to the latest published week; pass date for an earlier Friday.

Parameters

NameTypeRequiredDescription
productstringnoProduct code or name: “ag” or “silver”, “au” or “gold”, “cu”, “rb”… Omit for every product.
datestringnoReport day (the week’s last trading day, normally a Friday), YYYY-MM-DD or YYYYMMDD. Omit for the latest published report.

Example call

Arguments

{
  "product": "ag",
  "date": "2026-11-27"
}

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_weekly_stocks","arguments":{"product":"ag","date":"2026-11-27"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('cn_futures_weekly_stocks', {
  "product": "ag",
  "date": "2026-11-27"
});

Response shape

FieldTypeDescription
exchangestring
exchange_namestring
report_datestring
prior_week_report_datestring
prior_week_notestring
report_issuestring | null
basisstring
sourcestring
data_as_ofstring
productstring
name_enstring
section_countnumber
sectionsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string"
    },
    "exchange_name": {
      "type": "string"
    },
    "report_date": {
      "type": "string"
    },
    "prior_week_report_date": {
      "type": "string"
    },
    "prior_week_note": {
      "type": "string"
    },
    "report_issue": {
      "type": [
        "string",
        "null"
      ]
    },
    "basis": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "product": {
      "type": "string"
    },
    "name_en": {
      "type": "string"
    },
    "section_count": {
      "type": "number"
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "section": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "last_week_stock": {
            "type": "number"
          },
          "this_week_stock": {
            "type": "number"
          },
          "change": {
            "type": "number"
          },
          "total_basis": {
            "type": "string"
          },
          "lines": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "location": {
                  "type": "string"
                },
                "last_week_stock": {
                  "type": "number"
                },
                "this_week_stock": {
                  "type": "number"
                },
                "change": {
                  "type": "number"
                },
                "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.

Regenerated from source · build November 29, 2026