Skip to main content

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 | 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 var Default Purpose
RAPIDAPI_KEY – If set, calls go through RapidAPI (validalatam.p.rapidapi.com)
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.

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for validalatam-mcp 0.1.1
File Size Uploaded
validalatam_mcp-0.1.1.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for validalatam-mcp 0.1.1
File Interpreter ABI Platform
validalatam_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / validalatam_mcp-0.1.1.tar.gz

Download URL validalatam_mcp-0.1.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e5f712112fda722e1f0a41b7574edda006f958a415c1a748eb993cf0ace09723
BLAKE2b-256 checksum
How to use checksums
b391624575d13e8c3bdc032fee93ed8249a713b835d2b4f7249916a16bea762d
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.1.1-py3-none-any.whl

Download URL validalatam_mcp-0.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27efb81fe0c858f3265e01ec983fdb881e45818191213326a24634dec7994a54
BLAKE2b-256 checksum
How to use checksums
8c973e3a7999916455afa7ffc8245dff83d32982fe43c25654f0b76497b70e8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page