MéxicoAPI

v0.2.1
io.github.Dagel4k/mexicoapi-mcp Checked 11 hours ago Published 29 days ago

Datos oficiales de México: FIX, UDIS, días hábiles, UMA, ISR, municipios, CLABE, RFC, CURP y NSS.

Values you need

VariableWhat it is
MEXICOAPI_BASEoptional 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_REDoptional 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.1
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: buscar_municipio, municipio, estados, municipios_de_estado, validar_clabe, banco_por_codigo, validar_rfc, validar_curp, ….
  4. 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