Validador RFC · CURP · CLABE — Mexican ID Validator

    1

    Valida RFC, CURP y CLABE offline (dígito verificador) y limpia CSVs completos. Explica cada error. Sin API.

    Free

    2 usesSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Validador RFC · CURP · CLABE — Mexican ID Validator

    Example session with this skill installed

    Validate these Mexican IDs: SAT970701NN3, BEML920313HCMLNS09, and 002010077777777772. Tell me if they are correct and what data they contain.

    • Read your context and instructions
    • Compiled the validador rfc curp

    I have validated the three Mexican identifiers provided. Two are structurally correct, and one contains a check-digit error.

    Validation Results

    InputTypeStatusExtracted DataError Detail
    SAT970701NN3RFC (Moral)✅ ValidDate: 1997-07-01None
    BEML920313HCMLNS09CURP✅ ValidDate: 1992-03-13, Sex: M, State: SLNone
    002010077777777772CLABE❌ InvalidBank: Banamex, Account: 0777777777Check-digit mismatch. Expected 1, received 2.

    Important Note: A status of "Valid" means the identifier is mathematically well-formed. This does not confirm that the RFC is active in the SAT database, that the CURP is registered with RENAPO, or that the bank account belongs to a specific person.

    Next steps

    • Correct the last digit of the CLABE to 1 and re-verify the account number.
    • Use the validated RFC for generating CFDI 4.0 invoices.
    • If you need to validate a larger list, provide a CSV file for bulk processing.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Valida identificadores mexicanos sin internet con los algoritmos públicos de dígito verificador.

    • RFC físico/moral: estructura, fecha real, DV módulo 11, RFC genéricos
    • CURP: estructura, fecha, sexo, entidad, DV
    • CLABE: DV 3-7-1 + banco, plaza y cuenta
    • Modo CSV: agrega columnas _valido y _errores a tu base de clientes/proveedores
    • Porta las funciones a JS/TS, SQL o Sheets para tus formularios
    • Casos de prueba verificados incluidos

    Ideal para contadores, devs de fintech/e-commerce MX, RR. HH. y freelancers que cobran por SPEI. "Válido" = bien formado; no consulta SAT/RENAPO. No es asesoría fiscal.

    Does not verify registration with SAT/RENAPO or account ownership. Validates structure only. Bank catalog is based on standard Banxico codes and may not include every new fintech.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    2 uses

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill uses deterministic mathematical algorithms (like Modulo 11 and 3-7-1 weighting) for 100% accuracy. Unlike basic prompts that often hallucinate check-digits, this tool ensures IDs are structurally perfect and provides the specific logic needed for your own apps.

    No, this skill operates entirely offline using internal logic. While it confirms an ID is mathematically valid and structurally correct, it does not verify if the ID is currently 'active' or registered in the SAT or RENAPO government databases.

    You receive the core validation skill, a script for bulk CSV processing, and a logic-porting utility. This utility generates ready-to-use snippets in Python, JavaScript, SQL, and Excel formulas to help you implement validation in your own frontend or backend systems.

    The skill can identify the birth date, gender, and state of birth from a CURP, distinguish between individual and corporate RFCs, and map the first three digits of a CLABE to the specific bank name and branch location.

    Yes, the tool features an 'Analyze' mode that scans input strings or CSV columns to automatically detect whether the data is an RFC, CURP, or CLABE before applying the corresponding validation logic.

    The skill is optimized for AI agents that support Python execution environments. It is compatible with most major agentic frameworks and can be integrated into custom data pipelines via the provided code-generation templates.

    New in Finance & Accounting