MCP server exposing 4 tools for china-safe.
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-safe/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
china_fx_reserves — China's official reserve assets (官方储备资产) by month, from SAFE's English site: headline FX reserves (外汇储备), IMF reserve position, SDR holdings, gold (value + ounces), other reserve assets, and the total. MONTHLY data, published roughly one week after month-end (verified 2026-09-07: August 2026 reserves — USD 3,438.325bn FX reserves, USD 3,854.885bn total — were the newest data, published 2026-09-07). Values in 100-million USD/SDR as SAFE publishes them, plus a convenience *_usd_billion field for the two headline totals.china_balance_of_payments — China's quarterly balance of payments (国际收支平衡表) from SAFE's English site — current account (goods, services, primary/secondary income), capital and financial account, reserve-assets change, and net errors and omissions. QUARTERLY, with roughly a 3-month lag after quarter-end (verified 2026-09-07: latest available quarter was 2026Q1, published 2026-06-26 — this is the standard BPM6 release cadence, not a stale site; Q2 2026 was not yet due). Sign convention for the financial account: a positive value for assets is a net DECREASE, negative is a net INCREASE (SAFE's own footnote).china_external_debt — China's gross external debt position by sector (外债, since 2014Q4) from SAFE's English site — total, by maturity (short-term/long-term, on an original-contract basis), and by institutional sector (general government, central bank, other depository corporations, other sectors, direct-investment intercompany lending). QUARTERLY, roughly a 3-month lag after quarter-end (verified 2026-09-07: latest was 2026Q1, published 2026-06-26 — same normal BPM6 cadence as the balance-of-payments release). Values in 100-million USD.china_safe_releases — Lists the actual publish dates of SAFE's reserves/BOP/external-debt English pages, straight from each page's own PubDate metadata and its attached file's upload timestamp — NOT the article's permalink date, which is frequently years stale (SAFE republishes data in place at old URLs; a 2026 reserves table can sit at a 2021-dated link). Use this to check how current the other three tools' data is before citing it.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/china-safe/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io