china_rates
Pack: china-macro · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/china_rates for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
series | string | yes | Which rate series to return. |
days | number | no | (shibor only) How many calendar days of history to request, 1-365 (default 30). |
periods | number | no | (yield_curve only) How many daily rows of the 1Y/10Y benchmark history to return, 1-60 (default 20). |
Example call
Arguments
{
"series": "shibor",
"days": 15
}
curl
curl -X POST https://gateway.pipeworx.io/china-macro/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"china_rates","arguments":{"series":"shibor","days":15}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('china_rates', {
"series": "shibor",
"days": 15
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the china-macro pack
{
"mcpServers": {
"china-macro": {
"url": "https://gateway.pipeworx.io/china-macro/mcp"
}
}
}
See Getting Started for client-specific install steps.