MCP server exposing 5 tools for china-macro.
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-macro/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
china_lpr — China's PBOC Loan Prime Rate (贷款市场报价利率, LPR) history — the 1-year and 5-year benchmark lending rates, each with its official reference/announcement date. Published monthly on the 20th (or next business day) by the National Interbank Funding Center under PBOC authorization. The 1-year rate anchors most corporate and consumer loans; the 5-year rate anchors mortgages. Returns up to the last 12 monthly announcements (the publisher exposes only a rolling ~1-year window) plus a `latest` field for the most recent print. Answers "what is the current PBOC LPR", "China's 1-year and 5-year loan prime rate history", "when did the PBOC last cut the LPR". Keyless, sourced live from the National Interbank Funding Center, under PBOC authorization.china_lpr_latest — China's most recent PBOC Loan Prime Rate (贷款市场报价利率一年期/五年期, LPR 1Y/5Y) print only — a cheap single-row call for just the current 1-year and 5-year rates and their official reference/announcement date, without the 12-month history. Use china_lpr instead if you need the trend over time. Keyless, sourced live from the National Interbank Funding Center, under PBOC authorization.china_macro_indicator — China's headline National Bureau of Statistics (NBS) macro indicators — one tool, pick an `indicator`: `cpi` (Consumer Price Index, national/urban/rural, y/y + m/m), `ppi` (Producer Price Index), `pmi` (manufacturing + non-manufacturing Purchasing Managers' Index), `gdp` (quarterly GDP, published as year-to-date cumulative, by sector), `industrial_production` (industrial value-added growth), `retail_sales` (total retail sales of consumer goods), `fixed_asset_investment` (FAI), `money_supply` (M0/M1/M2 outstanding + growth), or `trade` (General Administration of Customs monthly export/import totals in USD). Returns the latest period's values first (with its period, e.g. "2026-09"), then up to `periods` months/quarters of history, newest first — every Chinese NBS field name translated to an English name with its unit and the index convention it uses (prior-period = 100 unless stated otherwise). Answers "China's latest CPI", "China PMI history", "China Q2 GDP growth", "China M2 money supply", "China's trade surplus last month". Default route is a republisher's data centre. Pass `source: "nbs"` to read the National Bureau of Statistics of China's own database directly: every series then carries its period, period TYPE (single month/quarter vs year-to-date), measure (index vs percent change vs level), unit and base, exactly as published and never converted, and `data_as_of`. The direct route also adds `urban_unemployment` (surveyed urban unemployment rate) and `capacity_utilization` (industrial capacity utilisation, quarterly), and `region` (a province name, or `all` for the 31 mainland provincial-level regions in one period) for cpi, ppi, industrial_production, fixed_asset_investment and gdp. A series whose base cannot be established from the publisher's own label comes back basis_status "unresolved" rather than guessed. Keyless, sourced live from the National Bureau of Statistics of China (General Administration of Customs for `trade`).china_house_prices — China's NBS 70-city residential price indexes — new-build commercial housing (新建商品住宅) and resale/existing housing (二手住宅), year-on-year and month-on-month, for Beijing, Shanghai, Shenzhen, and 67 other NBS-tracked cities. Pass `city` (English name, e.g. "Beijing") for that city's history (up to 24 months); pass `month` ("YYYY-MM") to pin a specific release; pass neither for the latest month's full 70-city cross-section. Index values use the prior period = 100 convention (e.g. 97.7 = a 2.3% year-on-year fall). Answers "Beijing home price index", "which Chinese cities have falling house prices", "China 70-city house price index for August". Keyless, sourced live from the National Bureau of Statistics of China, via Eastmoney's data centre.china_rates — China's money-market and government-bond benchmark rates. `series: "shibor"` returns the Shanghai Interbank Offered Rate across all 8 tenors (overnight through 1-year) — the latest 11:00-Beijing-time fixing plus up to `days` of daily history. `series: "yield_curve"` returns the China Government Bond yield curve: the dated 1-year/10-year benchmark series (IMF SDDS disclosure) plus CFETS's real-time quoted-yield curve across every actively-traded CGB maturity (~1 month to ~50 years). Answers "current SHIBOR rates", "China's 10-year government bond yield", "China yield curve history". Keyless, sourced live from the China Foreign Exchange Trade System / National Interbank Funding Center.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/china-macro/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io