MCP server exposing 4 tools for china-customs.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/china-customs/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
china_trade_summary — China's total monthly merchandise trade — exports, imports, balance — in both USD and CNY (unit: 100 million), with official month-on-month and year-on-year percent changes, exactly as published by the General Administration of Customs (GACC) on its English site's 'preliminary' flash release. Defaults to the latest published month; pass `month` ("YYYY-MM") for an earlier one within the currently-linked range (see `available_months` in the response). Published on roughly a 1-week-after-month-end lag; a revised 'final' figure follows in GACC's next monthly cycle. 中国海关总署(GACC)月度进出口总值(美元、人民币),含环比、同比百分比。china_trade_by_country — China's merchandise exports/imports/balance by trading partner country or region, for the month and year-to-date, with year-on-year percent change — from GACC's English site 'final' monthly report. Optionally filter to one partner (substring match, e.g. "United States", "Japan", "Asia"). Values in US$1,000. 中国海关分国别(地区)进出口统计(美元)。china_trade_by_commodity — China's merchandise exports/imports by HS Section and 2-digit HS chapter (Division), for the month and year-to-date, with year-on-year percent change — from GACC's English site 'final' monthly report. Without `hs_section`, returns the 21 HS sections plus TOTAL; with it (a 2-digit HS chapter code like "84", or free text like "machinery"), also returns that section's individual chapters. Values in US$1,000. 中国海关分商品类别(HS 分类)进出口统计(美元)。china_trade_indices — China's trade indices — unit-value, quantum and value indices for exports or imports, base = same month of the prior year = 100 — from GACC's English site trade-index tables. Choose a classification via `series` (hs2, sitc2, bec, industry, hs4, sitc3) and `direction` (exports/imports); `chained` selects the chained-index variant. Returns TOTAL + section-level rows by default; pass a 2-digit HS2 `hs2` chapter code to drill into one chapter. NOTE: chapter/section labels in this specific GACC table are Chinese-only. 中国海关进出口价格、数量、金额指数(上年同月=100)。Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/china-customs/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io