mcpField
V
validalatam-mcp

validalatam-mcp

Local
github.com/elmatis172Business & Marketing0Updated 2d ago

About validalatam-mcp

validalatam-mcp is an MCP server for applications and agents that need to validate Latin American tax IDs, identity numbers, and bank accounts. It forwards requests to the hosted ValidaLatam API rather than implementing validation algorithms locally.

Key features

  1. 01Validate individual documents
  2. 02Validate batches of up to 1,000
  3. 03Generate fake test values
  4. 04List supported document types
  5. 05Normalize and format identifiers

Use cases

  1. 01Check an entered tax or identity number
  2. 02Validate many records in a batch
  3. 03Generate test data for development

MCP support

Exposes tools for document validation, batch validation, test-data generation, and listing document types to MCP clients. Calls are forwarded over HTTP to the hosted ValidaLatam API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"elmatis172-validalatam": {
"command": "uvx",
"args": [
"validalatam-mcp"
],
"env": {
"RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
"VALIDALATAM_BASE_URL": "<VALIDALATAM_BASE_URL>"
}
}
}
}
Run commanduvx validalatam-mcp
Environment variables to set
RAPIDAPI_KEYSecretOptional RapidAPI key; routes calls through RapidAPI
VALIDALATAM_BASE_URLOverride API base URL

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypivalidalatam-mcp0.2.2

Tools

4

Saved tool list · updated 2d ago

ParameterTypeRequiredDescription
typestringYes
valuestringYes
countryanyNo

Details

From the project README

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 --from git+https://github.com/elmatis172/validalatam-mcp validalatam-mcp
# or
pip install git+https://github.com/elmatis172/validalatam-mcp
validalatam-mcp

(Once published to PyPI: uvx validalatam-mcp / pip install validalatam-mcp.)

Claude Desktop (claude_desktop_config.json) / Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "validalatam": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/elmatis172/validalatam-mcp", "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 varDefaultPurpose
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 allows a small free number of validations per day per IP (a batch counts each document).
VALIDALATAM_BASE_URLhttps://validalatam.ia-latam.appOverride 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

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 --from git+https://github.com/elmatis172/validalatam-mcp validalatam-mcp
# o
pip install git+https://github.com/elmatis172/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 permite unas pocas validaciones gratis por día y por IP (un batch cuenta cada documento). 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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.