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

NameTypeRequiredDescription
countrystringnoCountry name, e.g. ‘United States’, ‘Germany’
typestringnoInflation 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.

Regenerated from source · build June 4, 2026