get_data
ActiveTool of Imf
Fetch IMF time-series data for an indicator and country. Uses SDMX CompactData format. Example: get_data({ database_id: "IFS", frequency: "A", indicator: "NGDP_XDC", country: "US", start: "2018", end: "2023" }) returns annual nominal GDP for the US.
Parameters schema
{
"type": "object",
"examples": [
{
"end": "2023",
"start": "2018",
"country": "US",
"frequency": "A",
"indicator": "NGDP_XDC",
"database_id": "IFS"
},
{
"end": "2024",
"start": "2020",
"frequency": "A",
"indicator": "NGDPD",
"database_id": "WEO"
}
],
"required": [
"database_id",
"frequency",
"indicator"
],
"properties": {
"end": {
"type": "string",
"description": "End period, e.g. \"2023\" or \"2023-Q4\" or \"2023-12\""
},
"start": {
"type": "string",
"description": "Start period, e.g. \"2018\" or \"2018-Q1\" or \"2018-01\""
},
"country": {
"type": "string",
"description": "ISO 2-letter country code, e.g. \"US\", \"GB\", \"JP\". Omit for all countries."
},
"frequency": {
"type": "string",
"description": "Data frequency: \"A\" (annual), \"Q\" (quarterly), \"M\" (monthly)"
},
"indicator": {
"type": "string",
"description": "Indicator code, e.g. \"NGDP_XDC\" for nominal GDP. Use search_indicators to find codes."
},
"database_id": {
"type": "string",
"description": "IMF database ID, e.g. \"IFS\", \"BOP\", \"DOT\", \"WEO\""
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Imf
https://github.com/pipeworx-io/mcp-imf
1/7 registries