MéxicoAPI
v0.2.1Datos oficiales de México: FIX, UDIS, días hábiles, UMA, ISR, municipios, CLABE, RFC, CURP y NSS.
Values you need
| Variable | What it is | |
|---|---|---|
MEXICOAPI_BASE | optional | Dirección de la API que se consulta; sin ella, la pública. Con http://, solo localhost, 127.0.0.1 o [::1]. |
MEXICOAPI_SIN_RED | optional | Con true responde todo con los datos del paquete mexicoapi, sin usar la red. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mexicoapi-mcp -- npx -y mexicoapi-mcp@0.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"mexicoapi-mcp": {
"args": [
"-y",
"mexicoapi-mcp@0.2.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mexicoapi-mcp": {
"args": [
"-y",
"mexicoapi-mcp@0.2.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mexicoapi-mcp": {
"args": [
"-y",
"mexicoapi-mcp@0.2.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mexicoapi-mcp]
command = "npx"
args = ["-y", "mexicoapi-mcp@0.2.1"]For AI agents
- 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: buscar_municipio, municipio, estados, municipios_de_estado, validar_clabe, banco_por_codigo, validar_rfc, validar_curp, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json