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 -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 theindicators["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-KeyorX-BDE-Tokenheader; it is not stored. - Numeric value (
0.5) with the original text invalueRaw, ISO date of the 1st of the month and unitpercent. - 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").
| period | What it returns | Arguments |
|---|---|---|
current | The CPI of the latest published month (monthly change) | {"source": "ipc", "period": "current"} |
month | The CPI of one month | {"source": "ipc", "period": "month", "year": 2026, "month": 4} |
year | The published months of a year, one per month | {"source": "ipc", "period": "year", "year": 2026, "maxItems": 12} |
range | Between 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:
{"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 -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:
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):
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:
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:
CPI 12 months to 2026-10: 4.5 %; 500000 CLP -> 522500 CLPStep 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):
| Month | Monthly change (CMF) | 12-month change (BDE) | Year-to-date change (BDE) | Index (base 2023 = 100) |
|---|---|---|---|---|
| October 2026 | 0.5 % | 4.52 % | 4.45 % | 114.13 |
| September 2026 | 0.4 % | 4.07 % | 3.96 % | 113.59 |
| August 2026 | 0.6 % | 4.13 % | 3.55 % | 113.15 |
| July 2026 | 0.1 % | 3.52 % | 2.91 % | 112.45 |
| June 2026 | 0.0 % | 4.34 % | 2.82 % | 112.35 |
| May 2026 | 0.2 % | 3.93 % | 2.84 % | 112.37 |
| April 2026 | 1.3 % | 3.95 % | 2.67 % | 112.18 |
| March 2026 | 1.0 % | 2.83 % | 1.36 % | 110.75 |
| February 2026 | 0.0 % | 2.37 % | 0.40 % | 109.70 |
| January 2026 | 0.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.
{
"mcpServers": {
"better-llama": {
"url": "https://mcp.betterllama.com/mcp"
}
}
}claude mcp add --transport http better-llama https://mcp.betterllama.com/mcpSetup 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):
{
"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
- Chile UF API guide: today's UF, the full month and next month's days already published.
- Chile UTM API guide: the current UTM, next month's value and the UTA.
- Chile CMF API guide: UF, dollar, euro, UTM, CPI and the maximum conventional interest rate.
- Central Bank of Chile API guide: the policy rate, CPI, Imacec and any series by code.
- Chile economic indicators guide: one real call per indicator, from CMF and the Central Bank.
- CMF Chile tool page and BDE tool page: parameters, example and FAQ.
- Chile UF, dollar and UTM for your agent: use cases.
Other guides
- Chile open data APIs: official sources by API and MCP — map of the official Chilean sources available by API and MCP, how to find the tool with search_tools, one real call per family and an index of every guide.
- Chile UF API: the Unidad de Fomento value as JSON — today's UF, full month, next month's days already published, range or year, with CMF data and a Central Bank cross-check, curl, Python and JavaScript examples, and MCP usage.
- Chile UTM API: the UTM and UTA tax unit values as JSON — current UTM, next month's value once published, a year or a range of months, the UTA (UTM × 12) and the CPI rule, with CMF data, curl, Python and JavaScript examples, and MCP usage.
- Chile CMF API: UF value, dollar, UTM and maximum conventional rate — the seven API CMF Bancos series with no API key to request, curl and Python examples, and MCP usage.
- Chile USD/CLP exchange rate API: the observed dollar as JSON — today's rate, daily series by month, range or year and the warning for values published in advance, with CMF data, curl, Python and JavaScript examples, and MCP usage.
- Central Bank of Chile API: BDE series as JSON — dollar, UF, policy rate, CPI, Imacec, GDP, unemployment and any series by code, series search, curl, Python and JavaScript examples, and MCP usage.
- Chile economic indicators API: UF, dollar, euro, CPI and TPM — One real call per indicator (UF, dollar, euro, UTM, CPI, TMC, TIP, TPM, Imacec, GDP, unemployment and real exchange rate), from the CMF or the Central Bank, with curl, Python, JavaScript and MCP.
- Chile public procurement API: Mercado Público tenders and purchase orders — ChileCompra ticket, curl and Python examples, and MCP usage.
- Chile public holidays API: 2026 holidays, business days and RUT — National, regional and local holidays with no key, curl and Python examples, and MCP usage.
- Chile business days API: deadlines and business-day counts — business-day deadlines from a notice date, Saturdays as business days, calendar days, business days per month, regional holidays and edge cases, with curl, Python and JavaScript, and MCP usage.
- Chile RUT validation API: check digit as JSON — the modulo 11 algorithm, accepted formats, computing the check digit, batches and privacy, curl, Python and JavaScript examples, and MCP usage.
- Chile communes API: regions, provinces and CUT codes — all 346 communes with CUT codes, region filters, name search, curl, Python and JavaScript examples, and MCP usage.
- Chile fuel prices API: gasoline 93, 95, 97, diesel and LPG from Bencina en Línea — CNE data with no sign-up, the cheapest by comuna or near a point, curl, Python and JavaScript examples, and MCP usage.
- Chilexpress API: coverage by comuna, shipping quotes and tracking — covered comunas and sectors with their code and no key, names that differ from the official ones, quotes and tracking with your free keys, and MCP usage.
- Chile earthquakes API: latest quake, magnitude, depth and alerts — Public-domain USGS data with Chile local time, no USGS key, curl, Python and JavaScript examples, and MCP usage.
- Chile Official Gazette API: laws, decrees and new companies — Laws, decrees, notices and company incorporations with CVE and official PDF, no key, curl and Python examples, and MCP usage.
- Chile electricity market API: marginal cost, generation and demand — Coordinador Eléctrico Nacional grid data with no user_key to request, curl and Python examples, and MCP usage.
- Colombia SECOP II API: public procurement contracts and processes — Open data from datos.gov.co with no key, curl and Python examples, and MCP usage.
- Colombia TRM API: today's TRM and the COP/USD rate — Superintendencia Financiera data via datos.gov.co with no key, curl and Python examples, and MCP usage.
- Peru BCRP API: exchange rate, inflation and rates — BCRPData series with no key, curl and Python examples, and MCP usage.
- Banxico API: Mexico's FIX exchange rate, UDIS and TIIE — Banco de México SIE indicators with no token to request, curl and Python examples, and MCP usage.
- Peru public procurement API (SEACE): tenders as JSON — OECE tenders with buyer, reference value, bidders and winning companies, no key, and MCP usage.
- Chile EUR/CLP exchange rate API: the euro in pesos as JSON — today's euro, one day, daily series by month, range or year, weekends and the implied EUR/USD parity, with CMF and Central Bank data, curl, Python and JavaScript examples, and MCP usage.
- Chile Imacec API: latest Imacec, year-over-year and by sector as JSON — latest Imacec, original and seasonally adjusted series, year-over-year and monthly change, mining and non-mining Imacec and each sector's contribution from the Central Bank BDE, curl, Python and JavaScript examples, and MCP usage.
- Colombia open tenders API (SECOP II processes) — processes still taking bids, with deadline, method and base price, no key, and MCP usage.
- Peru exchange rate API: SUNAT and SBS USD/PEN rates — Daily SBS buy and sell rates, the SUNAT rate for a date and the interbank rate, no key, and MCP usage.
This guide is also available en español.