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 period month already returned 9 values, from December 1 (41,446.78 pesos) to Wednesday, December 9, 2026 (41,501.94 pesos).
  • With period date you can ask for a future day that is already published: for December 9, 2026 the tool returned 41,501.94 pesos.
  • With period current you 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 · API CMF Bancos
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-Key header; it is not stored.
  • Numeric value (41391.69) with the original text in valueRaw, ISO date and unit CLP.
  • 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:

periodWhat it returnsArguments
currentToday's UF value (Chile time){"source": "uf", "period": "current"}
dateOne 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}
monthEvery day of a month (the UF has a value for every calendar day){"source": "uf", "period": "month", "year": 2026, "month": 11}
rangeBetween 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}
yearA 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
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:

python
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):

output
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.94

In JavaScript (Node.js 18 or later, as an .mjs module), the UF of a given day and 15 UF converted to pesos:

javascript
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:

output
2026-11-20: 1 UF = 41371.05 CLP; 15 UF = 620566 CLP

Step 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:

DateUF value (CLP)
Monday, November 30, 202641,439.89
Sunday, November 29, 202641,433.00
Saturday, November 28, 202641,426.11
Friday, November 27, 202641,419.22
Thursday, November 26, 202641,412.34
Wednesday, November 25, 202641,405.45
Tuesday, November 24, 202641,398.57
Monday, November 23, 202641,391.69
Sunday, November 22, 202641,384.81
Saturday, November 21, 202641,377.93
Friday, November 20, 202641,371.05
Thursday, November 19, 202641,364.17
Wednesday, November 18, 202641,357.30
Tuesday, November 17, 202641,350.42
Monday, November 16, 202641,343.55
Sunday, November 15, 202641,336.67
Saturday, November 14, 202641,329.80
Friday, November 13, 202641,322.93
Thursday, November 12, 202641,316.06
Wednesday, November 11, 202641,309.19
Tuesday, November 10, 202641,302.33
Monday, November 9, 202641,295.46
Sunday, November 8, 202641,290.15
Saturday, November 7, 202641,284.83
Friday, November 6, 202641,279.51
Thursday, November 5, 202641,274.20
Wednesday, November 4, 202641,268.88
Tuesday, November 3, 202641,263.57
Monday, November 2, 202641,258.26
Sunday, November 1, 202641,252.94

December 2026 UF already published

The 9 days of December that the CMF had already published on November 23, 2026:

DateUF value (CLP)
Wednesday, December 9, 202641,501.94
Tuesday, December 8, 202641,495.04
Monday, December 7, 202641,488.14
Sunday, December 6, 202641,481.24
Saturday, December 5, 202641,474.35
Friday, December 4, 202641,467.45
Thursday, December 3, 202641,460.56
Wednesday, December 2, 202641,453.67
Tuesday, December 1, 202641,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.

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.

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):

json
{
  "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

Other guides

This guide is also available en español.