LatAm Data MCP

LatAm Data MCP

An MCP server that gives agents reliable access to LatAm data: tax-ID validation for 12 countries, live economic indicators, exchange rates, Brazilian company lookups, holidays, and business-day math.

Category
Visit Server

README

LatAm Data MCP

<!-- mcp-name: io.github.svkbogislav/latam-data-mcp -->

The Latin American data layer your AI agent is missing.

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
validate_tax_id 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.
validate_bank_account 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.
validate_pix_key Validates a πŸ‡§πŸ‡· PIX key (CPF, CNPJ, e-mail, +55 phone, or random UUID) and detects its type β€” CPF/CNPJ with full check-digit math.
validate_phone_number 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.
brazil_bank_lookup Resolves a πŸ‡§πŸ‡· bank by COMPE code (name, ISPB).
brazil_company_lookup Full federal-registry data for any Brazilian company by CNPJ: legal name, status, size, main activity, capital, address, partners.
costa_rica_company_lookup πŸ‡¨πŸ‡· taxpayer by cΓ©dula: name, regime, activities, and compliance status (moroso/omiso) from Hacienda β€” for KYC/AML.

Money & markets

Tool What it does
chile_indicators UF, UTM, USD, EUR and more, in CLP.
argentina_exchange_rates Official vs blue rate for USD/EUR.
brazil_market_rates SELIC, CDI, IPCA.
colombia_official_trm The legally binding USD/COP rate with validity dates.
brazil_historical_series Historical SELIC/CDI/IPCA/USD over a date range, with min/max/avg/change β€” for trend analysis and backtesting.
colombia_trm_history Historical USD/COP (TRM) over a date range.
costa_rica_exchange_rate πŸ‡¨πŸ‡· official USD/EUR colΓ³n rate.
currency_convert Convert any amount between two currencies at the live rate.
latam_exchange_rates All 18 LatAm currencies vs USD in one call.

Time & calendars

Tool What it does
public_holidays Official holidays for 20 LatAm countries, any year.
next_holidays Upcoming holidays from today.
long_weekends Long weekends with bridge-day analysis.
business_days Working-day count between dates, holiday-aware β€” for SLA, payroll, logistics, settlement math.

Install (free β€” runs on your machine)

No download or clone needed. Add this to your MCP client config β€” uvx fetches and runs the server straight from this repo:

Claude Desktop / Cursor / Claude Code (mcpServers block):

{
  "mcpServers": {
    "latam-data": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/svkbogislav/latam-data-mcp", "latam-data-mcp"]
    }
  }
}

Or install it as a command:

uvx --from git+https://github.com/svkbogislav/latam-data-mcp latam-data-mcp
# or:  pipx install git+https://github.com/svkbogislav/latam-data-mcp

Requires Python 3.10+. No API keys β€” every data source is free and public.

Hosted (managed) endpoint

A always-on hosted instance is available at https://latam-data.fastmcp.app/mcp (Streamable HTTP, authenticated). Use this if you'd rather not run anything locally.

Develop

python3.11 -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/python server.py     # stdio; set PORT=8000 for Streamable HTTP

Tests

.venv/bin/pytest              # offline suite: validators + MCP protocol layer
.venv/bin/pytest -m live      # integration tests against the real upstream APIs

Validators 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)

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured