# Validador RFC · CURP · CLABE — Mexican ID Validator

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

Validador RFC · CURP · CLABE — Mexican ID Validator is a free AI agent skill on Agensi by Johnny Boy, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Johnny Boy](https://www.agensi.io/creators/johnny-boy)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/validador-rfc-curp-clabe-mexican-id-validator
- Tags: mexico, data-validation, finance, developer-tools, data-cleaning

## 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.

## Known limitations

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Validador RFC · CURP · CLABE — Mexican ID Validator skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How is this different from just asking a standard AI to validate an RFC or CURP?

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.

### Does this tool require an internet connection or access to government servers to work?

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.

### What exactly is included in the purchase?

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.

### What kind of metadata can be extracted from the identifiers?

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.

### Can the skill handle datasets that contain a mix of different ID types?

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.

### Which AI agents or frameworks are compatible with this skill?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
