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.
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)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。