mcp-mexico
v0.1.3Official Mexican public data for AI agents: Banxico rates, INEGI inflation, UMA and ISR tables.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_uma UMA (Unidad de Medida y Actualización)
Get the official UMA (Unidad de Medida y Actualización) in Mexican pesos. Returns the daily, monthly and annual values, the validity period and the official source. Without `year`, returns the UMA in force today. Each year's UMA takes effect on February 1, so in January the previous year's value applies.
| Parameter | Type | Description |
|---|---|---|
year |
get_isr_table ISR rate table (personas físicas)
Get the official ISR rate table for individuals (personas físicas) in Mexican pesos. `monthly` is the Art. 96 table used for monthly withholdings and provisional payments on wages; `annual` is the Art. 152 table used for the annual tax return. Without `year`, returns the current year's table. To compute the tax, find the bracket containing the taxable income, then: fixed_fee + (income - lower_limit) * rate_percent / 100.
| Parameter | Type | Description |
|---|---|---|
period | string | |
year |
get_fix_rate FIX exchange rate
Get the FIX USD/MXN exchange rate published by Banco de México. Without `date`, returns the latest FIX. With `date`, returns the FIX for that day; on weekends and holidays there is no FIX, so it returns the most recent one before that day. Check the `date` field of the result.
| Parameter | Type | Description |
|---|---|---|
date |
get_fix_rate_range FIX exchange rate series
Get the daily FIX USD/MXN exchange rate between two dates (inclusive, max 366 days). Only business days have a value.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string |
get_interest_rate Interest rate
Get a key Mexican interest rate from Banco de México, in percent per year. Rates: `target` (Banxico policy rate), `tiie_28` (28-day TIIE), `tiie_funding` (overnight TIIE de Fondeo) and `cetes_28` (28-day CETES, weekly auction). Without `date`, returns the latest value. With `date`, returns the value for that day or the most recent one before it. Check the `date` field of the result.
| Parameter | Type | Description |
|---|---|---|
rate * | string | |
date |
get_interest_rate_range Interest rate series
Get a key Mexican interest rate between two dates (inclusive, max 366 days). Rates: `target`, `tiie_28`, `tiie_funding` and `cetes_28` (weekly). Values are in percent per year.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
rate * | string | |
start * | string |
get_inflation Inflation (INPC)
Get Mexican consumer price inflation (INPC, INEGI) for a month. Returns the INPC index plus monthly, annual and year-to-date inflation in percent. Without `year` and `month`, returns the latest published month. Pass both to get a specific month.
| Parameter | Type | Description |
|---|---|---|
month | ||
year |
get_inflation_range Inflation series (INPC)
Get Mexican consumer price inflation (INPC, INEGI) for each month in a range. `start` and `end` are inclusive, as YYYY-MM, at most 240 months apart. The returned `start` and `end` are the first and last months with data, which can be earlier than requested when the latest INPC is not yet published.
| Parameter | Type | Description |
|---|---|---|
end * | string | YYYY-MM |
start * | string | YYYY-MM |