validalatam-mcp
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
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-detectsvalidate_batch(items)— up to 1000{type, value, country?}generate_test_data(type, count, seed)— clearly fake, check-digit-valid valueslist_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 allows a small free number of validations per day per IP (a batch counts each document). |
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
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
Metadata
Release files for validalatam-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| validalatam_mcp-0.2.0.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| validalatam_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / validalatam_mcp-0.2.0.tar.gz
| Download URL | validalatam_mcp-0.2.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
287b1883acecda802b63013bceae1a5d017f40cc16ace3a61c8817d5e10c1235
|
|
BLAKE2b-256 checksum How to use checksums |
6a9cea286b50d0cf7811071137067b476c6a1e2c46573f6592bf543469539df0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / validalatam_mcp-0.2.0-py3-none-any.whl
| Download URL | validalatam_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae12073ad23837a268845ae8910d90d876d4c1348f8bec00b5d9a3afb04749e0
|
|
BLAKE2b-256 checksum How to use checksums |
734aa93659a6cc2f559667e4e9019dd7d3f49dd08114952db4a0746c0cf4be01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for validalatam-mcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.