search_indicators
Pack: imf · Endpoint: https://gateway.pipeworx.io/imf/mcp
Search or list indicator codes available in an IMF database. Returns the code list (dimensions) for a dataset. Example: search_indicators({ database_id: “IFS”, query: “GDP” }) finds GDP-related indicator codes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
database_id | string | yes | IMF database ID to search within, e.g. “IFS” |
query | string | no | Optional search term to filter indicators, e.g. “GDP”, “inflation”, “trade” |
Example call
Arguments
{
"database_id": "IFS",
"query": "GDP"
}
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":{"database_id":"IFS","query":"GDP"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_indicators', {
"database_id": "IFS",
"query": "GDP"
});
More examples
{
"database_id": "BOP"
}
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.