inflation
Pack: api-ninjas · Endpoint: https://gateway.pipeworx.io/api-ninjas/mcp
API Ninjas inflation: latest monthly and yearly inflation rates by country. Returns a list of { country, type, period, monthly_rate_pct, yearly_rate_pct }. Optionally filter by country name and index type (CPI or HICP). Example: inflation({ country: “United States”, type: “CPI” }).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | no | Country name, e.g. ‘United States’, ‘Germany’ |
type | string | no | Inflation index type: ‘CPI’ or ‘HICP’ |
Example call
curl -X POST https://gateway.pipeworx.io/api-ninjas/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inflation","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"api-ninjas": {
"url": "https://gateway.pipeworx.io/api-ninjas/mcp"
}
}
}
See Getting Started for client-specific install steps.