Guide · Chile indicators
Chile UF API: the Unidad de Fomento value as JSON for your code and your AI agents
How to get Chile's UF (Unidad de Fomento) value into your code or an AI agent: today's UF, the full month, the days of next month that are already published, a date range or a whole year, and how to convert UF to pesos. With Better Llama's MCP tool and CMF data, no API key to request.
What is the UF and where is its value published?
The UF (Unidad de Fomento) is a unit of account indexed to inflation. In Chile it is used to express rents, mortgage payments, loans, insurance, contracts and fees, so that the peso amount follows the consumer price index (CPI). The Central Bank of Chile calculates it, and it has a value for every calendar day, weekends and holidays included.
Two official sources publish it by API: the API CMF Bancos of Chile's financial market regulator (Comisión para el Mercado Financiero), with the UF plus the observed dollar, euro, UTM and CPI, and the Central Bank's statistical database (BDE), series F073.UFF.PRE.Z.D.
In the query of Monday, November 23, 2026 at 10:17 (Chile time), our tool get_chile_financial_indicators returned a UF of 41,391.69 pesos for that day, with the citation «Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos». The BDE series, queried a minute later with get_chile_central_bank_series, returned the same value.
Why the UF for the coming days is already known
The UF changes every day between the 10th of one month and the 9th of the next, following the previous month's CPI change. Once the CPI is known, the values for that whole period are fixed, and the CMF publishes them in advance.
- On Monday, November 23, 2026, the query for December 2026 with
periodmonthalready returned 9 values, from December 1 (41,446.78 pesos) to Wednesday, December 9, 2026 (41,501.94 pesos). - With
perioddateyou can ask for a future day that is already published: for December 9, 2026 the tool returned 41,501.94 pesos. - With
periodcurrentyou always get today's value in Chile, even when later values already exist.
Days after the 9th of next month do not exist yet: they depend on a CPI that has not been published. If your system computes future installments or rents, store the date of the value you used.
Three ways to get the UF 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. Today's UF:
curl -s "https://api.cmfchile.cl/api-sbifv3/recursos_api/uf?apikey=$CMF_API_KEY&formato=json"Values arrive as text in Chilean format («41.391,69») and each period (year, month, day or day range) has its own route.
2. The Central Bank's BDE API
It requires a Central Bank account and token. The daily UF series is F073.UFF.PRE.Z.D. Our Central Bank series (BDE) tool queries it without you having to sign up: with indicators ["uf"] and latestOnly it returned 41,391.69 pesos for Monday, November 23, 2026, the same as the CMF. Details are in the Chile economic indicators guide.
3. Better Llama's CMF tool (over MCP)
Our UF, dollar, UTM and CPI (CMF Chile) tool, get_chile_financial_indicators, queries the CMF API and returns the UF ready to use:
- No API key of your own during the beta (we use ours, with a 30-minute cache). If you want to use yours, send it in the
X-CMF-Api-Keyheader; it is not stored. - Numeric value (
41391.69) with the original text invalueRaw, ISO date and unitCLP. - One format for a day, a month, a range or a year, including the days already published in advance.
- The same tool returns the dollar, euro, UTM and CPI. For example, the UTM for November 2026 was 72,440 pesos. The Chile CMF API guide covers all seven series and the USD/CLP exchange rate guide explains the observed dollar.
Step by step: the UF value as JSON
Step 1. Choose the period
Always use source uf and choose the period:
| period | What it returns | Arguments |
|---|---|---|
current | Today's UF value (Chile time) | {"source": "uf", "period": "current"} |
date | One day: year, month and day. Also future days already published, up to the 9th of next month | {"source": "uf", "period": "date", "year": 2026, "month": 12, "day": 9} |
month | Every day of a month (the UF has a value for every calendar day) | {"source": "uf", "period": "month", "year": 2026, "month": 11} |
range | Between two dates: year, month, day and yearTo, monthTo, dayTo | {"source": "uf", "period": "range", "year": 2026, "month": 10, "day": 1, "yearTo": 2026, "monthTo": 11, "dayTo": 23, "maxItems": 60} |
year | A full year (raise maxItems to 400) | {"source": "uf", "period": "year", "year": 2025, "maxItems": 400} |
Real examples from November 23, 2026: with period month for November the tool returned 30 values, from 41,252.94 pesos on November 1 to 41,439.89 pesos on the 30th (up 0.45% in the month). The range from October 1 to November 23 returned 54 values; October's 31 went from 41,065.38 to 41,247.63 pesos. And the full year 2025 returned 365 values, from 38,419.17 pesos on January 1 to 39,727.96 pesos on December 31 (3.41% in the year); the low was 38,362.10 pesos (February 9, 2025).
Step 2. Connect the MCP server
Use the MCP https://mcp.betterllama.com/mcp in your client (setup 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, today's UF:
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": "uf", "period": "current"}}}'In Python, today's UF, the full month and up to which day of next month it is already published:
import json
import requests
URL = "https://mcp.betterllama.com/mcp"
HEADERS = {"Accept": "application/json, text/event-stream"}
def cmf(arguments):
body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
"params": {"name": "get_chile_financial_indicators", "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"])
# Today's UF value
today = cmf({"source": "uf", "period": "current"})["results"][0]
print(today["indicatorName"], today["date"], today["value"], today["unit"])
# Whole month (the UF has a value for every calendar day)
month = cmf({"source": "uf", "period": "month", "year": 2026, "month": 11, "maxItems": 31})
values = [x["value"] for x in month["results"]]
print(len(values), "days; first", values[0], "last", values[-1])
# Days of next month that are already published (up to the 9th)
dec = cmf({"source": "uf", "period": "month", "year": 2026, "month": 12, "maxItems": 31})
print("Published up to", dec["results"][-1]["date"], dec["results"][-1]["value"])Real output (November 23, 2026, 10:18 Chile time):
Unidad de Fomento (UF) 2026-11-23 41391.69 CLP
30 days; first 41252.94 last 41439.89
Published up to 2026-12-09 41501.94In JavaScript (Node.js 18 or later, as an .mjs module), the UF of a given day and 15 UF converted to pesos:
const URL = "https://mcp.betterllama.com/mcp";
async function cmf(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: "get_chile_financial_indicators", arguments: args } }),
});
const data = await res.json();
return JSON.parse(data.result.content[0].text);
}
// UF on a given day and 15 UF converted to Chilean pesos
const out = await cmf({ source: "uf", period: "date", year: 2026, month: 11, day: 20 });
const { date, value } = out.results[0];
console.log(`${date}: 1 UF = ${value} CLP; 15 UF = ${Math.round(15 * value)} CLP`);Real output:
2026-11-20: 1 UF = 41371.05 CLP; 15 UF = 620566 CLPStep 4. Use the value
Use value to calculate and date to know which day it belongs to. To convert UF to pesos, multiply the UF amount by value: with the UF of Monday, November 23, 2026, 10 UF are 413,916.90 pesos. To convert pesos to UF, divide by value. Round only at the end and use the value of the day the contract or invoice specifies.
UF values for November 2026
What the tool returned with period month on November 23, 2026 (pesos per UF, newest first). From November 10 (41,302.33 pesos) the value follows October's CPI:
| Date | UF value (CLP) |
|---|---|
| Monday, November 30, 2026 | 41,439.89 |
| Sunday, November 29, 2026 | 41,433.00 |
| Saturday, November 28, 2026 | 41,426.11 |
| Friday, November 27, 2026 | 41,419.22 |
| Thursday, November 26, 2026 | 41,412.34 |
| Wednesday, November 25, 2026 | 41,405.45 |
| Tuesday, November 24, 2026 | 41,398.57 |
| Monday, November 23, 2026 | 41,391.69 |
| Sunday, November 22, 2026 | 41,384.81 |
| Saturday, November 21, 2026 | 41,377.93 |
| Friday, November 20, 2026 | 41,371.05 |
| Thursday, November 19, 2026 | 41,364.17 |
| Wednesday, November 18, 2026 | 41,357.30 |
| Tuesday, November 17, 2026 | 41,350.42 |
| Monday, November 16, 2026 | 41,343.55 |
| Sunday, November 15, 2026 | 41,336.67 |
| Saturday, November 14, 2026 | 41,329.80 |
| Friday, November 13, 2026 | 41,322.93 |
| Thursday, November 12, 2026 | 41,316.06 |
| Wednesday, November 11, 2026 | 41,309.19 |
| Tuesday, November 10, 2026 | 41,302.33 |
| Monday, November 9, 2026 | 41,295.46 |
| Sunday, November 8, 2026 | 41,290.15 |
| Saturday, November 7, 2026 | 41,284.83 |
| Friday, November 6, 2026 | 41,279.51 |
| Thursday, November 5, 2026 | 41,274.20 |
| Wednesday, November 4, 2026 | 41,268.88 |
| Tuesday, November 3, 2026 | 41,263.57 |
| Monday, November 2, 2026 | 41,258.26 |
| Sunday, November 1, 2026 | 41,252.94 |
December 2026 UF already published
The 9 days of December that the CMF had already published on November 23, 2026:
| Date | UF value (CLP) |
|---|---|
| Wednesday, December 9, 2026 | 41,501.94 |
| Tuesday, December 8, 2026 | 41,495.04 |
| Monday, December 7, 2026 | 41,488.14 |
| Sunday, December 6, 2026 | 41,481.24 |
| Saturday, December 5, 2026 | 41,474.35 |
| Friday, December 4, 2026 | 41,467.45 |
| Thursday, December 3, 2026 | 41,460.56 |
| Wednesday, December 2, 2026 | 41,453.67 |
| Tuesday, December 1, 2026 | 41,446.78 |
The UF in your AI agent (MCP)
Add Better Llama's MCP server in 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.
Then ask, for example: «What is Chile's UF value today and how many pesos are 18.5 UF? Cite the source.» or «My rent is 12 UF: tell me how much I pay in pesos on the 5th of each month until December.» The agent gets the date and value of each day, and knows up to which day values are published.
Beta: free and with no sign-up while we test the service.
Which fields it returns
Each item in results has indicator, indicatorName, date (ISO), year, month, value (numeric), valueRaw (the CMF's original text), unit (CLP) and validFrom. The answer includes count, warnings, stopReason, attribution, source and retrievedAt.
Real, complete answer to the curl call above (November 23, 2026, 10:17 Chile time):
{
"tool": "get_chile_financial_indicators",
"count": 1,
"results": [
{
"indicator": "uf",
"indicatorName": "Unidad de Fomento (UF)",
"date": "2026-11-23",
"year": 2026,
"month": 11,
"value": 41391.69,
"valueRaw": "41.391,69",
"unit": "CLP",
"validFrom": "2026-11-23",
"redacted": false,
"source": "uf",
"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-23T13:17:46.298Z"
}
],
"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-23T13:17:46.298Z"
}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/.
Pricing
Free during the beta, with no sign-up and a limit of 60 requests per minute per IP; with the shared CMF key, repeated queries come from a 30-minute cache. If paid plans come later, we will announce them first on betterllama.com.
FAQ
What is Chile's UF?
The Unidad de Fomento is a unit of account indexed to inflation (CPI). The Central Bank of Chile calculates it and it has a peso value for every day. It is used in rents, mortgage payments, loans, insurance and contracts so that the amount keeps its real value.
What is the UF value today?
In the query of Monday, November 23, 2026, the UF was 41,391.69 Chilean pesos. For the current value, call get_chile_financial_indicators with source uf and period current: it always returns today's value in Chile.
Is there a free UF 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: get_chile_financial_indicators returns the UF as JSON over MCP or JSON-RPC, with a limit of 60 requests per minute per IP.
Why is the UF for the coming days already published?
Because between the 10th of one month and the 9th of the next, the UF follows the previous month's CPI change, which is already known. On November 23, 2026 the tool already returned values up to December 9 (41,501.94 pesos).
Does the UF have a value on weekends and holidays?
Yes. Unlike the observed dollar, the UF has a value for every calendar day: the query for November 2026 returned 30 values, one per day.
Should I use the CMF or the Central Bank?
Both sources are official and returned the same value in our query of November 23, 2026 (41,391.69 pesos). The CMF is the simplest for the UF, dollar, euro and UTM; the Central Bank's BDE is useful if you also need the policy rate, the Imacec or other series. Both are on the same Better Llama MCP.
How do I convert UF to Chilean pesos?
Multiply the UF amount by value. With the UF of Friday, November 20, 2026 (41,371.05 pesos), 15 UF are 620,566 pesos, as in the JavaScript example. To convert pesos to UF, divide by value.
Is Better Llama affiliated with the CMF or the Central Bank?
No. Better Llama is an independent project, not affiliated with, sponsored or endorsed by the Comisión para el Mercado Financiero or the Central Bank of Chile. The data comes from the API CMF Bancos and every answer includes the source attribution.
Keep going
- Chile CMF API guide: the dollar, euro, UTM, CPI and maximum conventional rate.
- Chile USD/CLP exchange rate API guide: the daily observed dollar, weekends and values published in advance.
- Chile economic indicators guide: the UF, dollar, policy rate and Imacec from the Central Bank.
- Central Bank of Chile API guide: the UF in the BDE, the policy rate, CPI, Imacec and any series by code.
- CMF Chile 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 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 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 and Python 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.
- 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 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.
This guide is also available en español.