Banxico (Banco de México)
v0.2.0Mexico's official economic data from Banxico: USD/MXN, inflation, UDIS, TIIE and reserves.
Values you need
| Variable | What it is | |
|---|---|---|
BANXICO_TOKEN | required secret | Free API token for Banxico's SIE (Sistema de Informacion Economica) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add banxico -e 'BANXICO_TOKEN=<BANXICO_TOKEN>' -- uvx mcp-banxico==0.2.0Add to
claude_desktop_config.json{
"mcpServers": {
"banxico": {
"args": [
"mcp-banxico==0.2.0"
],
"command": "uvx",
"env": {
"BANXICO_TOKEN": "<BANXICO_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"banxico": {
"args": [
"mcp-banxico==0.2.0"
],
"command": "uvx",
"env": {
"BANXICO_TOKEN": "<BANXICO_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BANXICO_TOKEN",
"id": "banxico-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"banxico": {
"args": [
"mcp-banxico==0.2.0"
],
"command": "uvx",
"env": {
"BANXICO_TOKEN": "${input:banxico-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.banxico]
command = "uvx"
args = ["mcp-banxico==0.2.0"]
env = { "BANXICO_TOKEN" = "<BANXICO_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http banxico https://banxico-mcp.duckdns.org/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"banxico": {
"args": [
"-y",
"mcp-remote",
"https://banxico-mcp.duckdns.org/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"banxico": {
"url": "https://banxico-mcp.duckdns.org/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"banxico": {
"type": "http",
"url": "https://banxico-mcp.duckdns.org/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.banxico]
command = "npx"
args = ["-y", "mcp-remote", "https://banxico-mcp.duckdns.org/mcp"]For AI agents
- Ask the user for: BANXICO_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: tipo_cambio_usd, inflacion_mexico, valor_udis, tasa_interes_banxico, reservas_internacionales, consultar_serie_sie.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json