inflation

Pack: api-ninjas · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/inflation for the schema, then POST the same URL with its arguments for the data.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the api-ninjas pack
{
  "mcpServers": {
    "api-ninjas": {
      "url": "https://gateway.pipeworx.io/api_ninjas/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 18, 2026