@pipeworx/china-macro

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/china-macro’s. Install: one-click buttons

Connect to just the @pipeworx/china-macro pack

https://gateway.pipeworx.io/china-macro/mcp — only @pipeworx/china-macro’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 5

China’s PBOC Loan Prime Rate (贷款市场报价利率, LPR), National Bureau of Statistics headline indicators, 70-city house prices, SHIBOR and the government-bond yield curve — all keyless, sourced live.

Tools

  • china_lpr({ months? }) — up to the last 12 monthly LPR announcements (1-year and 5-year rate, plus reference date), newest first, and a latest field. The upstream only exposes a rolling ~1-year window — months caps at 12.
  • china_lpr_latest() — the current 1-year/5-year LPR print and its reference date only, without the history. Cheaper when a caller just wants “the current rate”.
  • china_macro_indicator({ indicator, periods? }) — one tool across nine headline indicators: cpi, ppi, pmi (manufacturing + non-manufacturing), gdp (year-to-date cumulative, by sector), industrial_production (industrial value-added growth), retail_sales, fixed_asset_investment, money_supply (M0/M1/M2), and trade (monthly export/import totals). Returns the latest period first, then up to periods (default 12, max 36) months/quarters of history — every field translated from its Chinese NBS name to an English name with its unit. Direct route (source: "nbs"). Reads the National Bureau of Statistics of China’s own database instead of the republisher. Each series comes back with its period, period_type (single_month / single_quarter / year_to_date), measure (index, pct_change_yoy, pct_change_qoq, change_pp, level, level_pct, rate_pct, diffusion_index), unit and base (e.g. “same month of the prior year = 100”), exactly as published and never converted; the publisher’s own unit string is kept as published_unit because it can be wrong (a base-100 index published as ”%”). A series whose base cannot be established from the publisher’s label returns basis_status: "unresolved" with the number only as value_raw. Blank periods are dropped and counted, never returned as nulls. Also adds urban_unemployment and capacity_utilization (quarterly), series (one named series), period, and region: a province name for its history, or "all" for the 31 mainland provincial-level regions in one period (cpi, ppi, industrial_production, fixed_asset_investment, gdp). Taiwan, Hong Kong and Macao are not in these series.
  • china_house_prices({ city?, month? }) — the 70-city new-build and resale residential price indexes. city (English name) for one city’s history (up to 24 months); month (“YYYY-MM”) to pin a release; neither for the latest month’s full 70-city cross-section.
  • china_rates({ series, days?, periods? }) — series: "shibor" for the Shanghai Interbank Offered Rate across all 8 tenors (latest fixing + daily history); series: "yield_curve" for the China Government Bond yield curve (dated 1-year/10-year benchmark history plus the full real-time quoted curve across all actively-traded maturities).

Auth

Keyless. No cookie or session.

Data sources

  • National Interbank Funding Center, under PBOC authorization — the Loan Prime Rate (china_lpr, china_lpr_latest).
  • National Bureau of Statistics of China — CPI, PPI, PMI, GDP, industrial value-added growth, retail sales, fixed-asset investment, money supply, and the 70-city residential price index (china_macro_indicator, china_house_prices).
  • National Bureau of Statistics of China, national and provincial statistics database — the direct route (source: "nbs", region): national monthly and quarterly series and the provincial cross-sections. data_as_of is the latest period with a value.
  • General Administration of Customs of China — monthly export/import totals (china_macro_indicator({ indicator: "trade" })).
  • China Foreign Exchange Trade System / National Interbank Funding Center — the SHIBOR fixing and China Government Bond yields (china_rates).

The LPR publisher exposes only a rolling ~12-month window, so china_lpr cannot return deeper history. LPR is announced monthly on the 20th (or the next business day) — expect china_lpr_latest’s reference_date to move roughly once a month.

The NBS and Customs figures reach us through a keyless republisher (Eastmoney’s data centre) that carries the official series; the NBS or Customs name stays first in every response’s source field and the intermediary second. The 1-year/10-year government-bond benchmark is the daily series disclosed under the IMF’s Special Data Dissemination Standard; it is capped at 60 rows per call here — request periods close to what you need rather than the daily maximum. The real-time yield curve defaults to Treasury bonds.

Tools

  • 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 busines
  • 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,
  • 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
  • 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
  • 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-tim

Tools

  • 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
  • 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 busines
  • 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,
  • 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
  • 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 f

Regenerated from source · build October 30, 2026