@pipeworx/bis
Connect: https://gateway.pipeworx.io/bis/mcp · Install: one-click buttons
Tools: 3
BIS (Bank for International Settlements) MCP — central-bank and global-financial statistics over the BIS SDMX v2 API. No auth.
Tools
bis_credit_gap(country, start_period?, end_period?, limit?)— credit-to-GDP ratio, its long-run HP-filter trend, and the gap between them, per quarter, for one country. The gap is the Basel III reference indicator for the countercyclical capital buffer. Accepts a country name or ISO alpha-2 code; 44 economies plus the euro area aggregate (XM).list_curated_flows(topic?)— pre-vetted dataflow refs by topic (rates, fx, banking, debt, credit, property, derivatives, prices).search_dataflows(query, limit?)— keyword search over the full BIS dataflow registry; returnsflow_refs ready forfetch_dataset.fetch_dataset(flow_ref, key?, start_period?, end_period?, limit?)— tidy rows from any BIS dataflow.
Auth
None. BIS publishes these statistics openly and applies no key or quota.
Notes on the upstream API
flow_refcarries a version and the version is not always1.0. BIS re-versions dataflows in place (WS_TCis2.0), and a stale version returns an empty result rather than an error. Take refs fromlist_curated_flowsorsearch_dataflowsinstead of assuming one.- Keys are positional over the flow’s own dimensions, dot-separated — e.g.
Q.US...onWS_CREDIT_GAP, whose key isFREQ.BORROWERS_CTY.TC_BORROWERS.TC_LENDERS.CG_DTYPE. Leave a position empty to not filter on it. When a key matches nothing,fetch_datasetnames the flow’s actual dimensions back to you. - Rows carry both the code and its meaning. Every coded column arrives with
a
<COLUMN>_labelcompanion (CG_DTYPE: "C"/CG_DTYPE_label: "Credit-to-GDP gaps (actual-trend)"), because BIS’s coded values are opaque on their own. - The banking and debt-securities flows are multi-megabyte unbounded — pass
start_period/end_period.
Data sources
- API: https://stats.bis.org/api/v2/
- API docs: https://stats.bis.org/api-doc/v2/
- Browse: https://stats.bis.org
- Credit-to-GDP gaps: https://www.bis.org/statistics/c_gaps.htm
Tools
- list_curated_flows — List BIS dataflow refs we have pre-vetted, grouped by topic (rates, fx, banking, debt, credit, property, derivatives, finance). Use the flow_ref with fetch_dataset. For everything else use search_data
- search_dataflows — Search the BIS SDMX dataflow registry by keyword against dataflow name and ID. Returns matched flow_refs (e.g., ‘BIS,WS_CBPOL_D,1.0’) ready to pass to fetch_dataset, capped at limit (default 25, max 1
- fetch_dataset — Fetch tidy rows from a BIS dataflow. flow_ref is “BIS,
, ” and the VERSION IS NOT ALWAYS 1.0 — “BIS,WS_CBPOL,1.0” (central bank policy rates), “BIS,WS_XRU,1.0” (US-dollar exchange rates), b
Tools
-
fetch_dataset— Fetch tidy rows from a BIS dataflow. flow_ref is BIS,<id>,<version> and the VERSION IS NOT ALWAYS 1.0 — BIS,WS_CBPOL,1.0 (central bank policy rates), BIS,WS_XRU,1.0 (US-dollar exchange rates), but BIS -
list_curated_flows— List BIS dataflow refs we have pre-vetted, grouped by topic (rates, fx, banking, debt, credit, property, derivatives, finance). Use the flow_ref with fetch_dataset. For everything else use search_data -
search_dataflows— Search the BIS SDMX dataflow registry by keyword against dataflow name and ID. Returns matched flow_refs (e.g., 'BIS,WS_CBPOL_D,1.0') ready to pass to fetch_dataset, capped at limit (default 25, max 1