Skip to main content
Glama
validalatam-mcp

validalatam-mcp

validalatam-mcp

Listed on mcpservers.org elmatis172/validalatam-mcp MCP server Validalatam MCP server

MCP server for the ValidaLatam API — validate, normalize and format Latin American tax IDs, national IDs and bank accounts: AR CUIT/CUIL/DNI/CBU/CVU, BR CPF/CNPJ, MX RFC/CURP/CLABE, CL RUT, CO NIT, PE RUC, UY CI/RUT, EC Cédula/RUC, PY RUC, IBAN.

This is a thin client: every tool call is an HTTP request to the hosted API. No validation algorithms are included here.

API key / plans on RapidAPI: https://rapidapi.com/MatiasPengue/api/validalatam

English | Español

English

Install

uvx validalatam-mcp
# or
pip install validalatam-mcp
validalatam-mcp

Published on PyPI. Step-by-step guide for AI agents (Cline, etc.): llms-install.md.

Claude Desktop (claude_desktop_config.json) / Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "validalatam": {
      "command": "uvx",
      "args": ["validalatam-mcp"],
      "env": { "RAPIDAPI_KEY": "optional-your-key" }
    }
  }
}

Tools

  • validate_document(type, value, country?) — type="AUTO" auto-detects

  • validate_batch(items) — up to 1000 {type, value, country?}

  • generate_test_data(type, count, seed) — clearly fake, check-digit-valid values

  • list_document_types()

Configuration

Env var

Default

Purpose

RAPIDAPI_KEY

–

Recommended. If set, calls go through RapidAPI (validalatam.p.rapidapi.com) and use your plan's quota (free Basic plan available). Without it, the public endpoint is a demo limited to 10 requests per IP per day, and validate_batch / generate_test_data are not available (they require RapidAPI: Basic free, Pro 9 USD/mo, Ultra 29, Mega 99 — https://rapidapi.com/MatiasPengue/api/validalatam/pricing). The first tool result shows a short notice about this.

VALIDALATAM_BASE_URL

https://validalatam.ia-latam.app

Override API base URL

Docker

docker build -t validalatam-mcp . && docker run -i --rm validalatam-mcp

Client SDKs

Zero-dependency clients in sdks/python/validalatam_client.py and sdks/js/index.mjs.

Development

pip install -e ".[test]" && pytest

Related MCP server: LATAM Intelligence MCP

Español

Servidor MCP para la API ValidaLatam: valida, normaliza y formatea CUIT/CUIL, DNI, CBU/CVU, CPF, CNPJ, RFC, CURP, CLABE, RUT, NIT, RUC, CI, cédulas e IBAN. Es un cliente liviano: cada herramienta llama por HTTP a la API alojada; no incluye los algoritmos de validación.

Clave de API y planes en RapidAPI: https://rapidapi.com/MatiasPengue/api/validalatam

Instalación

uvx validalatam-mcp
# o
pip install validalatam-mcp

Claude Desktop / Cursor

Usá el mismo bloque JSON de arriba en claude_desktop_config.json o ~/.cursor/mcp.json. RAPIDAPI_KEY es opcional pero recomendado: sin clave, el endpoint público es una demo limitada a 10 requests por día y por IP, y validate_batch / generate_test_data requieren RapidAPI (Pro 9 USD/mes, https://rapidapi.com/MatiasPengue/api/validalatam/pricing). Con clave se usa la cuota de tu plan en RapidAPI (hay un plan Basic gratis).

Herramientas

validate_document, validate_batch, generate_test_data (datos FALSOS de prueba), list_document_types.

License / Licencia

MIT

Available Tools

4 tools
generate_test_dataC

Generate clearly FAKE, check-digit-valid test values for a document type.

Inputs: type (required), seed, count.

list_document_typesA

List supported document type codes.

Inputs: no named parameters.

validate_batchC

Validate up to 1000 items, each {type, value, country?}.

Inputs: items (required).

validate_documentB

Validate/normalize/format a LatAm document (AR_CUIT, BR_CPF, BR_CNPJ, MX_RFC, MX_CURP, CL_RUT, CO_NIT, PE_RUC, IBAN...). type='AUTO' auto-detects.

Inputs: type (required), value (required), country.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: single validation, batch validation, test data generation, and listing supported types. There is no overlap in functionality or ambiguity about when to use each tool.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern: validate_document, validate_batch, generate_test_data, list_document_types. The pattern is predictable and easy to understand.

    Tool Count5/5

    With only 4 tools, the set is well-scoped and each tool serves a clear, non-redundant purpose. The count is appropriate for a focused validation service.

    Completeness5/5

    The tools cover the full lifecycle of document validation: discovery of types, single validation with normalization/formatting, batch validation for bulk needs, and generation of test data. No obvious gaps exist for the stated purpose.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Latin American business compliance suite — 28 tools for tax ID validation (CPF, CNPJ, RFC, RUT, CUIT, NIT), banking (PIX, CLABE, CBU), VAT rules, e-invoicing (NF-e, CFDI, DTE), holidays, and labor calendar across Brazil, Mexico, Chile, Argentina, and Colombia.
      28
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Provides business intelligence, compliance tools, and economic data for Latin America, including Brazilian company lookups, tax ID validation for multiple countries, and economic indicators from official government sources.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Validates LatAm banking and tax IDs (Mexican CLABE, Brazilian CNPJ/CPF checksums) and performs BrasilAPI company, CEP, and bank lookups, enabling AI agents to verify financial and tax information in Latin America.
      52 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to validate Mexican RFC, CURP, CLABE and NSS identifiers with real check digits, parse CFDI 4.0 invoices with labelled SAT catalogue codes and verified totals, and query the SAT's public status service to see whether an invoice is still valid. It also generates coherent test people and companies, all read-only and without API keys, certificates or PAC contracts.
      9
      342 npm
      1
      MIT