EcuDataMCP

v0.15.3
io.github.DweskZ/ecudatamcp Checked 52 minutes ago Published 2 days ago

Ecuador's open government data for AI assistants: CKAN, SRI, BCE, INEC, Supercias, SERCOP and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_ecuador Buscar en todas las fuentes de Ecuador

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.

ParameterTypeDescription
query *stringSearch terms in Spanish (e.g. "salud", "RUC", "medicinas")
formatstringtext summary (default) or json structured result.
limitintegerMax results per section (default 5, max 10)

lookup_ubicacion Buscar división político-administrativa del Ecuador

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.

ParameterTypeDescription
cantonstringOptional canton filter (useful for parroquias)
formatstringtext summary (default) or json structured result.
nivelstringauto | provincia | canton | parroquia
provinciastringOptional province filter
querystringName or code (e.g. "Pichincha", "Cuenca", "Tumbaco", "170150")
regionstringOptional natural region for provinces/cantons

search_eventos_riesgo Buscar eventos de riesgo del SGR

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.

ParameterTypeDescription
cantonstringCanton filter (e.g. "Quito")
estadostringStatus filter (e.g. "Seguimiento", "Cierre")
eventostringEvent type filter (e.g. "Deslizamiento", "Inundación", "Aluvión")
formatstringtext summary (default) or json structured result.
limitintegerMax events to return (default 15, max 100)
provinciastringProvince filter (e.g. "Pichincha")
querystringFree text (sector, cause, description keywords)

search_sgr_sitreps Buscar informes de situación (SITREP) del SGR

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against the event's titulo, estado, or descripcion, e.g. "terremoto", "en curso", "manabi".

get_sgr_sitrep_archivos Ver reportes SITREP de un evento SGR

SITREP PDF links (national, provincial, cantonal) for one SGR event page from search_sgr_sitreps. Returns links, not contents.

ParameterTypeDescription
evento_url *stringAn event URL from search_sgr_sitreps's "url" field (must be on gestionderiesgos.gob.ec).
formatstringtext summary (default) or json structured result.

list_sat_tsunami Listar estaciones del SAT de tsunami

SGR tsunami early-warning (SAT) stations with codes and coordinates: a static station list, not alerts. For recent seismic events use search_sismos.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerMax stations to include in the response (default 30)

search_sismos Buscar sismos recientes en Ecuador

Recent earthquakes from the IG-EPN catalog feed: magnitude, depth, coordinates, time and place. Filter by text, minimum magnitude and days.

ParameterTypeDescription
diasintegerOnly events from the last N days (0 = all available)
formatstringtext summary (default) or json structured result.
limitintegerMax events to return (default 15, max 100)
magnitud_minimanumberMinimum magnitude (e.g. 4.0)
querystringFree text over location/id (e.g. "Quito", "Esmeraldas")

search_informes_igepn Buscar informes sísmicos y volcánicos del IG-EPN

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.

ParameterTypeDescription
aniointegerReport year (0 = current year)
formatstringtext summary (default) or json structured result.
grupostring"sismico" | "volcanico" | "" (both)
limitintegerMax reports to return (default 15, max 30)
querystringFree text over report name/volcano (e.g. "cotopaxi", "trimestral")

get_informe_igepn Descargar y leer un informe del IG-EPN

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

ParameterTypeDescription
nombre *stringExact report name from search_informes_igepn (e.g. "Informe Diario 2022-071")
aniointegerReport year (0 = current year) -- same value used to find it
formatstringtext summary (default) or json structured result.
grupostring"sismico" | "volcanico" | "" (both) -- same value used to find it
pagesstringPage range, 1-indexed (e.g. "3", "1-5").
volcanstringVolcano name, only needed to disambiguate a duplicate nombre

get_aviso_aeronautico Consultar METAR, NOTAM o SIGMET de Ecuador

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.

ParameterTypeDescription
tipo *stringmetar, notam or sigmet.
designadorstringICAO code of the aerodrome, e.g. SEQM (Quito), SEGU (Guayaquil), SECU (Cuenca).
formatstringtext summary (default) or json structured result.

list_aip_aerodromos Listar aeródromos con ficha AIP publicada

ICAO codes and names of aerodromes/helipads with a published AIP AD 2 page (DGAC eAIP). Next: get_aip_aerodromo.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.

get_aip_aerodromo Ver la ficha AIP de un aeródromo

Full published AIP AD 2 data sheet for one aerodrome (ICAO code): coordinates, runways, hours, services, frequencies, procedures.

ParameterTypeDescription
designador *stringICAO code of the aerodrome/helipad, e.g. SEQM (Quito — Mariscal Sucre), SEGU (Guayaquil — José Joaquín de Olmedo), SECU (Cuenca — Mariscal Lamar).
formatstringtext summary (default) or json structured result.

search_datasets Buscar datasets en el portal de datos abiertos

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.

ParameterTypeDescription
categorystringOptional category filter (e.g. "sal" for Salud, "edu" for Educación).
compactbooleanShrink each dataset in the JSON output to id, name, title, metadata_modified, organization and its resources (id, name, format, size, url).
fieldsstringComma-separated dataset keys to keep in the JSON output (e.g. "name,title,metadata_modified"); applied after compact.
formatstringtext summary (default) or json structured result.
pageintegerPage number (1-based, default: 1)
page_sizeintegerResults per page (default: 20, max: 100)
querystringSearch keywords (e.g. "empleo", "salud", "presupuesto", "SRI recaudación").
sortstring"relevance" (default, CKAN's own ranking) or "recent" (sort by metadata_modified descending, to discover newly added or freshly refreshed datasets)
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

get_dataset_info Ver metadata de un dataset

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.

ParameterTypeDescription
dataset_id *stringThe dataset ID or slug (e.g. "registro-estadistico-de-recursos-y-actividades-de-salud-2019")
formatstringtext summary (default) or json structured result.
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

list_dataset_resources Listar los recursos de un dataset

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.

ParameterTypeDescription
dataset_id *stringThe dataset ID or slug
formatstringtext summary (default) or json structured result.
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

get_resource_info Ver metadata de un recurso (archivo)

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.

ParameterTypeDescription
resource_id *stringThe resource UUID
formatstringtext summary (default) or json structured result.
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

preview_resource_data Previsualizar los datos de un recurso

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.

ParameterTypeDescription
resource_id *stringThe resource UUID (get it from list_dataset_resources)
formatstringtext summary (default) or json structured result.
rowsintegerNumber of data rows to preview (default: 20, max: 100)
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

detect_series_pattern Detectar patrón de series periódicas en un dataset

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.

ParameterTypeDescription
dataset_id *stringThe dataset ID or slug
formatstringtext summary (default) or json structured result.
resource_id_newOptional -- newer resource ID to compare (auto-detected from the dataset's periodic-name group if omitted)
resource_id_oldOptional -- older resource ID to compare (auto-detected if omitted).
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

download_resource Descargar el archivo crudo de un recurso

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.

ParameterTypeDescription
resource_id *stringThe resource UUID (get it from list_dataset_resources)
formatstringtext summary (default) or json structured result.
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

query_resource_data Consultar los datos de un recurso (DataStore)

Query a tabular CKAN resource through the DataStore without downloading it: full-text query, exact filters (filters_json), sort and pagination.

ParameterTypeDescription
resource_id *stringResource UUID (from list_dataset_resources)
filters_jsonstringOptional JSON object of exact field filters, e.g. '{"provincia":"Pichincha"}'
formatstringtext summary (default) or json structured result.
offsetintegerPagination offset (default 0)
querystringOptional full-text search across datastore fields
rowsintegerNumber of records to return (default 20, max 100)
sortstringOptional sort expression, e.g. "anio desc"
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

search_organizations Buscar organizaciones publicadoras

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
pageintegerPage number (1-based, default: 1)
page_sizeintegerResults per page (default: 20, max: 100)
querystringOptional search term (e.g. "salud", "SRI", "INEC")
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

get_organization_info Ver una organización y sus datasets

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.

ParameterTypeDescription
organization_id *stringThe organization slug (e.g. "sri-servicio-de-rentas-internas")
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against each dataset's title.
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

list_categories Listar categorías temáticas

Thematic categories of a CKAN portal with dataset counts; pass a name as search_datasets' category.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

get_category_info Ver una categoría temática

Details and sample datasets for one CKAN thematic category (name from list_categories).

ParameterTypeDescription
category *stringCategory slug/name from list_categories
formatstringtext summary (default) or json structured result.
include_datasetsbooleanInclude sample datasets in the category (default True)
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

get_sri_ruc_info Consultar información pública de un RUC

Public SRI record for one 13-digit RUC: name, status, type, activity, dates and registered establishments. No tax amounts.

ParameterTypeDescription
ruc *stringExact 13-digit Ecuadorian RUC
formatstringtext summary (default) or json structured result.
include_establecimientosbooleanInclude registered establishments

search_sri_ruc Buscar contribuyentes por razón social

Find SRI taxpayers by partial razón social or trade name (min 4 characters) when the RUC is unknown. SRI caps results at 100.

ParameterTypeDescription
razon_social *stringText to search (min 4 characters), e.g. "BANANERA"
formatstringtext summary (default) or json structured result.
max_resultadosintegerHow many results to return with full detail (max 100)

read_pdf Extraer texto de un PDF

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.

ParameterTypeDescription
url *stringDirect URL to the PDF file
formatstringtext summary (default) or json structured result.
pagesstringPage range, 1-indexed (e.g. "3", "1-5", "1,4,9").

list_zip_contents Listar el contenido de un archivo ZIP

List a remote ZIP's members (name, size) via HTTP Range requests, without downloading it; works for archives far beyond 5 MB, ZIP64 included.

ParameterTypeDescription
url *stringDirect URL to a .zip file (from another tool's result, e.g. get_inec_publicacion_archivos, search_archivos(fuente='censo')).
formatstringtext summary (default) or json structured result.
limitintegerMax members returned (default 200, max 1000).
offsetintegerPagination offset over the member list.

read_zip_member Leer un archivo dentro de un ZIP remoto

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 (a CSV is read from its first 5 MB; for totals over a whole CSV use aggregate_csv); any sheet, a zip inside the zip (inner_member), or with member='' a spreadsheet published at the URL itself. Names from list_zip_contents.

ParameterTypeDescription
member *stringMember path inside the zip, as listed by list_zip_contents.
url *stringDirect URL to a .zip file (the same URL given to list_zip_contents).
formatstringtext summary (default) or json structured result.
inner_memberstringFile to read inside a .zip member; only when member is a .zip.
offsetintegerData rows to skip before returning, for pagination.
rowsintegerData rows to return (default 50, max 500).
sheetstringSpreadsheet sheet name or 1-based number; empty reads the active sheet.
skip_rowsintegerRows above the column header; -1 (default) detects them, 0 keeps row 1.

aggregate_csv Sumar y agrupar un CSV completo

Group and total a CSV/TSV/TXT at a URL by reading all of it, not just its head: up to 30 MB, or a CSV inside a .zip (member) up to 2 GB unzipped. group_by, sum_columns, exact filters, ordering; reads decimal commas, pipe or semicolon delimiters and a BOM. Built for SRI's sales (sri_ventas_AAAA.csv) and RUC files.

ParameterTypeDescription
url *stringDirect URL to a plain-text CSV/TSV/TXT file (from search_archivos or a CKAN resource), or to a .zip when member is given.
filters_jsonstringOptional JSON object of exact filters, e.g. '{"PROVINCIA": "PICHINCHA", "MES": [1, 2]}'.
formatstringtext summary (default) or json structured result.
group_bystringComma-separated column names to group by; empty gives one total row.
limitintegerGroups to return (default 50, max 500); the totals always cover all of them.
memberstringFile inside the .zip at url (exact name, or a unique basename); empty when url is the CSV itself.
order_bystringResult column to sort by, optionally with asc or desc; default is the first total, biggest first.
skip_rowsintegerLines above the header line (default 0).
sum_columnsstringComma-separated numeric columns to total; empty only counts rows.

investigate_dataset Investigar un dataset en un solo paso

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.

ParameterTypeDescription
query *stringSearch keywords (e.g. "empleo", "SRI recaudación")
formatstringtext summary (default) or json structured result.
preview_rowsintegerData rows to preview from the chosen resource (default: 10, max: 50)
sourcestringCKAN portal; nacional (default), cuenca, latacunga or iadb.

search_tramites Buscar trámites gubernamentales en gob.ec

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
institution_idstringInstitution ID (strongly recommended for relevant results)
pageintegerPage number (1-based, default: 1).
querystringKeywords to filter results (e.g. "RUC", "inscripción RUC persona natural").

get_tramite_info Ver detalle de un trámite gubernamental

One gob.ec trámite's requirements, beneficiaries, cost and responsible institution (tramite_id from search_tramites).

ParameterTypeDescription
tramite_id *stringThe procedure ID (e.g. "18009")
formatstringtext summary (default) or json structured result.

get_tramite_estadisticas Ver estadísticas de uso de un trámite

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.

ParameterTypeDescription
tramite_id *stringThe procedure ID (e.g. "11752")
formatstringtext summary (default) or json structured result.

list_instituciones Listar instituciones públicas de gob.ec

List or search public institutions registered on gob.ec, with their IDs.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
pageintegerPage number (1-based, default: 1, only used without query)
querystringOptional search term (e.g. "SRI", "salud", "rentas")

get_institucion_info Ver detalle de una institución pública

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.

ParameterTypeDescription
institucion_id *stringInstitution ID (e.g. "8")
formatstringtext summary (default) or json structured result.

search_anda Buscar encuestas y censos en ANDA

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerResults per page (default: 10, max: 50)
pageintegerPage of results, 1-based (default: 1); see total/total_pages
querystringSearch keywords (e.g. "empleo", "REEM", "censo agropecuario")
verificar_accesoauto (default) = check the real download page of the first 10 results; true = check all of them (2 extra requests each, 8 in parallel); false = trust the…

get_anda_survey_info Ver metadata de una encuesta ANDA

Full metadata for one ANDA survey (string idno from search_anda): scope, variables, microdata availability and access terms.

ParameterTypeDescription
idno *stringSurvey idno or numeric id from search_anda ("idno" or "id" field)
formatstringtext summary (default) or json structured result.

get_anda_materiales Listar materiales relacionados de ANDA

List downloadable related materials for one numeric INEC ANDA catalog ID, including aggregate-only studies such as IPC and canasta. Returns links, not parsed data. Discover the study with search_anda first.

ParameterTypeDescription
id *stringNumeric ANDA catalog id from search_anda (its "id" field), e.g. "809"
formatstringtext summary (default) or json structured result.

download_anda_microdata Descargar microdatos de una encuesta ANDA

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.

ParameterTypeDescription
idno *stringSurvey idno or numeric id from search_anda (the "idno" or "id" field)
formatstringtext summary (default) or json structured result.

search_inec_estadisticas Buscar temas estadísticos del INEC

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerMax results (default 30, max 100)
offsetintegerPagination offset over the matched set
querystringFree text matched against the topic name (accent-insensitive), e.g. "precios", "empleo", "pobreza".

get_inec_estadistica_files Ver archivos de un tema estadístico del INEC

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.

ParameterTypeDescription
url *stringA topic URL from search_inec_estadisticas's "url" field (must be on ecuadorencifras.gob.ec)
formatstringtext summary (default) or json structured result.
yearOptional reference year; keeps only that year's files (each file carries a "year" parsed from its name or folder)

search_inec_publicaciones Buscar publicaciones de Ecuador en Cifras

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerMax results (default 20, max 100).
offsetintegerPagination offset over the matched set.
querystringFree text matched against title/content (e.g. "ENEMDU anual 2025", "inflación julio", "censo").

get_inec_publicacion_archivos Ver archivos de una publicación del INEC

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.

ParameterTypeDescription
post *stringEither the numeric "id" from search_inec_publicaciones, or the publication's full ecuadorencifras.gob.ec URL.
formatstringtext summary (default) or json structured result.

search_biinec_extras Buscar registros exclusivos de BIINEC

Small curated list of INEC BIINEC registries found nowhere else (e.g. environmental modules). A last resort; not a live BIINEC search.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
querystringFree text matched against the registry's name/description (accent-insensitive).

search_siniestros_ant Buscar siniestros de tránsito (ANT)

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.

ParameterTypeDescription
aniointegerYear filter on the title (0 = all years)
con_archivosintegerAttach file links to this many newest INEC releases (default 2, max 5; 0 = none)
formatstringtext summary (default) or json structured result.
limitintegerMax items per source (default 10, max 30)
querystringOptional words that must appear in the title (e.g. "trimestre")

search_infomies_bases_mensuales Buscar bases mensuales de infoMIES

infoMIES monthly program databases, serie "anc" (economic inclusion) or "is" (social inclusion). Closed years have one year-end file. .rar files: links only.

ParameterTypeDescription
serie *string"anc" or "is".
anioSpecific year to fetch, e.g. 2024.
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against the file's label, year, or URL, e.g. "julio", "2023".

search_infomies_boletines_zonales Buscar boletines zonales de infoMIES

infoMIES zonal bulletins: modo="zonal" (per-zone .rar, 2017-2021, needs zona) or "consolidado" (yearly XLSX 2021-2026, still updated). Returns links.

ParameterTypeDescription
anioSpecific year to fetch.
formatstringtext summary (default) or json structured result.
modostring"zonal" or "consolidado".
querystringFree text matched (accent-insensitive) against the file's label, year, or URL.
zonastringRequired for modo="zonal": one of "zona-1-bz".."zona-9-bz".

search_regulaciones Buscar regulaciones publicadas en gob.ec

Search or list regulations published on gob.ec, with Registro Oficial references when available.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
pageintegerPage number when query is empty (1-based)
querystringKeywords (e.g. "datos personales", "tránsito", "LOTAIP")

get_regulacion_info Ver detalle de una regulación de gob.ec

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.

ParameterTypeDescription
regulacion_id *stringRegulation ID (e.g. "2990")
formatstringtext summary (default) or json structured result.

get_sipa_resumen_indicadores Ver el Resumen de Indicadores anual de SIPA

Monthly PDF links of SIPA's (MAG) "Resumen de Indicadores" for one year, 2018 onward.

ParameterTypeDescription
anio *integerYear, e.g. 2025.
formatstringtext summary (default) or json structured result.

get_sut_indicador_schema Ver campos de un indicador del SUT o la Judicatura

Queryable fields of one SUT or Judicatura dashboard (fuente): columns, measures ([medida]/[suma]/[promedio]) and date levels, for query_sut_indicador.

ParameterTypeDescription
indicador *stringA key from list_catalogo(fuente=<fuente>).
formatstringtext summary (default) or json structured result.
fuentestringsut (default) | judicatura | cfn

query_sut_indicador Consultar datos de un indicador del SUT o la Judicatura

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.

ParameterTypeDescription
campos *arrayField labels exactly as returned by get_sut_indicador_schema.
indicador *stringA key from list_catalogo(fuente=<fuente>).
filtrosOptional {campo: valor} equality filters, plain columns only.
formatstringtext summary (default) or json structured result.
fuentestringsut (default) | judicatura | cfn
limiteintegerRow cap applied server-side by the query itself (clamped to 20000; the result carries truncado=true when the cap was reached).

get_contraloria_informe Ver un informe de datos abiertos de Contraloría

Rows of one Contraloría audit-reports CSV (one row per approved report), or metadata and a read_pdf pointer for an annual plan.

ParameterTypeDescription
informe_id *stringAn id from list_catalogo(fuente='contraloria')
formatstringtext summary (default) or json structured result.
rowsintegerNumber of data rows to preview (default: 50, max: 200)

get_iess_archivos Ver documentos de una colección del IESS

Documents in one IESS collection with direct links. anio is required for informes_auditoria.

ParameterTypeDescription
coleccion *string"boletines" (Boletines Estadísticos, annual, 1978- 2024 confirmed), "estudios_actuariales" (actuarial valuation studies per fund, published only for a handful…
anioFilter to one year.
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against título (and descripción/grupo where the collection has one).

get_certificado_cumplimiento_patronal Verificar cumplimiento de obligaciones patronales (IESS)

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.

ParameterTypeDescription
identificacion *stringA 10-digit cédula or 13-digit RUC.
formatstringtext summary (default) or json structured result.

search_contratos Buscar procesos de contratación pública (SERCOP)

Search SERCOP public procurement (OCDS) by keyword (min 3 characters), year, buyer or supplier.

ParameterTypeDescription
query *stringKeyword (min 3 chars), e.g. "medicinas", "vialidad", "software"
buyerstringOptional buyer/institution keyword (min 3 chars)
formatstringtext summary (default) or json structured result.
pageintegerResults page (1-based)
supplierstringOptional supplier keyword (min 3 chars)
yearintegerContract year (2015–current).

get_contrato_info Ver el expediente OCDS de un contrato SERCOP

Full OCDS record of one SERCOP procurement process (ocid from search_contratos): buyer, tender, awards, contracts.

ParameterTypeDescription
ocid *stringOpen Contracting ID, e.g. "ocds-5wno2w-001-LICO-GPLR-2020-2805"
formatstringtext summary (default) or json structured result.

get_resumen_compras Resumir las compras públicas de una institución (SERCOP)

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.

ParameterTypeDescription
comprador *stringBuyer/institution keyword, min 3 chars (e.g. "Municipio de Quito", "IESS").
formatstringtext summary (default) or json structured result.
querystringOptional topic keyword (min 3 chars) to narrow the processes; empty uses the buyer keyword.
yearintegerYear of the processes (2015-current).

search_indicadores_bce Buscar el catálogo estadístico del BCE

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerMax results (default 20, max 100)
offsetintegerPagination offset over the matched set
querystringFree text matched against the group's description, its section/subsection, and its individual series labels (accent-insensitive)

get_indicador_bce Ver serie de un indicador BCEData

Time series of one BCEData group (id_grupo from search_indicadores_bce), with optional YYYY-MM range, frequency and unit.

ParameterTypeDescription
id_grupo *integerThe group id from search_indicadores_bce.
desdestringStart period as YYYY-MM.
formatstringtext summary (default) or json structured result.
frecuenciastringSemanal | Mensual | Trimestral | Anual.
hastastringEnd period as YYYY-MM.
unidadstringVaries by group (e.g. "Millones de USD", "Indice", "Porcentaje").

search_bce_iem Buscar tablas del boletín IEM del BCE

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.

ParameterTypeDescription
desde_aniointegerEarliest bulletin year to search (implies historico).
formatstringtext summary (default) or json structured result.
guardar_catalogobooleanSave the full assembled catalog under IEM_CATALOG_DIR.
hash_archivosbooleanDownload each discovered XLSX and report its SHA-256 (operator audit; slow).
hasta_aniointegerLatest bulletin year to search (implies historico).
historicobooleanAlso search past monthly bulletins, not just the latest.
limitintegerMax tables returned (default 20).
max_hash_archivosintegerCap on files hashed when hash_archivos is set.
offsetintegerPagination offset over the matched set.
querystringFree text matched against table titles and sections (accent-insensitive).

get_bce_iem_table Ver una tabla del boletín IEM del BCE

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.

ParameterTypeDescription
table_id *stringA table_id from search_bce_iem.
boletin_numerointegerPast bulletin number from search_bce_iem(historico=true); 0 means the latest.
desdestringEarliest period to include, as YYYY, YYYY-MM or a month-year label.
formatstringtext summary (default) or json structured result.
hastastringLatest period to include, same formats as desde.
rowsintegerMax rows returned (1-100, default 20).

search_bce_paginas Buscar páginas de publicaciones del BCE

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

ParameterTypeDescription
catalogo *stringindices or cuentas_nacionales.
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against the page's title, category or id.

get_bce_pagina_archivos Ver archivos de una página de publicaciones del BCE

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.

ParameterTypeDescription
catalogo *stringindices or cuentas_nacionales.
pagina_id *stringThe page's `pagina_id` from search_bce_paginas.
aniointegerOnly for catalogo="indices": restrict to one year (0 = all).
formatstringtext summary (default) or json structured result.
max_archivosintegerCap on returned files, 1-200 (most recent first); use anio to reach further back.

search_bce_calendario Buscar el calendario de publicaciones del BCE

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.

ParameterTypeDescription
categoriastringExact category filter (accent-insensitive), e.g. "cuentas nacionales", "balanza de pagos y comercio exterior".
desdestringRestrict to release date >= this date (YYYY-MM-DD).
formatstringtext summary (default) or json structured result.
hastastringRestrict to release date <= this date (YYYY-MM-DD).
limitintegerMax results (1-200, default 50).
offsetintegerPagination offset over the matched set.
periodicidadstringExact periodicity filter, e.g. "Mensual", "Anual", "Trimestral", "Semanal".
querystringFree text matched against the publication name or its observations note (accent-insensitive).
solo_proximasbooleanIf true, only releases scheduled today or later.

get_bce_indicador_diario Ver serie de un indicador diario del BCE

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.

ParameterTypeDescription
archivo *stringA file name from list_catalogo(fuente='bce_diarios').
codigo *stringA "Código Variable Dinámica" from that same archivo.
desdestringOptional start date YYYY-MM-DD.
formatstringtext summary (default) or json structured result.
hastastringOptional end date YYYY-MM-DD.
ultimos_nintegerMost recent N observations when no date range is given.

get_cenace_tablero Ver un tablero en vivo de CENACE

CENACE live grid snapshot: generation mix and demand now, yesterday, month or year to date. No historical queries.

ParameterTypeDescription
tablero *stringOne of the 5 names above.
formatstringtext summary (default) or json structured result.

get_cenace_boletin Leer el boletín mensual de transacciones de CENACE

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.

ParameterTypeDescription
anioWith an empty mes, list only that year's issues.
formatstringtext summary (default) or json structured result.
messtringEmpty to list the issues; YYYY-MM (e.g. 2026-07) or "ultimo" for one issue's text.

get_arconel_reporte Consultar reporte estadístico de ARCONEL

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.

ParameterTypeDescription
anio *integerYear, 1998-current.
tipo *stringReport name as listed by `list_catalogo(fuente='arconel')` (accent/case-insensitive), e.g. "Balance Energía", "Pérdidas", "Medidores Catastro".
formatstringtext summary (default) or json structured result.
grupostringtodos | cnel | empresas_electricas.
max_paginasintegerMaximum pages to read (1-40, default 10).
mes1-12, only for report types with a month filter (e.g. per-parish reports); others already break down by month.

search_cortes Buscar cronogramas de cortes de luz

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.

ParameterTypeDescription
distribuidora *stringeeq, centrosur, emelnorte, elecgalapagos or eeasa.
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against the file's period, date, title or URL, e.g. "noviembre", "2024-10" (emelnorte/elecgalapagos: title and body,…

get_cortes_horarios Horarios de cortes de luz por sector

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.

ParameterTypeDescription
archivo *stringThe file's `archivo` from search_cortes (EEQ: slug or URL; Centrosur: PDF URL; emelnorte/elecgalapagos: post id; eeasa: vigentes).
distribuidora *stringeeq, centrosur, emelnorte, elecgalapagos or eeasa.
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against location and sectors, e.g. "La Floresta", "Gualaceo".

list_archivo_secciones Listar secciones de un archivo institucional

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

ParameterTypeDescription
fuente *stringOne of arcsa, superbancos, seps, ineval, sgr, senescyt, sipa, petroecuador, energia, cne, bvg, bvq, cenace, arconel.
formatstringtext summary (default) or json structured result.

get_archivo_seccion Ver archivos de una sección de un archivo institucional

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

ParameterTypeDescription
fuente *stringOne of arcsa, superbancos, seps, ineval, sgr, senescyt, sipa, petroecuador, energia, cne, bvg, bvq, cenace, arconel.
seccion *stringA section `id` from list_archivo_secciones.
formatstringtext summary (default) or json structured result.

search_capas_geo Buscar capas de un geoportal (INAMHI, MAG, IGM, MAATE, ARCONEL, CELEC o MSP)

Search layers of a geoportal: inamhi (rainfall, watersheds), mag (agro zoning, rural cadastre), igm (base cartography 1:1M to 1:25k), maate (deforestation, land cover 1990-2024, protected areas), arconel (energy balance, billing, plants, grid), celec (plants, transmission) or msp (health facilities, indicators).

ParameterTypeDescription
fuente *stringinamhi, mag, igm, maate, arconel, celec or msp.
categoriastringmag: one of its 8 categories.
formatstringtext summary (default) or json structured result.
querystringFree text matched (accent-insensitive) against the layer's id, name, title or abstract.
solo_wfsbooleanOnly return layers with WFS (attribute data).

get_capa_geo_datos Ver datos de una capa de geoportal

Attributes of a layer from search_capas_geo, geometry dropped. GeoServer (inamhi, mag, igm, maate): 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).

ParameterTypeDescription
capa *stringThe layer's `capa` from search_capas_geo (INAMHI: "geonode:..." name; IGM: "workspace:name", e.g. nacional_2024:poblado_p_2024; MAATE: "mae_ide:name", e.g.…
fuente *stringinamhi, mag, igm, maate, arconel, celec or msp.
agruparstringarconel/celec/msp only: comma-separated fields to group by; needs `sumar`.
countintegerFeatures to fetch: 1-20 for inamhi/mag/igm/maate, 1-500 for arconel/celec/msp (default 5).
filtrostringarconel/celec/msp only: SQL where clause; empty for all rows.
formatstringtext summary (default) or json structured result.
offsetintegerarconel/celec/msp only: rows (or groups) to skip when paging.
sumarstringarconel/celec/msp only: comma-separated numeric fields to sum.

search_archivos Buscar archivos publicados por una institución

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, SNI public-policy evaluations. Links, not contents.

ParameterTypeDescription
fuente *stringCatalog to search; see the list above.
formatstringtext summary (default) or json structured result.
formatostringOptional exact file format (PDF, XLSX, CSV, ZIP...); not for sri_datasets, sri_recaudacion or censo.
limitintegerMax files returned (1-100, default 50).
offsetintegerPagination offset over the matched files.
querystringFree text matched (accent-insensitive) against each file's title and source-specific fields.

search_companias Buscar compañías en el registro de Supercías

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.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerMax results (default 20, max 100)
offsetintegerPagination offset over the matched set
provinciastringOptional province filter, e.g. "PICHINCHA" (substring match)
querystringFree text matched against company name or RUC (accent-insensitive)
situacion_legalstringOptional legal status filter, e.g. "ACTIVA", "DISOLUCIÓN"

get_compania_info Ver información registral de una compañía

Supercías registry record for one company by RUC: status, incorporation, representative, capital, CIIU, address. No financials.

ParameterTypeDescription
ruc *stringThe company's 13-digit RUC
formatstringtext summary (default) or json structured result.

search_ranking Rankear compañías por indicadores financieros

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.

ParameterTypeDescription
anioFiscal year, 2008 to the latest; defaults to the latest available year (which may still be incomplete while filings arrive).
ciiu_n1stringOptional CIIU level-1 filter, e.g. "C", "G", "I".
descendingbooleanSet true for "top N" style queries (e.g. highest ingresos_ventas/roe first).
formatstringtext summary (default) or json structured result.
limitintegerMax results (default 20, max 100).
offsetintegerPagination offset.
order_bystringColumn to sort by (e.g. "posicion_general", "activos", "roe").

get_financials Ver historial financiero de una compañía

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.

ParameterTypeDescription
expediente_or_ruc *stringThe company's Supercías "expediente" number (from search_companias/get_compania_info) or its 13-digit RUC.
anioOptional single fiscal year.
desdeOptional first fiscal year of a range (inclusive).
formatstringtext summary (default) or json structured result.
hastaOptional last fiscal year of a range (inclusive).

search_auditores Buscar auditores externos autorizados

Search Supercías' registry of 1,447 authorized external auditors by name or ID.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
limitintegerMax results (default 20, max 100)
offsetintegerPagination offset over the matched set
provinciastringOptional province filter, e.g. "PICHINCHA" (substring match)
querystringFree text matched against auditor name or identificación (RUC/cédula), accent-insensitive

get_auditor_info Ver información de un auditor externo

One external auditor's authorization, nationality and contact details by RUC or cédula.

ParameterTypeDescription
identificacion *stringThe auditor's RUC or cédula
formatstringtext summary (default) or json structured result.

search_cepalstat_indicadores Buscar indicadores en CEPALSTAT

Search CEPALSTAT's 2,059 regional indicators (demographic, economic, environmental, SDG). Next: get_cepalstat_indicador for Ecuador's values.

ParameterTypeDescription
formatstringtext summary (default) or json structured result.
langstring"es" (default) or "en"
querystringFree text matched (accent-insensitive) against the indicator's name or its thematic-area breadcrumb, e.g. "poblacion", "pobreza", "comercio exterior".

get_cepalstat_indicador Ver observaciones de un indicador CEPALSTAT

Observations of one CEPALSTAT indicator for one country (Ecuador by default), with dimension ids decoded to labels. Take indicator_id from search_cepalstat_indicadores.

ParameterTypeDescription
indicator_id *integerAn "indicator_id" from search_cepalstat_indicadores.
formatstringtext summary (default) or json structured result.
langstring"es" (default) or "en"
paisstringCountry to filter to (accent-insensitive, e.g. "Ecuador", "Peru").

get_serie_internacional Series internacionales con datos de Ecuador (WDI, IRENA, Ember, XM, Comtrade, FMI, OMS, OIT, ACNUR)

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

ParameterTypeDescription
fuente *stringwdi, irena, ember, xm, comtrade, imf, who, ilo or unhcr.
agregacionstringxm only: dia or mes.
clavestringimf/ilo only: SDMX key, dot-separated (ECU.CPI._T.IX.M).
cmdstringcomtrade only: TOTAL or an HS code of 2, 4 or 6 digits.
conexionstringirena only: All, On-grid or Off-grid.
desdestringStart: a year (AAAA) for wdi/irena/who/unhcr (ember: AAAA or AAAA-MM), a date (AAAA-MM-DD) for xm, a period (AAAA, AAAA-MM) for imf/ilo.
flujostringcomtrade only: X (exports), M (imports) or ambos.
formatstringtext summary (default) or json structured result.
frecuenciastringcomtrade and ember: A (annual) or M (monthly).
hastastringEnd, same format as desde.
indicadorstringwdi/who: indicator code.
limitintegercatalog/flow listings only: maximum rows (1-200).
paisstringwdi/irena/who/imf/ilo/unhcr: ISO3 code (irena also accepts the English name).
periodostringcomtrade only: one period, AAAA (frecuencia A) or AAAAMM (frecuencia M).
querystringwdi/who/imf/ilo/ember: catalog search text, used when indicador is empty.
sentidostringxm only: exportaciones (Colombia to Ecuador) or importaciones (Ecuador to Colombia).
sociostringcomtrade: partner as ISO3 (USA, CHN, COL, PER, PAN, ESP, NLD, ITA...) or M49 number; empty = 0 (World).
tecnologiastringirena only: technology label substring (solar, hydro, Total Renewable...).
tipostringirena only: generacion (GWh), capacidad (MW) or ambos.
ultimosintegerimf/ilo only: last N observations per series.

get_clima_nasa_power Clima por cantón o coordenada (NASA POWER)

Daily or monthly rainfall, temperature, humidity, wind and solar radiation for an Ecuadorian canton (its centroid) or a latitude/longitude, 1981 to a few days ago, from NASA POWER. A satellite and model grid, not weather stations.

ParameterTypeDescription
cantonstringCanton name or 4-digit INEC code (e.g. "Quito", "1701").
desdestringStart of the period: AAAA, AAAA-MM or AAAA-MM-DD.
formatstringtext summary (default) or json structured result.
frecuenciastringmensual or diaria.
hastastringEnd of the period, same format.
latitudLatitude in decimal degrees (south is negative), with longitud, instead of canton.
longitudLongitude in decimal degrees (west is negative), with latitud, instead of canton.
provinciastringOptional province to tell apart cantons that share a name (Bolívar, Sucre...).
variablesstringComma-separated: lluvia, temperatura, temp_max, temp_min, humedad, viento, radiacion.