search_indicators
Pack: imf · Endpoint: https://gateway.pipeworx.io/imf/mcp
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:“united states”}) finds COUNTRY=USA. Without a query it returns the dimension list and a sample of codes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataset | string | yes | Dataset id from get_datasets, e.g. “CPI”. |
query | string | no | Optional term matched against code ids and names, e.g. “united states”, “GDP”, “monthly”. |
Example call
Arguments
{
"dataset": "CPI",
"query": "united states"
}
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":"search_indicators","arguments":{"dataset":"CPI","query":"united states"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_indicators', {
"dataset": "CPI",
"query": "united states"
});
More examples
{
"dataset": "CPI"
}
Response shape
Always returns: structure
| Field | Type | Description |
|---|---|---|
query | string | Lowercase search query term used for filtering |
structure | object | IMF DataStructure containing indicator code dimensions and metadata |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Lowercase search query term used for filtering"
},
"structure": {
"type": "object",
"description": "IMF DataStructure containing indicator code dimensions and metadata"
}
},
"required": [
"structure"
]
}
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.