EcuDataMCP
EcuDataMCP is a read-only MCP server that unifies Ecuadorian public data sources so AI assistants and apps can search, preview, query and cross-reference official data conversationally.
Unified search: one first-step query across CKAN datasets, gob.ec trámites/regulations, SERCOP contracts and SGR risk events.
Open data (CKAN): browse national, Cuenca, Latacunga and IADB portals — datasets, resources, organizations and categories; preview CSV/JSON/Excel/ODS/ZIP files or query DataStore tabular data without downloading.
Geography: look up provinces, cantons and parroquias with INEC codes, region and population.
Disasters & seismology: live SGR risk events, SITREP dossiers, tsunami station list, IG-EPN earthquake feed and seismic/volcanic PDF reports.
Aviation: METAR/NOTAM/SIGMET notices and AIP aerodrome data sheets.
Tax & procedures (SRI, gob.ec): RUC lookups, taxpayer search by name, trámites (requirements, costs, usage stats), institutions and regulations.
Statistics (INEC): ANDA surveys and microdata, Ecuador en Cifras topics/publications, BIINEC extras, road-crash data and infoMIES monthly bases/bulletins.
Economy (BCE): BCEData indicator catalog and time series, IEM bulletin tables, publication archives, release calendar and daily indicators.
Energy: CENACE live grid snapshots, ARCONEL reports, and scheduled power-cut PDFs/horarios (EEQ, Centrosur).
Institutional archives: documents from ARCSA, Superbancos, SEPS, INEVAL, SENESCYT, SIPA, Petroecuador, Energía, CNE, BVG/BVQ, IESS and Contraloría.
Geoportals: search INAMHI and MAG GeoServer layers and sample WFS feature attributes.
Companies (Supercías): 226k+ company registry, financial rankings and 5-year histories, plus authorized external auditors.
Procurement (SERCOP/OCDS): search contract processes and read full OCDS records.
International comparators: CEPALSTAT indicators, plus WDI, IRENA, XM, UN Comtrade, IMF, WHO, ILO and UNHCR series for Ecuador.
Utilities: PDF text extraction and remote ZIP listing (no OCR, 5 MB caps).
Deployment: no API key needed for public sources; runs via stdio or streamable HTTP with optional bearer auth, rate limiting, health and usage endpoints.
EcuDataMCP
Sitio: https://dweskz.github.io/EcuDataMCP/
Infraestructura abierta de datos públicos para Ecuador. EcuDataMCP conecta asistentes de IA, investigadores, periodistas y software con datos oficiales ecuatorianos mediante una interfaz común.
Utiliza el Model Context Protocol (MCP) para que clientes compatibles como Claude, ChatGPT, Gemini y Cursor puedan buscar, explorar y analizar esos datos mediante conversación o software.
En lugar de navegar manualmente por portales gubernamentales, simplemente pregunta cosas como:
"¿Qué datos tiene el SRI sobre recaudación tributaria?"
"Muéstrame los datasets de salud del INEC"
"¿Cuáles son los requisitos para sacar el pasaporte?"
"Dame un preview de los datos de transporte aéreo"
Aviso: Las definiciones, parámetros y descripciones de algunas herramientas fueron generadas o asistidas por IA y pueden estar incompletas, desactualizadas o no cubrir todos los casos del endpoint subyacente. Una herramienta puede devolver resultados parciales, rechazar parámetros válidos o comportarse de forma inesperada cuando cambia la fuente oficial. Verifica siempre la respuesta contra la fuente enlazada y revisa manualmente los resultados antes de usarlos para decisiones importantes.
Documentación del proyecto
docs/ROADMAP.md — qué fuentes están integradas y qué falta.
docs/RESEARCH.md — el porqué de cada fila del roadmap: hallazgos verificados en vivo, dominios investigados, dead ends.
CHANGELOG.md — qué se publicó recientemente.
Related MCP server: CKAN MCP Server
Beneficios
Acceso instantáneo a datos públicos: Pregunta en lenguaje natural y explora datos de instituciones del Estado ecuatoriano sin navegar portales, descargar archivos ni lidiar con formatos.
Unifica múltiples fuentes en un solo punto: Datos abiertos, trámites, regulaciones, contratación pública, riesgos, datos estadísticos y otras fuentes oficiales, todo accesible desde una sola conversación con tu IA.
Preview de datos sin descargas:
preview_resource_dataparsea CSV/TSV, JSON/GeoJSON, Excel (XLS/XLSX) y algunos archivos comprimidos en memoria;query_resource_dataconsulta el DataStore CKAN sin bajar el archivo completo.Cero fricción: No necesitas API key ni permisos especiales para las fuentes públicas compatibles.
Compatible con cualquier cliente MCP: Claude, ChatGPT, Codex, Gemini, Cursor, VS Code, Windsurf, Le Chat, HuggingChat y más.
Listo para producción: Docker, health checks, logging estructurado, y un servidor HTTP Streamable compatible con MCP.
Casos de uso
Para ciudadanos
Consultar requisitos, costos y pasos de cualquier trámite gubernamental sin navegar gob.ec.
Buscar datos públicos por tema (salud, educación, seguridad, economía) y entender qué publica cada institución.
Para periodistas e investigadores
Explorar datasets del catálogo nacional y hacer preview de los datos directamente desde Claude o ChatGPT.
Cruzar información de múltiples instituciones (SRI, INEC, BCE y ministerios) en una sola conversación.
Acceder rápidamente a datos de anticorrupción, presupuestos y ejecución del gasto público.
Para desarrolladores
Integrar datos abiertos de Ecuador en aplicaciones mediante el protocolo MCP estándar.
Prototipar dashboards y análisis exploratorios sin escribir código de scraping ni parseo de archivos.
Usar como backend de datos para agentes de IA que necesiten contexto sobre Ecuador.
Para el sector público
Hacer más accesibles y descubribles los datos que ya publican las instituciones.
Permitir que chatbots institucionales respondan preguntas con datos reales y actualizados.
Demostrar el valor de los datos abiertos conectándolos directamente con herramientas de IA.
Fuentes de datos
Este MCP unifica fuentes gubernamentales en un solo servidor:
Fuente | Datos |
Datos Abiertos y Cuenca en Datos (CKAN) | Catálogos, DataStore y archivos públicos |
SRI | Datasets estadísticos, recaudación y RUC |
Gob.ec | Trámites, instituciones y regulaciones |
SERCOP/OCDS | Contratación pública |
SGR e IG-EPN | Eventos de riesgo, tsunami y sismos |
INEC | ANDA, Ecuador en Cifras, censos y recursos estadísticos |
BCE | BCEData, IEM y otros indicadores económicos públicos |
Superintendencia de Compañías | Directorio, auditores y datos financieros |
Geografía INEC/DPA | Provincias, cantones y parroquias |
Sin API key para las fuentes públicas compatibles.
Conecta tu chatbot al servidor MCP
Claude Desktop
La forma más simple no necesita levantar ningún servidor: Claude Desktop
ejecuta el paquete de PyPI con uv. Agrega lo
siguiente a tu archivo de configuración (~/Library/Application Support/Claude/claude_desktop_config.json
en macOS, %APPDATA%\Claude\claude_desktop_config.json en Windows):
{
"mcpServers": {
"ecuador-datos": {
"command": "uvx",
"args": ["ecuador-mcp", "--transport", "stdio"]
}
}
}También puedes instalar el archivo .mcpb adjunto a cada
release como extensión de
Claude Desktop. Si ya tienes el servidor HTTP corriendo (ver
Ejecutar localmente), usa "command": "npx" con
"args": ["mcp-remote", "http://localhost:8000/mcp"].
Cursor
Abre Cursor Settings
Busca "MCP"
Agrega un nuevo servidor MCP:
{
"mcpServers": {
"ecuador-datos": {
"url": "http://localhost:8000/mcp",
"transport": "http"
}
}
}VS Code
Agrega a tu archivo mcp.json (ejecuta MCP: Open User Configuration desde la paleta de comandos):
{
"servers": {
"ecuador-datos": {
"url": "http://localhost:8000/mcp",
"type": "http"
}
}
}ChatGPT
Disponible para planes pagos (Plus, Pro, Team, Enterprise).
Ve a
Settings>Apps and connectorsAbre
Advanced settingsy habilita Developer modeEn
Settings>Connectors>Browse connectors, haz clic en Add a new connectorConfigura la URL:
http://localhost:8000/mcp
Claude Code
claude mcp add --transport http ecuador-datos http://localhost:8000/mcpCodex
codex mcp add ecuador-datos --url http://localhost:8000/mcpEsto guarda un bloque [mcp_servers.ecuador-datos] con url en ~/.codex/config.toml. Para usar el servidor por stdio en vez de HTTP:
codex mcp add ecuador-datos -- uvx ecuador-mcp --transport stdioGemini CLI
Agrega a ~/.gemini/settings.json:
{
"mcpServers": {
"ecuador-datos": {
"httpUrl": "http://localhost:8000/mcp"
}
}
}Le Chat (Mistral)
Ve a
Intelligence>ConnectorsAdd connector>Custom MCP ConnectorNombre: "Ecuador Datos" / URL:
http://localhost:8000/mcp
Windsurf
Agrega a ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"ecuador-datos": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:8000/mcp"]
}
}
}HuggingChat
En el chat, haz clic en el ícono
+>MCP Servers>Manage MCP ServersAdd Servercon nombre "Ecuador Datos" y URLhttp://localhost:8000/mcp
Ejecutar localmente
Con uvx (desde PyPI)
uvx ecuador-mcp --transport stdiosearch_ranking/get_financials usan una base SQLite local de Supercías que
se construye sola en segundo plano cuando la primera consulta la necesita
(descarga ~356 MB, 5-10 min; esa consulta pide reintentar). Instalado desde PyPI se guarda en el directorio de datos del usuario
(%LOCALAPPDATA%\ecuador-mcp en Windows, ~/Library/Application Support/ecuador-mcp
en macOS, ~/.local/share/ecuador-mcp en Linux); ECUADOR_MCP_DATA_DIR
cambia la ubicación.
Con Docker (recomendado)
La imagen arranca por stdio, como cualquier servidor MCP en Docker:
docker build -t ecuador-mcp https://github.com/DweskZ/EcuDataMCP.git
docker run -i --rm ecuador-mcpPara el servidor HTTP, docker compose fija MCP_TRANSPORT=http y exige
autenticación (MCP_REQUIRE_AUTH=1): sin MCP_AUTH_TOKEN el proceso se
detiene con un error y el contenedor se reinicia en bucle. Define el token
antes de arrancar, en el entorno o en un .env:
git clone https://github.com/DweskZ/EcuDataMCP.git
cd EcuDataMCP
# Opción A: token en el entorno (puerto 8000)
MCP_AUTH_TOKEN="$(openssl rand -hex 32)" docker compose up -d
# Opción B: token en .env (docker compose lo lee solo)
cp .env.example .env # edita MCP_AUTH_TOKEN=... y MCP_REQUIRE_AUTH=1
docker compose up -d
# Con variables personalizadas
MCP_AUTH_TOKEN=... MCP_PORT=8007 LOG_LEVEL=DEBUG docker compose up -d
# Detener
docker compose downLos clientes envían el token como Authorization: Bearer <token> en
POST /mcp. La lista completa de variables y el despliegue detrás de un proxy
HTTPS están en docs/DEPLOYMENT.md.
Instalación manual
Requiere Python 3.11+ y uv.
git clone https://github.com/DweskZ/EcuDataMCP.git
cd EcuDataMCP
# Instalar dependencias
uv sync
# Copiar variables de entorno
cp .env.example .env
# Iniciar el servidor
uv run main.pyVariables de entorno (las más usadas; la lista completa, con el perfil de tools, la concurrencia, el proxy geográfico y las URLs base de cada fuente, está en docs/DEPLOYMENT.md § Variables de entorno):
Variable | Descripción | Default |
| Dirección de bind |
|
| Puerto del servidor |
|
| Transporte: |
|
| Nivel de log (DEBUG, INFO, WARNING, ERROR) |
|
| Token Bearer opcional para | vacío |
| Rechaza el arranque remoto sin token |
|
| Cuota por cliente/IP |
|
| Certificado y clave para TLS directo | vacío |
|
| vacío |
| Dónde guardar la base de Supercías y los snapshots del BCE |
|
Para ejecutar el transporte stdio localmente:
uv run python main.py --transport stdioLa referencia detallada de cada herramienta está en docs/TOOLS.md. El contrato JSON para agentes de BCEData/IEM está en docs/RESPONSE_CONTRACT.md.
Endpoints
Endpoint | Descripción |
| Mensajes JSON-RPC (cliente → servidor) |
| Health check: |
| Llamadas, errores y latencia p50/p95 por tool desde el arranque |
Cuando MCP_AUTH_TOKEN está definido, POST /mcp requiere el encabezado
Authorization: Bearer <token>. Para un despliegue remoto usa también
MCP_REQUIRE_AUTH=1, HTTPS y un proxy con su propia cuota por IP. /health y
/usage permanecen sin autenticación (no exponen argumentos ni datos de usuarios).
Consulta docs/DEPLOYMENT.md para el despliegue remoto.
Ejemplos de uso
Buscar datos del SRI
"¿Qué datos tiene el SRI sobre recaudación?"
El MCP buscará los datos públicos del SRI y te mostrará los resultados con títulos, descripciones y enlaces.
Ver datos de salud
"Muéstrame un preview de los datos de hospitales"
El MCP descargará el archivo compatible y te mostrará las primeras filas como una tabla formateada.
Consultar trámites
"¿Cuáles son los requisitos para obtener el RUC?"
El MCP buscará en el portal gob.ec y te dará los requisitos, procedimiento y costo.
Explorar por categoría
"¿Qué categorías de datos hay disponibles?"
El MCP listará las categorías temáticas disponibles.
Arquitectura
Cliente MCP (Claude, ChatGPT, Cursor, etc.)
│
▼ POST /mcp
┌──────────────────────────────┐
│ MCPServer (main.py) │
├──────────────────────────────┤
│ tools/ │
│ ├── search_ecuador │ → CKAN + gob.ec (unificado)
│ ├── search_datasets │
│ ├── query_resource_data │ → CKAN DataStore
│ ├── preview_resource_data │ → CSV / JSON / XLS / XLSX
│ ├── get_category_info │ → helpers/ckan_client.py
│ ├── search_tramites │
│ ├── get_institucion_info │ → helpers/gobec_client.py
│ └── ... │
└──────────────────────────────┘Licencia
MIT License - ver LICENSE para más detalles.
Contribuir
Las contribuciones son bienvenidas. Consulta CONTRIBUTING.md para el proceso de colaboración.
Available Tools
85 toolsdetect_series_patternDetectar patrón de series periódicas en un datasetARead-only
Tell whether a dataset's periodic files are cumulative (newest file suffices) or incremental (combine all) by comparing period values in the two newest files. Heuristic over up to 500 rows each.
Inputs: dataset_id (required), format, source, resource_id_new, +1 more. Returns: source, metadatos, url_fuente
download_anda_microdataDescargar microdatos de una encuesta ANDAARead-only
Links to an ANDA survey's microdata, with tipo_acceso (directo, enlace_externo, registro, solicitud, ninguno); accepts ANDA's research-use terms. External links point to other INEC sites. Check get_anda_survey_info first.
Inputs: idno (required), format. Returns: total, source, archivos, metadatos, +1 more
download_resourceDescargar el archivo crudo de un recursoARead-only
Raw bytes of a CKAN resource, base64-encoded, for formats the preview can't parse. Max 5 MB. Use format="json"; text only confirms the download.
Inputs: resource_id (required), format, source. Returns: total, source, archivos, metadatos, +1 more
get_aip_aerodromoVer la ficha AIP de un aeródromoARead-only
Full published AIP AD 2 data sheet for one aerodrome (ICAO code): coordinates, runways, hours, services, frequencies, procedures.
Inputs: designador (required), format. Returns: source, metadatos, url_fuente
get_anda_survey_infoVer metadata de una encuesta ANDAARead-only
Full metadata for one ANDA survey (string idno from search_anda): scope, variables, microdata availability and access terms.
Inputs: idno (required), format. Returns: source, metadatos, url_fuente
get_archivo_seccionVer archivos de una sección de un archivo institucionalARead-only
List the downloadable files (title, URL, format) in one section from list_archivo_secciones. Returns links, not file contents; download large files directly (preview/download tools cap at 5 MB).
Inputs: fuente (required), seccion (required), format. Returns: total, source, archivos, metadatos, +1 more
get_arconel_reporteConsultar reporte estadístico de ARCONELARead-only
Run one ARCONEL report (e.g. "Balance Energía" for a year) and return its rows. Slow, ~50 rows per page; max_paginas caps work and completo says if everything was read.
Inputs: anio (required), tipo (required), mes, grupo, +2 more. Returns: filas, source, columnas, metadatos, +1 more
get_auditor_infoVer información de un auditor externoARead-only
One external auditor's authorization, nationality and contact details by RUC or cédula.
Inputs: identificacion (required), format. Returns: source, metadatos, url_fuente
get_aviso_aeronauticoConsultar METAR, NOTAM o SIGMET de EcuadorARead-only
Live aeronautical notices from DGAC/AIS: metar (latest weather reports) or notam (active notices) for an aerodrome ICAO code, e.g. SEQM; sigmet (active SIGMETs for the whole FIR, no code needed). Raw ICAO text.
Inputs: tipo (required), format, designador. Returns: source, metadatos, url_fuente
get_bce_iem_tableVer una tabla del boletín IEM del BCEARead-only
One IEM XLSX table (table_id from search_bce_iem): date-filterable series for the standard layout, a faithful preview otherwise. boletin_numero selects a past bulletin.
Inputs: table_id (required), rows, desde, hasta, +2 more. Returns: filas, source, columnas, metadatos, +1 more
get_bce_indicador_diarioVer serie de un indicador diario del BCEARead-only
One BCE daily/monthly indicator (archivo and codigo from list_catalogo(fuente='bce_diarios')): the last ultimos_n points or a date range, capped at 366 rows.
Inputs: codigo (required), archivo (required), desde, hasta, +2 more. Returns: source, metadatos, url_fuente
get_bce_pagina_archivosVer archivos de una página de publicaciones del BCEARead-only
Files of one BCE publication page (pagina_id from search_bce_paginas): title, URL and format, most recent first. anio filters the indices catalog by year.
Inputs: catalogo (required), pagina_id (required), anio, format, +1 more. Returns: total, source, archivos, metadatos, +1 more
get_capa_geo_datosVer datos de una capa de geoportalARead-only
Attributes of a layer from search_capas_geo, geometry dropped. GeoServer (inamhi, mag, igm): a sample of up to 20 features. ArcGIS (arconel, celec, msp): up to 500 rows with a SQL filtro and offset, or server-side sums by group (sumar, agrupar).
Inputs: capa (required), fuente (required), count, sumar, +4 more. Returns: filas, source, columnas, metadatos, +1 more
get_category_infoVer una categoría temáticaARead-only
Details and sample datasets for one CKAN thematic category (name from list_categories).
Inputs: category (required), format, source, include_datasets. Returns: source, metadatos, url_fuente
get_cenace_boletinLeer el boletín mensual de transacciones de CENACEARead-only
CENACE monthly electricity-market bulletin (2019 onward): production by resource, demand by distributor, average prices, trade with Colombia and Peru. Empty mes lists the issues; mes=YYYY-MM returns its text by page.
Inputs: mes, anio, format. Returns: filas, source, columnas, metadatos, +1 more
get_cenace_tableroVer un tablero en vivo de CENACEARead-only
CENACE live grid snapshot: generation mix and demand now, yesterday, month or year to date. No historical queries.
Inputs: tablero (required), format. Returns: filas, source, columnas, metadatos, +1 more
get_cepalstat_indicadorVer observaciones de un indicador CEPALSTATARead-only
Observations of one CEPALSTAT indicator for one country (Ecuador by default), with dimension ids decoded to labels. Take indicator_id from search_cepalstat_indicadores.
Inputs: indicator_id (required), lang, pais, format. Returns: source, metadatos, url_fuente
get_certificado_cumplimiento_patronalVerificar cumplimiento de obligaciones patronales (IESS)ARead-only
Whether an employer (RUC) or person (cédula) is current on IESS contributions. A compliance check, not a headcount; for employees use get_financials' n_empleados.
Inputs: identificacion (required), format. Returns: source, metadatos, url_fuente
get_compania_infoVer información registral de una compañíaARead-only
Supercías registry record for one company by RUC: status, incorporation, representative, capital, CIIU, address. No financials.
Inputs: ruc (required), format. Returns: source, metadatos, url_fuente
get_contraloria_informeVer un informe de datos abiertos de ContraloríaARead-only
Rows of one Contraloría audit-reports CSV (one row per approved report), or metadata and a read_pdf pointer for an annual plan.
Inputs: informe_id (required), rows, format. Returns: filas, source, columnas, metadatos, +1 more
get_contrato_infoVer el expediente OCDS de un contrato SERCOPARead-only
Full OCDS record of one SERCOP procurement process (ocid from search_contratos): buyer, tender, awards, contracts.
Inputs: ocid (required), format. Returns: source, metadatos, url_fuente
get_cortes_horariosHorarios de cortes de luz por sectorARead-only
Parse one power-cut schedule or notice (archivo from search_cortes) into rows: date, time blocks without power, location and sectors, plus the motive for maintenance notices. query filters by place.
Inputs: archivo (required), distribuidora (required), query, format. Returns: filas, source, columnas, metadatos, +1 more
get_dataset_infoVer metadata de un datasetARead-only
Metadata for one CKAN dataset: description, organization, tags, dates, license, update frequency and the publisher's source URL. Take dataset_id from search_datasets; next list_dataset_resources for its files.
Inputs: dataset_id (required), format, source. Returns: source, metadatos, url_fuente
get_financialsVer historial financiero de una compañíaARead-only
One company's Supercías financial history (fiscal years 2008 to the latest): revenue, assets, equity, profit, employees and ratios. Takes expediente or RUC; anio or desde/hasta narrow the years.
Inputs: expediente_or_ruc (required), anio, desde, hasta, +1 more. Returns: source, metadatos, url_fuente
get_iess_archivosVer documentos de una colección del IESSARead-only
Documents in one IESS collection with direct links. anio is required for informes_auditoria.
Inputs: coleccion (required), anio, query, format. Returns: total, source, archivos, metadatos, +1 more
get_indicador_bceVer serie de un indicador BCEDataARead-only
Time series of one BCEData group (id_grupo from search_indicadores_bce), with optional YYYY-MM range, frequency and unit.
Inputs: id_grupo (required), desde, hasta, format, +2 more. Returns: source, metadatos, url_fuente
get_inec_estadistica_filesVer archivos de un tema estadístico del INECARead-only
File links (bulletins, methodology, historical series) on one INEC topic page from search_inec_estadisticas. For a ZIP, next: list_zip_contents, then read_zip_member.
Inputs: url (required), year, format. Returns: total, source, archivos, metadatos, +1 more
get_inec_publicacion_archivosVer archivos de una publicación del INECARead-only
File links (PDF/XLSX/CSV/ZIP) in one INEC publication (id or URL from search_inec_publicaciones). For a ZIP, next: list_zip_contents, then read_zip_member.
Inputs: post (required), format. Returns: total, source, archivos, metadatos, +1 more
get_informe_igepnDescargar y leer un informe del IG-EPNARead-only
Download and extract the text of one IG-EPN report from search_informes_igepn, re-located by exact nombre, grupo and anio (plus volcan when names repeat). pages limits the range (max 20/call).
Inputs: nombre (required), anio, grupo, pages, +2 more. Returns: source, metadatos, url_fuente
get_institucion_infoVer detalle de una institución públicaARead-only
One gob.ec institution's acronym, sector, description and websites. Take institucion_id from list_instituciones (SRI=8, IESS=163, Registro Civil=23); for its procedures use search_tramites.
Inputs: institucion_id (required), format. Returns: source, metadatos, url_fuente
get_organization_infoVer una organización y sus datasetsARead-only
One CKAN organization and its datasets, the way to browse a large publisher (e.g. sri-servicio-de-rentas-internas). Take the slug from search_organizations; query filters dataset titles. To search by topic across publishers use search_datasets.
Inputs: organization_id (required), query, format, source. Returns: source, metadatos, url_fuente
get_regulacion_infoVer detalle de una regulación de gob.ecARead-only
One gob.ec regulation's type, Registro Oficial reference, description and PDF link. Take regulacion_id from search_regulaciones; read the PDF's text with read_pdf.
Inputs: regulacion_id (required), format. Returns: source, metadatos, url_fuente
get_resource_infoVer metadata de un recurso (archivo)ARead-only
Metadata for one CKAN resource (file): format, size, MIME type, download URL and parent dataset. Take resource_id from list_dataset_resources; then preview_resource_data or query_resource_data for its contents.
Inputs: resource_id (required), format, source. Returns: source, metadatos, url_fuente
get_resumen_comprasResumir las compras públicas de una institución (SERCOP)ARead-only
Summarize one buyer's SERCOP procurement in a year: process count, total amount, by procedure type, by month and top suppliers. Reads up to 300 processes and says when the summary is partial.
Inputs: comprador (required), year, query, format. Returns: filas, source, columnas, metadatos, +1 more
get_serie_internacionalSeries internacionales con datos de Ecuador (WDI, IRENA, Ember, XM, Comtrade, FMI, OMS, OIT, ACNUR)ARead-only
International series for Ecuador via fuente: wdi (World Bank), irena (electricity), ember (monthly power mix), xm (Colombia-Ecuador flows), comtrade (UN bilateral trade), imf (IMF SDMX), who (health), ilo (ILOSTAT labour), unhcr (refugees/asylum). Without indicador/flow, wdi/who/imf/ilo list their catalog (set query).
Inputs: fuente (required), cmd, pais, tipo, +16 more. Returns: source, metadatos, url_fuente
get_sgr_sitrep_archivosVer reportes SITREP de un evento SGRARead-only
SITREP PDF links (national, provincial, cantonal) for one SGR event page from search_sgr_sitreps. Returns links, not contents.
Inputs: evento_url (required), format. Returns: total, source, archivos, metadatos, +1 more
get_sipa_resumen_indicadoresVer el Resumen de Indicadores anual de SIPAARead-only
Monthly PDF links of SIPA's (MAG) "Resumen de Indicadores" for one year, 2018 onward.
Inputs: anio (required), format. Returns: source, metadatos, url_fuente
get_sri_ruc_infoConsultar información pública de un RUCARead-only
Public SRI record for one 13-digit RUC: name, status, type, activity, dates and registered establishments. No tax amounts.
Inputs: ruc (required), format, include_establecimientos. Returns: source, metadatos, url_fuente
get_sut_indicador_schemaVer campos de un indicador del SUT o la JudicaturaARead-only
Queryable fields of one SUT or Judicatura dashboard (fuente): columns, measures ([medida]/[suma]/[promedio]) and date levels, for query_sut_indicador.
Inputs: indicador (required), format, fuente. Returns: source, metadatos, url_fuente
get_tramite_estadisticasVer estadísticas de uso de un trámiteARead-only
Monthly attentions (people served) and complaints for one gob.ec trámite since mid-2021, one trámite at a time. Take tramite_id from search_tramites; for requirements and cost use get_tramite_info.
Inputs: tramite_id (required), format. Returns: source, metadatos, url_fuente
get_tramite_infoVer detalle de un trámite gubernamentalARead-only
One gob.ec trámite's requirements, beneficiaries, cost and responsible institution (tramite_id from search_tramites).
Inputs: tramite_id (required), format. Returns: source, metadatos, url_fuente
investigate_datasetInvestigar un dataset en un solo pasoARead-only
One-step shortcut: search CKAN, pick the top dataset and preview its first readable resource. Use the individual tools when the top hit isn't the right one.
Inputs: query (required), format, source, preview_rows. Returns: source, metadatos, url_fuente
list_aip_aerodromosListar aeródromos con ficha AIP publicadaARead-only
ICAO codes and names of aerodromes/helipads with a published AIP AD 2 page (DGAC eAIP). Next: get_aip_aerodromo.
Inputs: format. Returns: total, fuente, source, metadatos, +1 more
list_archivo_seccionesListar secciones de un archivo institucionalARead-only
List the sections of one institution's document archive (ARCSA, Superbancos, SEPS, INEVAL, SGR, Educación Superior, SIPA, Petroecuador, Energy Ministry, CNE, BVG, BVQ, CENACE, ARCONEL). Next: get_archivo_seccion(fuente, seccion).
Inputs: fuente (required), format. Returns: total, fuente, source, metadatos, +1 more
list_catalogoListar el catálogo de una fuente (ARCONEL, BCE, Contraloría, IESS, SUT, Judicatura, CFN)ARead-only
List one source's catalog, the step before its get tool: arconel (get_arconel_reporte), bce_diarios (get_bce_indicador_diario), contraloria (get_contraloria_informe), iess (get_iess_archivos), sut, judicatura and cfn (get_sut_indicador_schema, query_sut_indicador with the same fuente).
Inputs: fuente (required), format. Returns: total, fuente, source, metadatos, +1 more
list_categoriesListar categorías temáticasARead-only
Thematic categories of a CKAN portal with dataset counts; pass a name as search_datasets' category.
Inputs: format, source. Returns: total, fuente, source, metadatos, +1 more
list_dataset_resourcesListar los recursos de un datasetARead-only
Files (resources) in a CKAN dataset with format, size, URL and dates, flagging name groups that look like periodic series. Next: preview_resource_data or query_resource_data.
Inputs: dataset_id (required), format, source. Returns: total, fuente, source, metadatos, +1 more
list_institucionesListar instituciones públicas de gob.ecBRead-only
List or search public institutions registered on gob.ec, with their IDs.
Inputs: page, query, format. Returns: total, fuente, source, metadatos, +1 more
list_sat_tsunamiListar estaciones del SAT de tsunamiARead-only
SGR tsunami early-warning (SAT) stations with codes and coordinates: a static station list, not alerts. For recent seismic events use search_sismos.
Inputs: limit, format. Returns: total, fuente, source, metadatos, +1 more
list_zip_contentsListar el contenido de un archivo ZIPARead-only
List a remote ZIP's members (name, size) via HTTP Range requests, without downloading it; works for archives far beyond 5 MB, ZIP64 included.
Inputs: url (required), limit, format, offset. Returns: total, source, archivos, metadatos, +1 more
lookup_ubicacionBuscar división político-administrativa del EcuadorARead-only
Look up Ecuador's provinces, cantons and parroquias (rural and urban) with INEC codes, region and population. For parroquias, filter by canton and/or provincia.
Inputs: nivel, query, canton, format, +2 more. Returns: source, metadatos, url_fuente
preview_resource_dataPrevisualizar los datos de un recursoARead-only
First rows of a CKAN resource as a table: CSV/TSV, JSON/GeoJSON, XLS/XLSX/XLSB, ODS, and ZIP/tar.gz wrapping a CSV. Max 5 MB; for DataStore resources prefer query_resource_data.
Inputs: resource_id (required), rows, format, source. Returns: filas, source, columnas, metadatos, +1 more
query_resource_dataConsultar los datos de un recurso (DataStore)BRead-only
Query a tabular CKAN resource through the DataStore without downloading it: full-text query, exact filters (filters_json), sort and pagination.
Inputs: resource_id (required), rows, sort, query, +4 more. Returns: filas, source, columnas, metadatos, +1 more
query_sut_indicadorConsultar datos de un indicador del SUT o la JudicaturaARead-only
Live query of one SUT or Consejo de la Judicatura dashboard's data model (fuente): choose campos, optional equality filtros (plain columns only) and a row limite. Take the indicador from list_catalogo(fuente) and its valid campos from get_sut_indicador_schema.
Inputs: campos (required), indicador (required), format, fuente, +2 more. Returns: source, metadatos, url_fuente
read_pdfExtraer texto de un PDFARead-only
Extract text from a PDF at a direct URL (max 5 MB, 20 pages per call; pages selects a range). No OCR: scanned PDFs come back empty.
Inputs: url (required), pages, format. Returns: source, metadatos, url_fuente
read_zip_memberLeer un archivo dentro de un ZIP remotoARead-only
Read one CSV/TSV/TXT or XLSX/XLS/XLSB/ODS file inside a remote ZIP as a table, fetching only that file's bytes via HTTP Range. Get member names from list_zip_contents first. Max 5 MB compressed per member. Detects the header below a report's title block.
Inputs: url (required), member (required), rows, format, +2 more. Returns: filas, source, columnas, metadatos, +1 more
search_andaBuscar encuestas y censos en ANDAARead-only
Search INEC's ANDA catalog of 437+ surveys and censuses; the broadest INEC index. Entries without microdata point to search_inec_estadisticas. Next: get_anda_survey_info.
Inputs: page, limit, query, format, +1 more. Returns: total, offset, source, metadatos, +1 more
search_archivosBuscar archivos publicados por una instituciónARead-only
File links from one institution's catalog, filtered by text: SRI, MEF, SENAE, Census 2022, MINEDEC, SENESCYT, MSP, CNIG, Trabajo, ARCOTEL and BCE, Turismo, FEDEXPOR, AEADE, ARCOTEL series, MSP drug prices, MIT road status. Links, not contents.
Inputs: fuente (required), limit, query, format, +2 more. Returns: total, offset, source, metadatos, +1 more
search_auditoresBuscar auditores externos autorizadosARead-only
Search Supercías' registry of 1,447 authorized external auditors by name or ID.
Inputs: limit, query, format, offset, +1 more. Returns: total, offset, source, metadatos, +1 more
search_bce_calendarioBuscar el calendario de publicaciones del BCEARead-only
BCE's forward-looking statistical release calendar: dates, category, periodicity and reference period. solo_proximas=true keeps upcoming releases. Says when data will be published, not the data itself; for values use get_indicador_bce.
Inputs: desde, hasta, limit, query, +5 more. Returns: total, offset, source, metadatos, +1 more
search_bce_iemBuscar tablas del boletín IEM del BCEARead-only
Search the Excel tables of BCE's monthly IEM bulletin (trade by country, debt, fiscal, oil, GDP detail). historico=true searches past bulletins. Next: get_bce_iem_table.
Inputs: limit, query, format, offset, +6 more. Returns: total, offset, source, metadatos, +1 more
search_bce_paginasBuscar páginas de publicaciones del BCEARead-only
BCE publication pages with file archives: indices (sector bulletins, price and confidence indices, FX, balance of payments; some back to 2004) or cuentas_nacionales (annual, quarterly, regional accounts, input-output, IMAEC). Next: get_bce_pagina_archivos(pagina_id).
Inputs: catalogo (required), query, format. Returns: total, offset, source, metadatos, +1 more
search_biinec_extrasBuscar registros exclusivos de BIINECARead-only
Small curated list of INEC BIINEC registries found nowhere else (e.g. environmental modules). A last resort; not a live BIINEC search.
Inputs: query, format. Returns: total, offset, source, metadatos, +1 more
search_capas_geoBuscar capas de un geoportal (INAMHI, MAG, IGM, ARCONEL, CELEC o MSP)BRead-only
Search layers of a geoportal: inamhi (rainfall normals, anomalies, watersheds), mag (agro zoning, land cover, rural cadastre), igm (official base cartography 1:1M/1:50k/1:25k), arconel (energy balance, billing, production by plant 1999-2026, lighting, grid) or celec (plants, transmission) or msp (health facilities, indicators).
Inputs: fuente (required), query, format, solo_wfs, +1 more. Returns: total, offset, source, metadatos, +1 more
search_cepalstat_indicadoresBuscar indicadores en CEPALSTATARead-only
Search CEPALSTAT's 2,059 regional indicators (demographic, economic, environmental, SDG). Next: get_cepalstat_indicador for Ecuador's values.
Inputs: lang, query, format. Returns: total, offset, source, metadatos, +1 more
search_companiasBuscar compañías en el registro de SupercíasARead-only
Search Supercías' registry of 226k+ companies by name or RUC: legal status, incorporation, representative, capital, CIIU, address. The first call may ask you to retry in 1-2 min while the export downloads.
Inputs: limit, query, format, offset, +2 more. Returns: total, offset, source, metadatos, +1 more
search_contratosBuscar procesos de contratación pública (SERCOP)BRead-only
Search SERCOP public procurement (OCDS) by keyword (min 3 characters), year, buyer or supplier.
Inputs: query (required), page, year, buyer, +2 more. Returns: total, offset, source, metadatos, +1 more
search_cortesBuscar cronogramas de cortes de luzARead-only
Scheduled power cuts of one utility: crisis schedule PDFs from eeq (Quito, 2023-2024) and centrosur (2023 on), or current maintenance notices from emelnorte, elecgalapagos and eeasa. Next: get_cortes_horarios with an archivo.
Inputs: distribuidora (required), query, format. Returns: total, offset, source, metadatos, +1 more
search_datasetsBuscar datasets en el portal de datos abiertosARead-only
Search CKAN open-data datasets (national portal by default; see source). Use sort="recent" without a query to browse new or updated datasets. Next: list_dataset_resources. For trámites, regulations or contracts use search_ecuador.
Inputs: page, sort, query, fields, +5 more. Returns: total, offset, source, metadatos, +1 more
search_ecuadorBuscar en todas las fuentes de EcuadorARead-only
Unified first-step search across CKAN datasets, organizations, gob.ec trámites and regulations, SERCOP contracts and SGR risk events, a few hits per source. Drill down with the source-specific get_* tools; for CKAN datasets alone use search_datasets.
Inputs: query (required), limit, format. Returns: total, offset, source, metadatos, +1 more
search_eventos_riesgoBuscar eventos de riesgo del SGRARead-only
Current and recent SGR (Gestión de Riesgos) risk events from the live COE feed: landslides, floods, structural damage, with location, status and impacts. No history; for past event dossiers use search_sgr_sitreps.
Inputs: limit, query, canton, estado, +3 more. Returns: total, offset, source, metadatos, +1 more
search_indicadores_bceBuscar el catálogo estadístico del BCEARead-only
Search BCEData indicator groups (monetary, fiscal, external, real sector), matching series names too. Not CPI or poverty (INEC). First call after 24h can take 10-15 s. Next: get_indicador_bce.
Inputs: limit, query, format, offset. Returns: total, offset, source, metadatos, +1 more
search_inec_estadisticasBuscar temas estadísticos del INECARead-only
INEC's ~75 statistical topic pages on ecuadorencifras.gob.ec (IPC, ENEMDU, pobreza, cuentas nacionales...), where published aggregate series live. Next: get_inec_estadistica_files.
Inputs: limit, query, format, offset. Returns: total, offset, source, metadatos, +1 more
search_inec_publicacionesBuscar publicaciones de Ecuador en CifrasARead-only
Every INEC post on Ecuador en Cifras, newest first; use for the latest release of an operation (topic pages can go stale). Next: get_inec_publicacion_archivos.
Inputs: limit, query, format, offset. Returns: total, offset, source, metadatos, +1 more
search_infomies_bases_mensualesBuscar bases mensuales de infoMIESARead-only
infoMIES monthly program databases, serie "anc" (economic inclusion) or "is" (social inclusion). Closed years have one year-end file. .rar files: links only.
Inputs: serie (required), anio, query, format. Returns: total, offset, source, metadatos, +1 more
search_infomies_boletines_zonalesBuscar boletines zonales de infoMIESARead-only
infoMIES zonal bulletins: modo="zonal" (per-zone .rar, 2017-2021, needs zona) or "consolidado" (yearly XLSX 2021-2026, still updated). Returns links.
Inputs: anio, modo, zona, query, +1 more. Returns: total, offset, source, metadatos, +1 more
search_informes_igepnBuscar informes sísmicos y volcánicos del IG-EPNARead-only
Search IG-EPN's PDF report archive: seismic bulletins and volcanic alerts/reports, by year and group. Next: get_informe_igepn to read one. For raw earthquake data use search_sismos.
Inputs: anio, grupo, limit, query, +1 more. Returns: total, offset, source, metadatos, +1 more
search_organizationsBuscar organizaciones publicadorasARead-only
Search the institutions publishing on a CKAN portal (98+ on the national one: INEC, SRI, MSP, BCE...). Returns the slugs get_organization_info takes; to find datasets by topic use search_datasets.
Inputs: page, query, format, source, +1 more. Returns: total, offset, source, metadatos, +1 more
search_rankingRankear compañías por indicadores financierosARead-only
Rank Supercías companies by financial indicators for one fiscal year (2008 to the latest year), optionally by CIIU letter. descending=true for top-N by a column.
Inputs: anio, limit, format, offset, +3 more. Returns: total, offset, source, metadatos, +1 more
search_regulacionesBuscar regulaciones publicadas en gob.ecBRead-only
Search or list regulations published on gob.ec, with Registro Oficial references when available.
Inputs: page, query, format. Returns: total, offset, source, metadatos, +1 more
search_sgr_sitrepsBuscar informes de situación (SITREP) del SGRARead-only
SGR's archive of ~54 adverse-event dossiers 2016-2026 (earthquakes, rainy and fire seasons, volcanic activity) with status. Next: get_sgr_sitrep_archivos(evento_url) for the SITREP PDFs.
Inputs: query, format. Returns: total, offset, source, metadatos, +1 more
search_siniestros_antBuscar siniestros de tránsito (ANT)ARead-only
Find Ecuador road-crash (siniestros de tránsito) data from ANT records: INEC quarterly/annual releases with XLSX/CSV microdata plus CKAN datasets (SPPAT deaths, ANT). ant.gob.ec is unreachable.
Inputs: anio, limit, query, format, +1 more. Returns: total, offset, source, metadatos, +1 more
search_sismosBuscar sismos recientes en EcuadorBRead-only
Recent earthquakes from the IG-EPN catalog feed: magnitude, depth, coordinates, time and place. Filter by text, minimum magnitude and days.
Inputs: dias, limit, query, format, +1 more. Returns: total, offset, source, metadatos, +1 more
search_sri_rucBuscar contribuyentes por razón socialARead-only
Find SRI taxpayers by partial razón social or trade name (min 4 characters) when the RUC is unknown. SRI caps results at 100.
Inputs: razon_social (required), format, max_resultados. Returns: total, offset, source, metadatos, +1 more
search_tramitesBuscar trámites gubernamentales en gob.ecARead-only
Search gob.ec government procedures (trámites). Pass institution_id (SRI=8, IESS=163, Registro Civil=23, ANT=48, Cancillería=6; others via list_instituciones) for relevant results.
Inputs: page, query, format, institution_id. Returns: total, offset, source, metadatos, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 85 tools
Descriptions are unusually careful about boundaries ("for trámites, regulations or contracts use search_ecuador", "for raw earthquake data use search_sismos"), which rescues most of the set. But there are several competing entry points that overlap: search_ecuador vs search_datasets vs investigate_dataset, search_archivos vs search_organizations vs list_archivo_secciones, and list_catalogo vs the many source-specific get_* tools. With 85 tools an agent must repeatedly consult prose to pick correctly, and a few pairs (search_inec_publicaciones/get_inec_estadistica_files, search_bce_paginas/get_bce_pagina_archivos) are only separable by reading the whole sentence.
Nearly everything follows a verb_noun pattern in snake_case (search_*, get_*, list_*, download_*, query_*), with Spanish domain nouns used consistently for Ecuadorian sources. Minor deviations exist: investigate_dataset sits alongside search_datasets for the same job, lookup_ubicacion breaks the verb_ prefix family, and a handful of tools (detect_series_pattern, preview_resource_data) have no source prefix while peers do. Still highly predictable overall.
85 tools is far past what an agent can hold in context or select from reliably, even for a genuinely broad domain (national statistics, procurement, geodata, sector bulletins). Many tools are thin single-institution wrappers (get_iess_archivos, get_sipa_resumen_indicadores, search_infomies_boletines_zonales) that could be consolidated behind the generic archive/catalog pattern. The scope justifies breadth, but not this much surface in one server.
Coverage is impressively deep: CKAN lifecycle (search, org, dataset, resource, preview, query, download), INEC ANDA/publications/topics, BCE series and bulletin tables, SERCOP OCDS, SRI, IESS, SGR, geoportals and institutional archives, all with discovery-to-content chains. Remaining dead ends are mostly documented hard limits (5 MB caps, .rar links only, no OCR on scanned PDFs) rather than missing operations, though the 5 MB download ceiling leaves no path to large raw files.
Maintenance
Related MCP Connectors
Ecuador Government Procurement MCP — SERCOP / Compras Públicas (keyless).
Leyes, reglamentos, resoluciones y jurisprudencia de Ecuador con su fuente oficial, en tu IA.
Argentina's official public data (INDEC, BCRA, 38 portals): search, read tables, cited answers.
Ecuador factura electronica for AI agents - issue and query SRI e-invoices via Datil. Stateless BYO.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search, read, and explore thousands of public datasets from Chile's open government data portal (datos.gob.cl) without requiring an API key.16 npm1MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to search, explore, and query any CKAN open data portal through natural language, making public datasets accessible without requiring knowledge of the portal's API.201,648 npm82MIT
- AlicenseAqualityBmaintenanceConnect your ads, shop, analytics, social, CRM and finance platforms once, then let Claude, ChatGPT, Cursor or any MCP client read, join and explain your numbers. Public statistics from the World Bank, IMF, Eurostat, OECD, WHO and SEC filings come as context, searchable and chartable from the same tools. Read-only by design, every number carries its source.572MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search and retrieve metadata and data files from Peru's National Open Data Platform, and generate Jupyter notebooks for data analysis.5Apache 2.0