Banxico — Mexico CPI / INPC Inflation
banxico.inflation.cpiRetrieves Mexico's INPC consumer price index for a current month or historical range, enabling inflation tracking and deflation of peso-denominated series.
Instructions
Get the Mexico INPC (Índice Nacional de Precios al Consumidor) consumer price index (serie SP1, base Jul 2018 = 100). The INPC is the official inflation indicator produced by INEGI and published by Banxico. Returns the latest monthly index value or a historical range. Use this to track Mexican inflation trends or deflate peso-denominated series. Source: Banco de México SIE, official government data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date for historical range in YYYY-MM-DD format (e.g. 2026-06-30). Required when start_date is provided. | |
| start_date | No | Start date for historical range in YYYY-MM-DD format (e.g. 2026-01-01). Omit for latest observation only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |