Imf

liveEconomicsFinance

IMF SDMX API — international macroeconomic time-series (GDP, inflation, exchange rates, trade) across 190+ countries from the International Monetary Fund. No auth.

3tools
0msauth
free tier50 calls/day

Tools

get_datasets

List or search the IMF's datasets — CPI, WEO (World Economic Outlook), BOP (Balance of Payments), IMTS (trade in goods), GFS (government finance), MFS (monetary and financial), FSI (financial soundnes

No parameters required.

▶Try it
get_data

Fetch an IMF time series. Identify the series by dataset plus a `dimensions` map of named codes, e.g. get_data({dataset:"CPI", dimensions:{COUNTRY:"USA", INDEX_TYPE:"CPI", COICOP_1999:"_T", TYPE_OF_TR

No parameters required.

▶Try it
search_indicators

Discover what a dataset accepts: its dimension names in key order, and the codes available for each, filtered by `query`. Use this before get_data — e.g. search_indicators({dataset:"CPI", query:"unite

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/imf/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/imf/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_datasets","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_datasets", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("imf sdmx api — international macroeconomic time-series (gdp, inflation, exchange rates, trade) across 190+ countries from the international monetary fund");