MCP Server for Official Mexican Data
Connect your AI assistant (Claude, ChatGPT, or any MCP client) straight to Mexico's official registries: CURP, RFC, postal codes, phone numbers, SPEI receipts, CFDI verification, the Federal Official Gazette (DOF), and official geocoding. One connection, pay-per-call via SPEI, no card, no subscription.
A tlmx_ API key is required to use the MCP server. Connecting is free — you only pay for the tool calls your agent makes.
What is MCP?
The Model Context Protocol (MCP) is the open standard that lets an AI assistant use external tools. Tlaloc's MCP server publishes our official-data services as tools your agent can invoke on its own — no per-API integration code on your side.
One MCP server for all official Mexican data: CURP, RFC, CFDI, postal codes, phone numbers, SPEI payments, the Diario Oficial, and geocoding with the official framework. Your assistant asks; we answer from the source. Pay per call via SPEI — no card, no subscription.
How to connect
From Claude Code it is a single command:
claude mcp add --transport http tlaloc https://api.tlaloc.sh/mx/mcp \
--header "Authorization: Bearer tlmx_YOUR_API_KEY"
- Endpoint:
https://api.tlaloc.sh/mx/mcp - Transport: HTTP (StreamableHTTP)
- Auth: your
tlmx_API key (OAuth also supported) - Works with Claude (Desktop and Code), ChatGPT, and any MCP client
Client-by-client walkthrough: How to set up the Tlaloc MCP server in your AI assistant.
Tools by service
Identity & tax
consultar_curp validates a CURP against RENAPO; validar_rfc checks an RFC with SAT (individuals and companies). For whole lists, crear_batch_curp, consultar_batch_curp, listar_items_batch_curp, and cancelar_batch_curp validate CURPs in bulk as a single job.
Location
consultar_codigo_postal looks up SEPOMEX postal codes; consultar_telefono resolves carrier and line type from the IFT registry; geocodificar_direccion turns an address into coordinates with the official geographic framework, and consultar_marco_geografico resolves a point's INE colonia, city block and postal code.
Payments
descargar_cep, consultar_cep, and listar_instituciones_cep handle Banxico's electronic SPEI payment receipts.
CFDI verification (SAT)
estado_cfdi checks a CFDI's status by UUID with SAT; consultar_cfdi_sat launches a query over received or sent CFDIs, and estado_consulta_cfdi retrieves the result. Verification and lookup of existing receipts — nothing more.
Regulatory
buscar_dof, buscar_subsecciones_dof, buscar_entidades_dof, unidades_por_entidad_dof, obtener_documento_dof, and indice_ejemplar_dof: semantic search over the Federal Official Gazette, 2002 to the present.
Every tool costs the same as its REST endpoint — see pricing. The full tool list lives in the documentation.
Why Tlaloc instead of a KYC platform?
| Tlaloc MCP | KYC platforms with an MCP | |
|---|---|---|
| What it is | Direct, tool-by-tool access to official data | An identity/risk platform; the MCP drives their flow |
| Model | Prepaid, pay-per-call via SPEI, no card, no contract | Subscription/enterprise, KYC account onboarding |
| Catalog | CURP · RFC · CFDI · postal codes · phone numbers · CEP/SPEI · Diario Oficial · INEGI/INE geographic framework | Identity/AML only. No geographic data, no Diario Oficial, no SPEI payments |
| Lock-in | None — it's the MCP plus the REST API; you orchestrate | The agent lives inside their platform |
| Transparency | Public repo + the official MCP registry | Closed |
Verifiable trust
- Public repo: github.com/tlaloc-sh/tlaloc-mcp
- Listed in the official MCP registry (registry.modelcontextprotocol.io), on PulseMCP and on Glama
Frequently Asked Questions
What is the Tlaloc MCP server?
A remote MCP (Model Context Protocol) server at https://api.tlaloc.sh/mx/mcp that exposes Tlaloc's official Mexican data services — CURP (RENAPO), RFC (SAT), postal codes (SEPOMEX), phone numbers (IFT), SPEI payment receipts (Banxico), CFDI verification (SAT), the Federal Official Gazette (DOF), and geocoding with the official geographic framework (INEGI/INE) — as tools your AI assistant can call directly.
Which assistants does it work with?
Claude (Desktop and Claude Code), ChatGPT, and any MCP-compatible client. It is a remote HTTP server (StreamableHTTP): nothing to install — add the URL with your API key and the tools appear.
How much does it cost?
Connecting is free. Each tool call is billed at the same price as the equivalent REST endpoint (e.g. postal-code lookup 0.01 u, RFC validation 0.10 u; 1 u = $1 MXN, VAT included). No monthly fee, no connection charge. See pricing.
Do I need a card?
No. Accounts are prepaid via SPEI bank transfer: sign up, top up from your bank, and your calls draw from that balance. No card, no subscription, no contract.
What data can my agent query?
Official sources: CURP against RENAPO, RFC against SAT, SEPOMEX postal codes, phone numbers from the IFT registry, Banxico SPEI payment receipts (CEP), CFDI verification with SAT, semantic search over the Federal Official Gazette (DOF), 2002 to the present, and geocoding with the official INEGI/INE geographic framework.
Is it safe?
Access is scoped to your tlmx_ API key (or OAuth): the agent can only spend your calls and your balance. All data comes from official registries queried legitimately — no scraping, no gray sources — and you can revoke the key from the console at any time.