inflation

Pack: brapi · Endpoint: https://gateway.pipeworx.io/brapi/mcp

brapi.dev — inflation index series (IPCA/CPI) for Brazil or other countries. Optional historical flag plus start/end date range returns monthly inflation readings over time.

Parameters

NameTypeRequiredDescription
countrystringno
historicalbooleanno
startstringno
endstringno
sortBystringno
sortOrderstringno

Example call

Arguments

{
  "country": "BR",
  "historical": true,
  "start": "2020-01-01",
  "end": "2024-01-01"
}

curl

curl -X POST https://gateway.pipeworx.io/brapi/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inflation","arguments":{"country":"BR","historical":true,"start":"2020-01-01","end":"2024-01-01"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('inflation', {
  "country": "BR",
  "historical": true,
  "start": "2020-01-01",
  "end": "2024-01-01"
});

More examples

{
  "country": "BR",
  "sortBy": "date",
  "sortOrder": "desc"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Inflation series data for specified country and period"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "brapi": {
      "url": "https://gateway.pipeworx.io/brapi/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 8, 2026