Mx clabe validate

mx-clabe-validate · version 1.0.0 · Identifiers & check digits · free, no key needed

Validate an 18-digit Mexican CLABE's weighted check digit and split it into bank, plaza and account fields.

Use when you need to: validate a mexican clabe · check clabe check digit · is this a valid interbank clabe.

Decide before calling

Read the versioned contract and the supported scope below. Reuse mx-clabe-validate@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use mx-clabe-validate@1.0.0 for validate a mexican clabe. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "clabe": "723010123456789019"
}

Response:

{
  "result": {
    "valid": true,
    "reason": null,
    "bank_code": "723",
    "plaza_code": "010",
    "account_number": "12345678901",
    "check_digit": "9"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "mx-clabe-validate",
  "version": "1.0.0",
  "input": {
    "clabe": "723010123456789019"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/mx-clabe-validate/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"clabe":"723010123456789019"}'

The machine-readable contract is at /v1/tools/mx-clabe-validate/versions/1.0.0.

CLI

node cli.mjs run mx-clabe-validate 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.