ValidaLatam — LatAm ID & Tax Document Validator

    2

    > Note: "valid" means well-formed (structure + check digit), not registered with the tax authority.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    ValidaLatam — LatAm ID & Tax Document Validator

    Example session with this skill installed

    Check these documents and tell me which are valid, with the formatted version: 52998224725 (Brazil), 11.222.333/0001-81, 20-12345678-6, 111.111.111-11

    • Read your context and instructions
    • Compiled the validalatam

    Summary

    Validated 4 documents with ValidaLatam (validate_batch). 3 are well-formed, 1 is invalid.

    InputTypeValidFormattedNormalizedNotes
    52998224725BR_CPF✅ Yes529.982.247-2552998224725Auto-detected with country BR
    11.222.333/0001-81BR_CNPJ✅ Yes11.222.333/0001-8111222333000181Branch 0001 (headquarters)
    20-12345678-6AR_CUIT✅ Yes20-12345678-620123456786Entity: person, embedded DNI 12345678
    111.111.111-11BR_CPF❌ No——Error: repeated digits are invalid
    {"type":"BR_CPF","value":"52998224725","valid":true,"formatted":"529.982.247-25","normalized":"52998224725"}
    

    Important: "valid" means the number is well-formed (structure, length and check digit). It does not confirm the person or company is registered or active with Receita Federal or AFIP/ARCA.

    Next steps

    • Store the normalized value in your database and show formatted in the UI
    • Ask the customer to re-enter the invalid CPF
    • For KYC, confirm registration status with the relevant tax authority

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

    About this skill

    ValidaLatam teaches your agent to validate, normalize and format Latin American tax IDs, national IDs and bank account numbers using the official published check-digit algorithms, via the free, open-source validalatam-mcp server.

    Supported documents

    • Brazil: CPF, CNPJ
    • Argentina: CUIT, CUIL, DNI, CBU, CVU
    • Mexico: RFC, CURP, CLABE
    • Chile: RUT · Colombia: NIT · Peru: RUC · Uruguay: RUT, CI · Ecuador: Cédula, RUC · Paraguay: RUC
    • IBAN

    What it does

    • Auto-detects document type (AUTO, optional country hint)
    • Returns valid/invalid, canonical formatted value, digits-only normalized value and a clear error reason
    • Batch validation of up to 1,000 items (great for CSV / CRM cleaning)
    • Generates synthetic, check-digit-valid fake test data for QA

    Use cases

    KYC onboarding, checkout and invoicing forms, CRM data cleaning, QA test fixtures.

    Note: "valid" means well-formed (structure + check digit), not registered with the tax authority.

    Setup

    uvx validalatam-mcp or claude mcp add validalatam -- uvx validalatam-mcp. Free tier: 50 validations/day per IP; set RAPIDAPI_KEY for plan quotas.

    MIT licensed. Source: https://github.com/elmatis172/validalatam-mcp · Docs: https://validalatam.ia-latam.app/docs

    Does not check government registration status. Free usage capped at 50 daily calls without RapidAPI key. Batch calls limited to 1,000 items per request.

    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

    1 use

    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

    Requires

    Validalatam MCP
    uv (Python tool runner)

    Permissions

    Terminal / Shell
    Network Access
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    Unlike LLMs which often hallucinate the complex modular arithmetic of tax IDs, this skill uses deterministic official algorithms to ensure 100% mathematical accuracy for documents like CPF, RFC, and CUIT.

    The skill supports a wide range of Latin American countries including Brazil, Mexico, Argentina, Chile, Colombia, Peru, Uruguay, Ecuador, and Paraguay.

    No, this skill focuses on structural integrity and check-digit logic; it does not check the 'active' status of an ID against live government databases like the SAT or Receita Federal.

    The skill interfaces with the validalatam-mcp server via HTTPS and can be integrated into any AI agent framework that supports MCP (Model Context Protocol) or standard API tools.

    Yes, the skill includes a dedicated tool for generating synthetic, check-digit-valid IDs, which is perfect for QA testing and development environments without using real user data.

    The 'AUTO' mode enables the skill to intelligently detect the document type and country from a raw string, though you can specify a country code to resolve any regional ambiguities.

    New in Finance & Accounting