Mexico FIX exchange rate, UDIS, TIIE and inflation (Banxico)
Official Banco de México indicators from the SIE API: the FIX exchange rate (pesos per dollar), the UDI value, 28, 91 and 182-day TIIE, overnight TIIE, the policy target rate and annual INPC inflation; the current value, a given day or a series.
mexico_banxico_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 today's FIX exchange rate in Mexico?»
- «Today's UDI value and the 28-day TIIE over the last month»
- Or call the tool
mexico_banxico_indicatorswith these arguments:
{
"indicators": [
"fix",
"udis",
"tasa_objetivo"
]
}No. During the beta the server uses a Better Llama token for Banxico's SIE API and caches answers for 30 minutes. If you need more quota, send your own free SIE token in the X-Banxico-Token header; it is used only for that request and never stored. Optional header: X-Banxico-Token.
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": "mexico_banxico_indicators", "arguments": {"indicators": ["fix", "udis", "tasa_objetivo"]}}}'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("mexico_banxico_indicators", {"indicators": ["fix", "udis", "tasa_objetivo"]})
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-21), shortened:
{
"results": [
{
"indicator": "fix",
"seriesId": "SF43718",
"unit": "MXN por 1 USD",
"latest": {
"date": "2026-11-20",
"value": 19.0228
}
},
{
"indicator": "udis",
"seriesId": "SP68257",
"unit": "MXN por 1 UDI",
"latest": {
"date": "2026-11-21",
"value": 8.923181
},
"published_ahead": {
"date": "2026-11-25",
"value": 8.932476
}
},
{
"indicator": "tasa_objetivo",
"seriesId": "SF61745",
"unit": "% anual",
"latest": {
"date": "2026-11-21",
"value": 6.25
},
"published_ahead": {
"date": "2026-11-22",
"value": 6.25
}
}
],
"attribution": "Fuente: Banco de México (SIE), https://www.banxico.org.mx/SieAPIRest/ — reutilización permitida citando la fuente. Datos sin modificar salvo formato; no constituyen asesoramiento. sourceUpdatedAt es la fecha del dato más reciente publicado por Banxico en esta respuesta."
}Parameters
| Argument | Description | Type |
|---|---|---|
indicators | Indicators: fix = FIX exchange rate (pesos per US dollar, determination date) (SF43718); udis = UDI (Unidad de Inversión) value (SP68257); tiie_28 = 28-day TIIE (determination date) (SF60648); tiie_91 = 91-day TIIE (determination date) (SF60649); tiie_182 = 182-day TIIE (SF111916); tiie_fondeo = overnight funding TIIE (volume-weighted median) (SF331451); tasa_objetivo = Banco de México monetary policy target rate (SF61745); inflacion_anual = annual inflation: INPC, annual % change (SP30578). Default ["fix"]. Values: fix, udis, tiie_28, tiie_91, tiie_182, tiie_fondeo, tasa_objetivo, inflacion_anual; Default: ["fix"] | array<string> |
date | Day (YYYY-MM-DD): value in force that day; or "latest" (default) for the latest. Do not combine with fromDate/toDate. | string |
fromDate | From (YYYY-MM-DD), for a series. Default 30 days before toDate. Up to 2 years for daily series (30 years only with inflacion_anual). | string |
toDate | To (YYYY-MM-DD), inclusive. Default today (Mexico City time). | string |
maxItems | Maximum number of results to return (1-1000). Default 100. Default: 100; Max: 1000 | integer |
Source and attribution
Fuente: Banco de México (SIE), https://www.banxico.org.mx/SieAPIRest/ — reutilización permitida citando la fuente. Datos sin modificar salvo formato; no constituyen asesoramiento. sourceUpdatedAt es la fecha del dato más reciente publicado por Banxico en esta respuesta. Source site: www.banxico.org.mx/SieAPIRest.
Banco de México allows reproducing and using the information on its site as long as the source is cited. Cite «Fuente: Banco de México (SIE)» with the link https://www.banxico.org.mx/SieAPIRest/; the attribution field of every answer has the full text. Better Llama does not change the data except for its format. Banco de México terms of use («Salvedad», in Spanish).
FAQ
What data does it return?
Official Banco de México indicators from the SIE API: the FIX exchange rate (pesos per dollar, series SF43718), the UDI value (SP68257), 28, 91 and 182-day TIIE, overnight funding TIIE, the monetary policy target rate and annual INPC inflation. Every result carries the series code, unit, ISO date and numeric value.
What is the FIX exchange rate?
It is the Mexican pesos per dollar rate that Banco de México determines every business day and that is used to settle dollar obligations payable in Mexico. The tool returns it with its determination date; on 2026-11-20 it was 19.0228 pesos per dollar.
Why do UDIS come with a «published_ahead» value?
Banxico publishes the UDI value in advance. The tool returns the value in force today (Mexico City time) in latest and the one already published for a future date in published_ahead, with a notice in warnings. On 2026-11-21 the UDI was worth 8.923181 pesos and the value for 11-25 was already 8.932476.
Do I need a Banxico token?
No. During the beta the server uses a Better Llama token for Banxico's SIE API and caches answers for 30 minutes. If you need more quota, send your own free SIE token in the X-Banxico-Token header; it is used only for that request and never stored.
How should I cite the source?
Banco de México generally authorizes reproducing and using the information it publishes, as long as the source and its web address are mentioned. Cite «Fuente: Banco de México (SIE), https://www.banxico.org.mx/SieAPIRest/»; the attribution field of every answer has the full text.
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.