Guide · Chile indicators

Chile CPI API: monthly, 12-month and year-to-date inflation as JSON for your code and your AI agents

How to get Chile's CPI (Índice de Precios al Consumidor, IPC) from your code or an AI agent: the monthly change of the latest published month, one month, a year or a range, the index and the 12-month change, and how to compute year-to-date inflation without rounding errors. With Better Llama's MCP tools and data from the CMF and the Central Bank, no API key paperwork.

What is Chile's CPI and where is it published?

The Consumer Price Index (IPC) measures how the prices of a basket of goods and services bought by households change from month to month. It is compiled by the Instituto Nacional de Estadísticas (INE) and is Chile's official inflation measure. It is used to adjust the UF, the UTM, rents, contracts, wages and pensions.

By API you can read it from two official sources: the API CMF Bancos of the Comisión para el Mercado Financiero, which publishes the monthly change with one decimal, and the Central Bank's Base de Datos Estadísticos (BDE), which also has the index and the 12-month change.

In the query of Sunday, November 29, 2026 at 18:18 (Chile time), our tool get_chile_financial_indicators returned October 2026: 0.5% as the latest published CPI, with the citation "Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos". The BDE, queried with get_chile_central_bank_series, returned the same 0.5% and a 12-month change of 4.52%.

Monthly, 12-month and year-to-date change

The CPI is reported as a percentage change. There are three ways to read it, and each comes from a different figure:

  • Monthly change: how much prices rose versus the previous month. October 2026: 0.5% (CMF, one decimal; the BDE spliced series gives 0.48%). The highest month of 2026 through October was April 2026, at 1.3%.
  • 12-month change: versus the same month a year earlier, usually called "annual inflation". To October 2026: 4.52% (index 114.13 versus 109.19 in October 2025). In December 2025 it was 3.45%.
  • Year-to-date change: versus December of the previous year. January to October 2026: 4.45% (index 114.13 versus 109.26 in December 2025).

Watch the rounding: compounding the ten one-decimal monthly CMF values of 2026 gives 4.58%, not 4.45%. For year-to-date or 12-month change, divide BDE index values.

The CPI can also be negative. Between January 2024 and October 2026 there were four months with a drop: June 2024 (-0.1 %), December 2024 (-0.2 %), June 2025 (-0.4 %), December 2025 (-0.2 %).

The CPI, the UF and the UTM

The UF and the UTM are indexed to the CPI, so each new CPI already sets their future values. We checked it with data from the same tools:

  • UF: the UF on the 9th of a month is the UF on the 9th of the previous month adjusted by the previous month's CPI, moving day by day in between. The UF on November 9, 2026 (41,295.46) is October 9's (41,130.94) times 1 + 0.4% (September CPI), and December 9's (41,501.94) is November 9's times 1 + 0.5% (October CPI), rounded to the cent. More in the Chile UF API guide.
  • UTM: a month's UTM is the previous month's adjusted by the CPI of two months earlier, rounded to the peso. The December 2026 UTM (72,802) is November's (72,440) times 1 + 0.5% = 72,802.2. The rule holds in the 23 months we checked, February 2025 to December 2026. More in the Chile UTM API guide.

Three ways to get Chile's CPI by API

1. The API CMF Bancos, directly

It requires a free personal API key requested at api.cmfchile.cl, with a quota of 10,000 requests per month according to the CMF. The latest published CPI:

curl · API CMF Bancos
curl -s "https://api.cmfchile.cl/api-sbifv3/recursos_api/ipc?apikey=$CMF_API_KEY&formato=json"

The value arrives as text with a decimal comma ("0,5") and only the monthly change: neither the index nor the 12-month change.

2. The Central Bank BDE API

It requires a Central Bank account and token. Our tool Central Bank of Chile series (BDE) queries it without you signing up. Useful series, found with operation search and the word "IPC":

  • G073.IPC.IND.2023.M: headline index, spliced by the Central Bank, base 2023 = 100.
  • G073.IPC.V12.2023.M: 12-month change of that index.
  • G073.IPC.VAR.2023.M: monthly change with all decimals.
  • F074.IPC.VAR.Z.Z.C.M: monthly change with one decimal; it is the indicators ["ipc_variacion"] shortcut and matched the CMF in all 22 months queried.

More in the Central Bank of Chile API guide.

3. Better Llama's tools (over MCP)

Our tool UF, dollar, UTM and CPI (CMF Chile), get_chile_financial_indicators, returns the monthly change ready to use, and get_chile_central_bank_series the index and the 12-month change:

  • No API key or token of your own during the beta. To use yours, send it in the X-CMF-Api-Key or X-BDE-Token header; it is not stored.
  • Numeric value (0.5) with the original text in valueRaw, ISO date of the 1st of the month and unit percent.
  • The same format for the latest month, one month, a year or a range of months.
  • The same tool returns the UF, the dollar, the euro and the UTM. The Chile CMF API guide covers all seven series.

Step by step: Chile's CPI as JSON

Step 1. Choose the change

For the monthly change use get_chile_financial_indicators with source ipc and pick the period. The CPI is monthly: period date does not apply and the tool returns a clear error ("date is only valid for daily indicators").

periodWhat it returnsArguments
currentThe CPI of the latest published month (monthly change){"source": "ipc", "period": "current"}
monthThe CPI of one month{"source": "ipc", "period": "month", "year": 2026, "month": 4}
yearThe published months of a year, one per month{"source": "ipc", "period": "year", "year": 2026, "maxItems": 12}
rangeBetween two months: year, month, yearTo and monthTo (no days){"source": "ipc", "period": "range", "year": 2024, "month": 1, "yearTo": 2026, "monthTo": 12, "maxItems": 40}

Real examples from November 29, 2026: the year 2026 returned 10 months (January to October; November was not yet published), 2025 returned 12 and the range January 2024 to December 2026 returned 34. April 2026 with month: 1.3%. For the index and the 12-month change, call get_chile_central_bank_series with seriesIds and a start date:

arguments (BDE)
{"seriesIds": ["G073.IPC.IND.2023.M", "G073.IPC.V12.2023.M"], "firstDate": "2025-12-01"}

Step 2. Connect the MCP server

Use the MCP https://mcp.betterllama.com/mcp in your client (configuration below) or call it over HTTP with JSON-RPC. No account or sign-up is needed during the beta.

Step 3. Call the tool

With curl, the latest published CPI:

curl
curl -s https://mcp.betterllama.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_chile_financial_indicators", "arguments": {"source": "ipc", "period": "current"}}}'

In Python, the month's CPI, the 12-month change and the year-to-date change:

python
import json
import requests

URL = "https://mcp.betterllama.com/mcp"
HEADERS = {"Accept": "application/json, text/event-stream"}

def call(tool, arguments):
    body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
            "params": {"name": tool, "arguments": arguments}}
    resp = requests.post(URL, json=body, headers=HEADERS, timeout=60)
    resp.raise_for_status()
    return json.loads(resp.json()["result"]["content"][0]["text"])

# Latest published CPI: monthly change in %, from the CMF
latest = call("get_chile_financial_indicators", {"source": "ipc", "period": "current"})["results"][0]
print("CPI", latest["date"][:7], latest["value"], "%")

# Index and 12-month change from the Central Bank BDE (spliced series, base 2023 = 100)
bde = call("get_chile_central_bank_series", {"seriesIds": ["G073.IPC.IND.2023.M", "G073.IPC.V12.2023.M"],
                                              "firstDate": "2025-12-01"})["results"]
idx = [r for r in bde if r["seriesId"] == "G073.IPC.IND.2023.M"]
v12 = [r for r in bde if r["seriesId"] == "G073.IPC.V12.2023.M"][-1]
print("12 months", v12["date"][:7], round(v12["value"], 2), "%")

# Year-to-date change: latest index / index of the previous December
print("year-to-date", idx[-1]["date"][:7], round(100 * (idx[-1]["value"] / idx[0]["value"] - 1), 2), "%")

Real output (November 29, 2026, 18:20 Chile time):

output
CPI 2026-10 0.5 %
12 months 2026-10 4.52 %
year-to-date 2026-10 4.45 %

In JavaScript (Node.js 18 or later, as an .mjs module), a 500,000-peso rent adjusted by the 12-month change rounded to one decimal:

javascript
const URL = "https://mcp.betterllama.com/mcp";

async function call(name, args) {
  const res = await fetch(URL, {
    method: "POST",
    headers: { "Content-Type": "application/json", "Accept": "application/json, text/event-stream" },
    body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/call",
      params: { name, arguments: args } }),
  });
  const data = await res.json();
  return JSON.parse(data.result.content[0].text);
}

// Adjust a 500,000-peso rent by the 12-month CPI change
const out = await call("get_chile_central_bank_series", { seriesIds: ["G073.IPC.V12.2023.M"], latestOnly: true });
const { date, value } = out.results[0];
const v12 = Math.round(value * 10) / 10;
const rent = 500000;
console.log(`CPI 12 months to ${date.slice(0, 7)}: ${v12} %; ${rent} CLP -> ${Math.round(rent * (1 + v12 / 100))} CLP`);

Real output:

output
CPI 12 months to 2026-10: 4.5 %; 500000 CLP -> 522500 CLP

Step 4. Use the value

value is a percentage: 0.5 means 0.5%. To adjust an amount multiply by 1 + value / 100: at 4.5%, a 500,000-peso rent becomes 522,500 (22,500 pesos more). Check which period and rounding your contract specifies, and for year-to-date or 12-month change use the index rather than compounding rounded monthly values.

Chile CPI in 2026

What the tools returned on November 29, 2026 (most recent month first; the monthly change is from the CMF and the other columns come from the BDE spliced index):

MonthMonthly change (CMF)12-month change (BDE)Year-to-date change (BDE)Index (base 2023 = 100)
October 20260.5 %4.52 %4.45 %114.13
September 20260.4 %4.07 %3.96 %113.59
August 20260.6 %4.13 %3.55 %113.15
July 20260.1 %3.52 %2.91 %112.45
June 20260.0 %4.34 %2.82 %112.35
May 20260.2 %3.93 %2.84 %112.37
April 20261.3 %3.95 %2.67 %112.18
March 20261.0 %2.83 %1.36 %110.75
February 20260.0 %2.37 %0.40 %109.70
January 20260.4 %2.78 %0.41 %109.71

Chile's CPI in your AI agent (MCP)

Add the Better Llama MCP server to your client (Claude, Cursor, VS Code or any other with remote MCP). One MCP brings get_chile_financial_indicators, get_chile_central_bank_series and the rest of the catalog, with no sign-up during the beta.

Cursor · mcp.json
{
  "mcpServers": {
    "better-llama": {
      "url": "https://mcp.betterllama.com/mcp"
    }
  }
}
Claude Code
claude mcp add --transport http better-llama https://mcp.betterllama.com/mcp

Setup for Claude, Codex, Gemini CLI, Windsurf, VS Code and other clients: connect your agent.

Ready-to-run Python and Node.js examples, with config files for each client: examples repository on GitHub.

Example scripts for this guide: python/cmf_chile.py (Python), node/indicadores.mjs (Node.js).

Then ask, for example: "What was Chile's latest CPI and what is the 12-month change? Cite the source." or "Adjust a 450,000-peso rent by the CPI of the last 12 months." The agent gets the change with its month and can request the index to compute long periods.

Beta: free and with no sign-up while we test the service.

Fields returned

Each item in results has indicator, indicatorName, date (ISO, 1st of the month), year, month, value (numeric, in %), valueRaw (original CMF text), unit (percent) and validFrom. The response includes count, warnings, stopReason, attribution, source and retrievedAt.

Real, complete response to the curl call above (November 29, 2026, 18:18 Chile time):

json
{
  "tool": "get_chile_financial_indicators",
  "count": 1,
  "results": [
    {
      "indicator": "ipc",
      "indicatorName": "Índice de Precios al Consumidor (IPC)",
      "date": "2026-10-01",
      "year": 2026,
      "month": 10,
      "value": 0.5,
      "valueRaw": "0,5",
      "unit": "percent",
      "validFrom": "2026-10-01",
      "redacted": false,
      "source": "ipc",
      "kind": "indicador",
      "officialUrl": "https://api.cmfchile.cl/documentacion/index.html",
      "dataSource": "Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos. Fuente: https://www.sbif.cl / https://www.cmfchile.cl",
      "retrievedAt": "2026-11-29T21:18:02.598Z"
    }
  ],
  "warnings": [],
  "stopReason": "completed",
  "attribution": "Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos — https://www.cmfchile.cl",
  "source": "https://api.cmfchile.cl/",
  "retrievedAt": "2026-11-29T21:18:02.598Z"
}

If you reuse the data, cite "Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos" with the link https://www.cmfchile.cl/, or "Banco Central de Chile, Base de Datos Estadísticos" for BDE series.

Pricing

Free during the beta, with no sign-up and a limit of 60 requests per minute per IP; with the shared keys, repeated queries are served from a cache. If paid plans come later, we will announce them first on betterllama.com.

FAQ

What is Chile's CPI (IPC)?

The Índice de Precios al Consumidor measures the change in prices of a basket of goods and services bought by households. It is compiled by the INE and is Chile's official inflation measure; the UF, the UTM, rents and contracts are adjusted with it.

What is Chile's latest CPI?

In the query of November 29, 2026, the latest published CPI was October 2026: 0.5% monthly and 4.52% over 12 months. For the current figure, call get_chile_financial_indicators with source ipc and period current.

What is the difference between monthly, 12-month and year-to-date change?

Monthly compares with the previous month, 12-month with the same month a year earlier and year-to-date with December of the previous year. To October 2026 they were 0.5%, 4.52% and 4.45%.

How do I compute year-to-date or 12-month CPI?

Divide the latest month's index by the base month's index and subtract 1. With the BDE index (base 2023 = 100), October 2026 (114.13) over December 2025 (109.26) gives 4.45%. Compounding the one-decimal monthly changes gives 4.58% because of rounding.

How does the CPI affect the UF and the UTM?

The UF on the 9th of each month is adjusted by the previous month's CPI: December 9, 2026 (41,501.94) is November 9's times 1 + 0.5%. A month's UTM is adjusted by the CPI of two months earlier: the December 2026 UTM is 72,802 pesos.

Can the CPI be negative?

Yes. Between January 2024 and October 2026 there were four months with a negative change: June 2024 (-0.1 %), December 2024 (-0.2 %), June 2025 (-0.4 %), December 2025 (-0.2 %). When that happens the UF falls during that period and the corresponding UTM can go down.

Is there a free Chile CPI API?

Yes. The API CMF Bancos and the Central Bank's BDE API are free, but they require sign-up and a key. With Better Llama you need no key during the beta: the CPI comes as JSON over MCP or JSON-RPC, with a limit of 60 requests per minute per IP.

Is Better Llama affiliated with the INE, the CMF or the Central Bank?

No. Better Llama is an independent project, not affiliated with, sponsored by or endorsed by the Instituto Nacional de Estadísticas, the Comisión para el Mercado Financiero or the Central Bank of Chile. The data comes from the API CMF Bancos and the BDE, and every response includes the source attribution.

Keep going

Other guides

This guide is also available en español.