China Macro logo

China Macro

Keyless MCP access to China’s LPR, macro indicators, house prices, SHIBOR, and government-bond yields.

Install China Macro

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "china-macro": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-china-macro"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 5 tools correctly (9d ago).

Overview

China Macro MCP server provides live, keyless access to Chinese interest-rate and economic data through the Pipeworx gateway. Its tools cover PBOC LPR, National Bureau of Statistics indicators, 70-city residential prices, SHIBOR, and China government-bond yields. Use it for macroeconomic monitoring, rate analysis, or agent workflows that need recent China data without managing upstream credentials. It is an independent, unofficial integration and can be connected over streamable HTTP or through a local npm stdio bridge.

Use cases

  • Track monthly LPR changes and compare one-year versus five-year rates
  • Retrieve recent Chinese CPI, PPI, PMI, GDP, and trade data
  • Analyze residential price movements across China’s 70 major cities
  • Monitor SHIBOR fixings and government-bond yield curves

Key features

  • Keyless access to live China macro and rates data
  • One-year and five-year LPR history and latest-rate lookup
  • Nine headline macro-indicator families with NBS regional data
  • 70-city new-build and resale house-price indexes
  • SHIBOR across eight tenors and government-bond yield curves
  • Hosted streamable HTTP endpoint and npm stdio bridge

Tools5

What China Macro lets your agent do. Expand a tool for its parameters.

Verified live~1.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

9/9 checks healthy over the last 44d

What it can do

From the 5 tools this server returned when we ran it; 5 declare their own safety hints.

Makes network requests · 5Read-only tools · 5
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age40 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-china-macro (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.4kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.

How China Macro works

What China Macro MCP server does

China Macro exposes Chinese macroeconomic and financial data as MCP tools for AI clients and other MCP-compatible applications. The service covers the Loan Prime Rate (LPR), headline economic indicators, residential price indexes for 70 cities, SHIBOR fixings, and China government-bond yields.

The data is sourced from Chinese official institutions and market-data systems. LPR comes from the National Interbank Funding Center under PBOC authorization. National statistics and residential prices come from the National Bureau of Statistics of China, while trade totals come from the General Administration of Customs. SHIBOR and bond yields use data from the China Foreign Exchange Trade System and the National Interbank Funding Center.

How it works

The hosted MCP endpoint is available at https://gateway.pipeworx.io/china-macro/mcp. Add that URL to an MCP client to expose the China Macro tools. A local npm package, @pipeworx/mcp-china-macro, provides a stdio bridge that forwards requests to the same hosted endpoint and therefore requires network access.

The service is keyless for anonymous use. The hosted endpoint can also be called directly over HTTP, including through the /v1/tools/{tool} routes. A full Pipeworx gateway endpoint is available when an application needs the broader catalog rather than this pack’s directly listed tools.

Pack endpoints also expose shared Pipeworx meta-tools. These include routing and discovery functions such as ask_pipeworx, which can select tools across the wider catalog. The local bridge lists only the pack tools unless PIPEWORX_META_TOOLS=1 is set.

Setup and configuration

For a hosted connection, configure an MCP client with:

config.json
{
  "mcpServers": {
    "china-macro": {
      "url": "https://gateway.pipeworx.io/china-macro/mcp"
    }
  }
}

For the local bridge, use:

config.json
{
  "mcpServers": {
    "china-macro": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-china-macro"]
    }
  }
}

Anonymous npm usage is capped at 50 calls per day. Setting PIPEWORX_API_KEY with a Pipeworx account raises the allowance to 200 calls per day. NODE_USE_ENV_PROXY=1 can be used with Node versions that support environment-based HTTPS proxy handling.

Tools and capabilities

  • china_lpr returns up to 12 recent monthly LPR announcements, including one-year and five-year rates, dates, and a latest value.
  • china_lpr_latest returns only the latest one-year and five-year LPR print and reference date.
  • china_macro_indicator covers CPI, PPI, PMI, GDP, industrial production, retail sales, fixed-asset investment, money supply, and trade. It supports recent history and a direct NBS route with publication units, measures, periods, and regional data.
  • china_house_prices returns new-build and resale residential price indexes for the 70 cities, either as a cross-section or city history.
  • china_rates provides all eight SHIBOR tenors plus China government-bond yield data, including one-year and ten-year benchmark history and the quoted curve.

Limitations and notes

LPR history is limited by the upstream rolling window to roughly 12 months. LPR is normally announced on the 20th of each month or the next business day, so the latest reference date changes approximately monthly.

The macro-indicator history defaults to 12 periods and allows up to 36; government-bond benchmark history is capped at 60 rows per call. Some NBS series preserve the publisher’s raw value and mark the basis as unresolved when the published label cannot establish it. Blank periods are removed and counted rather than returned as null values.

The NBS and Customs series are delivered through a keyless republisher, with the official source named first in responses. The integration is independent and unofficial, and is not affiliated with or endorsed by the upstream providers.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about China Macro

China Macro is an MCP server that connects AI agents to Chinese macroeconomic and financial data sources. Its main tools retrieve LPR rates, NBS indicators, 70-city house prices, SHIBOR fixings, and government-bond yields. It runs through the Pipeworx gateway and supports hosted HTTP or local npm-based stdio connections.

Add the hosted MCP URL to your client, or run the npm stdio bridge with `npx -y @pipeworx/mcp-china-macro`. The hosted configuration uses `https://gateway.pipeworx.io/china-macro/mcp`; the local configuration requires network access because it forwards calls to that endpoint.

Yes, China Macro can be configured in Cursor using its hosted MCP URL or the npm stdio command. The hosted entry points to `https://gateway.pipeworx.io/china-macro/mcp`, while the local option starts `@pipeworx/mcp-china-macro` through npx.

No, an API key is not required for anonymous use. The npm bridge allows up to 50 calls per day without a key; setting `PIPEWORX_API_KEY` with a Pipeworx account raises that allowance to 200 calls per day.

You can retrieve up to 12 recent monthly LPR announcements. The upstream publisher exposes a rolling window of roughly one year, so `china_lpr` cannot provide deeper LPR history; `china_lpr_latest` returns only the latest print.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChina Macro AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/china-macro?style=directory)](https://allmcps.com/mcp/china-macro)
HTML Embed
<a href="https://allmcps.com/mcp/china-macro"><img src="https://allmcps.com/api/badge/china-macro?style=directory" alt="China Macro on AllMCPs" /></a>