LatAm Data MCP
Validates Mercado Pago virtual account codes (CVU) as part of bank account validation for Argentina, including check-digit math and decoding of bank, branch, and account numbers.
Validates Brazilian PIX keys (CPF, CNPJ, e-mail, phone, or random UUID) with full check-digit math for CPF/CNPJ and type detection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LatAm Data MCP What's the official TRM for Colombia today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LatAm Data MCP
An MCP server that gives agents reliable access to LatAm data that is otherwise scattered, undocumented, or Spanish-only: tax-ID validation for 12 countries, live economic indicators, exchange rates (including Argentina's blue rate and Colombia's legally binding TRM), Brazilian company lookups, holidays, and business-day math.
Tools (20)
Identity, banking & companies
Tool | What it does |
| Validates national tax IDs with real check-digit math for 15 countries: 🇨🇱 RUT, 🇦🇷 CUIT/CUIL, 🇲🇽 RFC, 🇧🇷 CPF/CNPJ (incl. 2026 alphanumeric CNPJs), 🇨🇴 NIT, 🇵🇪 RUC, 🇺🇾 RUT, 🇪🇨 cédula/RUC, 🇵🇾 RUC, 🇻🇪 RIF, 🇬🇹 NIT, 🇩🇴 RNC, 🇵🇦 RUC+DV, 🇨🇷 cédula, 🇧🇴 NIT. Returns canonical formatting and person/company/public-entity detection. |
| Validates interbank account codes with check-digit math: 🇲🇽 CLABE (18-digit), 🇦🇷 CBU/CVU (22-digit, incl. Mercado Pago virtual accounts). Decodes bank, branch and account — verify a payout destination before sending money. |
| Validates a 🇧🇷 PIX key (CPF, CNPJ, e-mail, +55 phone, or random UUID) and detects its type — CPF/CNPJ with full check-digit math. |
| Validates & normalizes phone numbers for 15 countries → E.164, national format, mobile/landline detection. Handles Brazil's 9th digit, Mexico's 10-digit, Argentina's 9/15, Chile's 9-prefix. |
| Resolves a 🇧🇷 bank by COMPE code (name, ISPB). |
| Full federal-registry data for any Brazilian company by CNPJ: legal name, status, size, main activity, capital, address, partners. |
| 🇨🇷 taxpayer by cédula: name, regime, activities, and compliance status (moroso/omiso) from Hacienda — for KYC/AML. |
Money & markets
Tool | What it does |
| UF, UTM, USD, EUR and more, in CLP. |
| Official vs blue rate for USD/EUR. |
| SELIC, CDI, IPCA. |
| The legally binding USD/COP rate with validity dates. |
| Historical SELIC/CDI/IPCA/USD over a date range, with min/max/avg/change — for trend analysis and backtesting. |
| Historical USD/COP (TRM) over a date range. |
| 🇨🇷 official USD/EUR colón rate. |
| Convert any amount between two currencies at the live rate. |
| All 18 LatAm currencies vs USD in one call. |
Time & calendars
Tool | What it does |
| Official holidays for 20 LatAm countries, any year. |
| Upcoming holidays from today. |
| Long weekends with bridge-day analysis. |
| Working-day count between dates, holiday-aware — for SLA, payroll, logistics, settlement math. |
Related MCP server: LATAM Intelligence MCP
Install (free — runs on your machine)
No signup, no API keys. Two steps:
1. Install uv (the runner) if you don't already have it:
brew install uv # macOS
# or, any platform:
curl -LsSf https://astral.sh/uv/install.sh | sh2. Add the server to your MCP client config (mcpServers block):
{
"mcpServers": {
"latam-data": {
"command": "uvx",
"args": ["latam-data-mcp"]
}
}
}Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) — then quit and reopen the app.Cursor / Claude Code / other clients: same
mcpServersblock, in their config.
Then just ask your agent "Is Chilean RUT 60.910.000-1 valid?" — done. Requires Python 3.10+ (uv handles it).
macOS gotcha: if the server doesn't show up, use the full path to uvx as the
command(runwhich uvx→ e.g./opt/homebrew/bin/uvx). GUI apps don't always inherit your shell's PATH. First launch takes a few seconds while uv fetches the package; instant after that.
See it work
Once connected, just ask your agent in plain language:
"Is the Mexican CLABE
646180110400000007valid, and which bank is it?" → ✅ valid · Banco STP · branch 180 · account …
"Validate Brazilian CNPJ
00.000.000/0001-91and tell me who it is." → ✅ Banco do Brasil S.A. · active · Brasília-DF
"What's the UF and the dollar today in Chile? And convert 2,500,000 CLP to BRL."
"How many business days between 2026-09-01 and 2026-09-30 in Chile?" → holiday-aware working-day count (skips Fiestas Patrias)
No glue code — the agent picks the right tool and calls it.
Pro — the compliance & data tier
The tools above are free forever. Pro adds the compliance and data features teams actually pay for — the stuff you can't get from a free public API:
🛡️ OFAC sanctions / watchlist screening — fuzzy name matching (catches aliases, reordered names, accents) for KYC/AML onboarding
🏢 Company lookup by tax ID — 🇨🇱 Chile today; 🇦🇷 Argentina, 🇵🇪 Peru, 🇲🇽 Mexico coming — name, status, activities, compliance flags
📋 Bulk validation — validate up to 10,000 IDs in one call, for onboarding pipelines and CRM cleanups
coming: PEP screening, change-monitoring webhooks, extended historical data
Delivered as a managed, always-on hosted endpoint (no self-hosting), with higher rate limits and priority support.
💳 $19.99/mo — → Subscribe to Pro
Building for a team, or need a specific country/data source first? Open an issue — tell me your use case and I'll get you early access.
Develop
python3.11 -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/python server.py # stdio; set PORT=8000 for Streamable HTTPTests
.venv/bin/pytest # offline suite: validators + MCP protocol layer
.venv/bin/pytest -m live # integration tests against the real upstream APIsValidators are verified against python-stdnum's reference algorithms and real IDs of public institutions (Banco do Brasil, SUNAT, DIAN, UTE, U. de Chile).
Data sources
All free public APIs, no keys: gael.cloud (Chile), Bluelytics (Argentina), BrasilAPI (Brazil), datos.gov.co (Colombia), open.er-api.com (regional FX), Nager.Date (holidays). Tax-ID validation is pure local math — zero dependencies, zero latency, nothing to break.
Roadmap
Historical series (UF, USD, TRM)
Deploy free tier + directory listings (Smithery, PulseMCP, mcp.so)
Monetization via MCPize (85% rev share) once free tier has weekly active users
Electronic invoicing requirements per country (static knowledge tool)
Available Tools
20 toolsargentina_exchange_ratesArgentina Exchange RatesA
Get current Argentine peso (ARS) exchange rates: official vs "blue".
The gap between the official and informal (blue) rate is essential context for any pricing, invoicing or purchasing decision in Argentina.
Inputs: no named parameters. Returns: object
brazil_bank_lookupBrazil Bank LookupA
Look up a Brazilian bank by its COMPE code (e.g. 1 = Banco do Brasil, 341 = Itaú).
Returns the COMPE code, ISPB, short and full name. Useful to resolve the institution behind a payment or a bank slip. Source: BrasilAPI.
Inputs: code (required). Returns: object
brazil_company_lookupBrazil Company LookupA
Look up a Brazilian company by CNPJ in the federal registry.
Returns legal name, trade name, registration status, size, main activity (CNAE), share capital, address, contact data, and partners (QSA). Data from Receita Federal via BrasilAPI. Accepts formatted or unformatted numeric CNPJs.
Inputs: cnpj (required). Returns: object
brazil_historical_seriesBrazil Historical SeriesA
Get a historical time series of a Brazilian indicator over a date range.
series is one of: SELIC (policy rate), CDI, IPCA (inflation), USD (PTAX
BRL per USD). Dates are ISO (YYYY-MM-DD). Returns every data point plus a
summary (min, max, average, first, last, change) — for trend analysis,
indexation, and FX backtesting. Source: Banco Central do Brasil (SGS).
Inputs: series (required), end_date (required), start_date (required). Returns: object
brazil_market_ratesBrazil Market RatesA
Get Brazil's key market rates: SELIC (policy rate), CDI, and IPCA (inflation).
Annual percentage values, as published via BrasilAPI.
Inputs: no named parameters. Returns: object
business_daysBusiness DaysA
Count business days between two dates in a Latin American country.
Excludes weekends and that country's nationwide public holidays. Dates are ISO format (YYYY-MM-DD); the range is inclusive on both ends. Returns the count plus the nationwide holidays that fell on a weekday inside the range (i.e. those that actually reduced the count) — useful for SLA, payroll, logistics and settlement-date math.
Inputs: country (required), end_date (required), start_date (required). Returns: object
chile_indicatorsChile IndicatorsA
Get current Chilean economic indicators and currency values in CLP.
Includes UF (Unidad de Fomento), UTM (Unidad Tributaria Mensual),
USD (observed dollar), EUR and other market-quoted currencies.
Optionally filter with codes, e.g. ["UF", "USD"]. Values are CLP per unit.
Inputs: codes. Returns: object
colombia_official_trmColombia Official TrmA
Get Colombia's official TRM (Tasa Representativa del Mercado), USD to COP.
The TRM is the legally binding exchange rate certified by the financial regulator — used for taxes, customs, and contracts. Includes validity dates.
Inputs: no named parameters. Returns: object
colombia_trm_historyColombia Trm HistoryA
Get Colombia's official TRM (USD/COP) history over a date range.
Dates are ISO (YYYY-MM-DD). Returns each daily TRM plus a summary (min, max, average, change). Source: datos.gov.co (Superfinanciera).
Inputs: end_date (required), start_date (required). Returns: object
costa_rica_company_lookupCosta Rica Company LookupA
Look up a Costa Rican taxpayer/company by cédula in the Hacienda registry.
Accepts a cédula física (9 digits), jurídica (10 digits) or DIMEX.
Returns legal name, tax regime, registered economic activities, and the
tax-compliance situation — delinquent (moroso), non_filer (omiso)
and registration state — which is valuable for KYC/AML and onboarding.
Source: Ministerio de Hacienda (official, no key).
Inputs: cedula (required). Returns: object
costa_rica_exchange_rateCosta Rica Exchange RateA
Get Costa Rica's official USD and EUR exchange rates (colón, CRC).
Buy/sell for USD and the EUR reference, as certified by Hacienda — used for invoicing and accounting in Costa Rica.
Inputs: no named parameters. Returns: object
currency_convertCurrency ConvertA
Convert an amount between any two currencies at the current rate.
Handy for pricing, invoicing and reporting across LatAm — e.g. convert a Brazilian price to Chilean pesos. Uses live USD-based rates (open.er-api.com); covers all LatAm currencies plus USD/EUR and most world currencies. Currency codes are ISO 4217 (e.g. CLP, BRL, USD).
Inputs: amount (required), to_currency (required), from_currency (required). Returns: object
latam_exchange_ratesLatam Exchange RatesA
Get current USD exchange rates for all Latin American currencies at once.
Covers ARS, BOB, BRL, CLP, COP, CRC, CUP, DOP, GTQ, HNL, MXN, NIO,
PAB, PEN, PYG, UYU, VES. Optionally filter with currencies.
Rates are units of local currency per 1 USD, updated daily.
Inputs: currencies. Returns: object
long_weekendsLong WeekendsA
Get long weekends for a Latin American country and year.
Returns each long weekend with start/end dates, day count, and any bridge day needed — useful for travel, staffing, and demand planning.
Inputs: year (required), country (required). Returns: object
next_holidaysNext HolidaysA
Get the upcoming public holidays for a Latin American country from today.
Inputs: country (required). Returns: object
public_holidaysPublic HolidaysA
Get official public holidays for a Latin American country and year.
country is an ISO 3166-1 alpha-2 code (CL, AR, MX, BR, CO, PE, UY, ...).
Returns each holiday with date, local name, English name, and whether
it is nationwide. Useful for scheduling, SLAs, logistics, and payroll.
Inputs: year (required), country (required). Returns: object
validate_bank_accountValidate Bank AccountA
Validate a Latin American bank account / interbank code, check digit included.
Supported (ISO 3166-1 alpha-2): MX (CLABE, 18 digits), AR (CBU/CVU, 22 digits — CVU covers virtual accounts like Mercado Pago). Returns validity, canonical formatting, and the decoded structure — bank code and name, branch, and account number. Essential for fintech, payouts, and payment-collection agents that must confirm an account is well-formed before initiating a transfer.
Inputs: account (required), country (required). Returns: object
validate_phone_numberValidate Phone NumberA
Validate and normalize a Latin American phone number.
country is an ISO 3166-1 alpha-2 code (15 supported: CL, AR, MX, BR, CO,
PE, UY, EC, PY, VE, GT, DO, PA, CR, BO). Accepts input with or without
country code, spaces, dashes or parentheses. Returns validity, E.164 form,
a human-readable national format, and line type (mobile/landline) —
handling the tricky cases (Brazil's 9th digit, Mexico's 10-digit, Argentina's
mobile 9/15, Chile's 9-prefix). Ideal for WhatsApp, SMS/OTP and CRM hygiene.
Inputs: number (required), country (required). Returns: object
validate_pix_keyValidate Pix KeyA
Validate a Brazilian PIX key and detect its type.
PIX is Brazil's instant-payment rail. A key is one of: CPF (11 digits), CNPJ (14 digits), e-mail, phone (E.164, +55…), or a random EVP (UUID v4). CPF/CNPJ keys are validated with full check-digit math. Lets a payments agent confirm a PIX key is well-formed before initiating a transfer.
Inputs: key (required). Returns: object
validate_tax_idValidate Tax IdA
Validate a Latin American national tax ID, including its check digit.
Supported countries (ISO 3166-1 alpha-2): CL (RUT), AR (CUIT/CUIL), MX (RFC), BR (CPF or CNPJ — auto-detected, including 2026 alphanumeric CNPJs), CO (NIT), PE (RUC), UY (RUT), EC (cédula or RUC — auto-detected), PY (RUC), VE (RIF), GT (NIT), DO (RNC), PA (RUC + DV), CR (cédula física/jurídica/DIMEX — format only), BO (NIT — format only).
Verifies the country's check digit where one is algorithmically verifiable. Exception: Mexico's RFC — SAT-issued RFCs deviate from the published check-character algorithm, so for MX only the format and the embedded birth/incorporation date are validated (the result carries "check_digit_verified": false to make this explicit).
Returns validity, canonical formatting, and — where the ID encodes it — whether it belongs to a person, company, or public entity.
Inputs: tax_id (required), country (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have clearly separate purposes (validation vs lookup vs rates vs holidays), and the country-specific rate tools are differentiated by scope and current-vs-history. A few near-duplicates like brazil_historical_series vs brazil_market_rates or public_holidays vs next_holidays could slow selection, but the descriptions resolve the intended use.
Snake_case names are readable and mostly predictable: validators start with validate_, country-specific data uses country_subject, and generic utilities are concise noun phrases. The main inconsistency is word order (currency_convert vs convert-style verbs, public_holidays as noun-only) rather than any mixed convention.
At 20 tools, the set is on the heavy side and includes some near-redundant pairs (current vs historical country rates, all-holidays vs next-holidays). Still, the tools cluster into coherent groups, so the count is not unreasonable for a broad regional data server.
The core categories are covered well: phone/tax/bank validation, exchange rates, holidays/business days, and a few lookups. But country coverage is uneven—company lookup exists only for Brazil/Costa Rica, bank-account validation only for MX/AR, and historical series only for Brazil/Colombia—leaving notable gaps for an MCP with 'LatAm' scope.
Maintenance
Related MCP Connectors
LatAm Validate MCP — validate Latin-American banking and tax identifiers.
Argentina/Brazil data for agents: ARS dollar rates, INDEC CPI, holidays, CUIT/CPF/CNPJ, CEP, PTAX.
Brazil CNPJ, CEP, Selic/IPCA/PTAX, holidays, banks/ISPB for agents. Pay per call in USDC (x402).
Verified LATAM data for AI agents: sanctions, entity, rates, KYB. Pay via x402.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP Server for accessing 36 Brazilian public data sources and 1 agent, enabling AI agents to query government data on economy, legislation, transparency, judiciary, elections, environment, health, and more.61MIT
- FlicenseNot gradedqualityCmaintenanceProvides 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.-
- FlicenseAqualityBmaintenanceMCP server providing verified Latin American data via x402 micropayments. 4 MCP tools: vera_rates (central bank rates CO/MX/BR/CL/PE), vera_sanctions (OFAC+SARLAFT+CNBV+COAF+UAF screening, EU AI Act Art.13), vera_entity (RUES/CNPJ/RFC enrichment), vera_context (AI market intelligence). $0.02–$0.10 USDC per call.4-
- AlicenseAqualityDmaintenanceAn MCP server for Brazilian company and public procurement data, enabling CNPJ lookup, company search, tender resolution, and more via paid USDC-based API calls.1573 npmMIT