UF, dollar, UTM and CPI (CMF Chile)
Official UF, observed dollar, euro, UTM, CPI, TMC and TIP values by day, month, year or range, plus CMF bank reports.
get_chile_financial_indicators
Use it over MCP
- Connect the server
https://mcp.betterllama.com/mcpin your client (setup per client). - Ask your agent, for example:
- «What is the UF worth today?»
- «Give me the observed dollar for every day of October 2026»
- Or call the tool
get_chile_financial_indicatorswith these arguments:
{
"source": "uf",
"period": "current"
}No. During the beta the server uses a Better Llama key with a 30-minute cache. If you need more quota, send your own free api.cmfchile.cl key in the X-CMF-Api-Key header; it is used only for that request and never stored. Optional header: X-CMF-Api-Key.
Beta: free and with no sign-up while we test the service.
Direct HTTP call (JSON-RPC)
Without an MCP client, POST to the same server:
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"}}}'import json, requests
# Call a Better Llama MCP tool over HTTP (JSON-RPC)
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}}
r = requests.post(URL, json=body, headers=HEADERS, timeout=120)
r.raise_for_status()
result = r.json()["result"]
data = json.loads(result["content"][0]["text"])
if result.get("isError"):
raise RuntimeError(data["error"])
return data
data = call("get_chile_financial_indicators", {"source": "uf", "period": "current"})
for row in data["results"]:
print(row)
print(data["attribution"])The answer text is JSON with results, count, warnings, attribution and source.
Example response
Real results returned by the source (2026-11-10), shortened:
{
"results": [
{
"date": "2026-08-01",
"year": 2026,
"month": 8,
"title": "BANCO DE CHILE",
"institutionCode": "001",
"institutionName": "BANCO DE CHILE",
"rut": "97.004.000-5",
"swift": "BCHI CL RM",
"website": "www.bancochile.cl",
"address": "AHUMADA 251",
"branches": 208,
"employees": 10249,
"source": "perfil",
"kind": "perfil",
"officialUrl": "https://www.cmfchile.cl/",
"dataSource": "Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos. Fuente: https://www.sbif.cl / https://www.cmfchile.cl",
"retrievedAt": "2026-11-10T20:08:53.020Z"
}
],
"attribution": "Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos — https://www.cmfchile.cl"
}Parameters
| Argument | Description | Type |
|---|---|---|
source | Resource — Indicators: uf, dolar, euro, utm, ipc, tmc, tip. Bank reports: balances, resultados, perfil, accionistas, integrantes, adecuacion. The TAB UF 360 rate is suspended by the CMF (not offered). Values: uf, dolar, euro, utm, ipc, tmc, tip, balances, resultados, perfil, accionistas, integrantes, adecuacion; Default: "uf" | string |
period | Period (indicators) — Indicators only. current = current value; year / month / date = one year, one month or one day; range = between year(/month[/day]) and yearTo(/monthTo[/dayTo]). The day range (dias_i / dias_f) is documented and verified for dollar and euro. UF, UTM, IPC, TMC and TIP use a month or year range. Values: current, year, month, date, range; Default: "current" | string |
year | Year — YYYY. Required for period year/month/date/range and for bank reports (except capital adequacy by regression). Max: 2100 | integer |
month | Month — 1-12. Required for period=month/date and for bank reports. Max: 12 | integer |
day | Day — 1-31. Only UF, dollar and euro (period=date or the start of a day range). Max: 31 | integer |
yearTo | Year to — End of the range (period=range). Max: 2100 | integer |
monthTo | Month to — End of a month or day range. Max: 12 | integer |
dayTo | Day to — End of a day range (dollar and euro). Max: 31 | integer |
institutionCode | Institution code — 3-digit SBIF code (001 = Banco de Chile, 012 = BancoEstado, 028 = BICE, 999 = financial system). Required for perfil, accionistas, integrantes and adecuacion. In balances/resultados, if omitted and there is no accountCode, the catalog of institutions for the month is listed. | string |
accountCode | Account code — CMF accounting code. The current chart of accounts uses 9-digit codes (e.g. 105000000 = Cash and deposits in banks; the 1000000 from the 2009 documentation no longer returns data). If omitted, the bank's full statement for that month is returned (it can be hundreds or more than a thousand lines; use maxItems). | string |
listCatalog | Catalog — Only balances or resultados. instituciones = list of banks with data that month; cuentas = chart of accounts for the month. Empty = detail (statement or account). Values: instituciones, cuentas | string |
adecuacionResource | Capital adequacy resource — irs = regulatory capital / risk-weighted assets (%); ire = core capital / total assets (%); componentes = breakdown; regresion_* = last N months (the most recent should be the latest published; in a 2026 test this endpoint returned series from 2020). Values: irs, ire, componentes, regresion_irs, regresion_ire, regresion_capbas, regresion_patefe; Default: "irs" | string |
regresionMonths | Regression months — Only adecuacionResource=regresion_*. Between 1 and 24. Default 12. Default: 12; Max: 24 | integer |
maxItems | Maximum number of results to return (1-500). Default 50. Default: 50; Max: 500 | integer |
Source and attribution
Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos — https://www.cmfchile.cl Source site: api.cmfchile.cl.
FAQ
What data does the CMF API return?
Indicators from the official CMF Bancos API: UF, observed dollar, euro, UTM, CPI, TMC and TIP. Also bank reports: monthly balance sheet, income statement, bank profile, shareholders that are legal entities, board members (natural-person names hidden) and capital adequacy. The TAB UF 360 rate was suspended by the CMF and is not included.
Do I need a CMF API key?
No. During the beta the server uses a Better Llama key with a 30-minute cache. If you need more quota, send your own free api.cmfchile.cl key in the X-CMF-Api-Key header; it is used only for that request and never stored.
How often are values updated?
As published by the CMF: the UF is daily, the dollar and euro are business-daily, and UTM, CPI, TMC and TIP are monthly. Each call queries the API live; with period you ask for the current value, a year, a month, a day or a range.
How much does it cost?
Free during the beta, with no sign-up and a limit of 60 requests per minute per IP. If paid plans come later, we will announce them on betterllama.com first.