get_datasets
Pack: imf · Endpoint: https://gateway.pipeworx.io/imf/mcp
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 soundness), commodity prices and ~200 more. Returns the dataset id to pass to get_data and search_indicators, plus its name and description. Pass query to filter by name, e.g. “inflation”, “trade”, “government”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Optional filter matched against dataset id, name and description (e.g. “inflation”, “trade”). |
limit | number | no | Max datasets to return, 1-250 (default 50). |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/imf/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_datasets","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_datasets', {});
More examples
{
"query": "price",
"limit": 50
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "IMF dataflow structure containing available datasets"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"imf": {
"url": "https://gateway.pipeworx.io/imf/mcp"
}
}
}
See Getting Started for client-specific install steps.