mcp-mexico

v0.1.3
io.github.DiegoTepichin/mcp-mexico Checked 3 days ago Published 1 month ago

Official 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.

ParameterTypeDescription
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.

ParameterTypeDescription
periodstring
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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
end *stringYYYY-MM
start *stringYYYY-MM