Datos Gob Do MCP Server
MCP server for datos.gob.do — Dominican Republic open government data (CKAN 2.11).
Connector by alcastaro · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/alcastaro-datos-gob-do-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 17 read · 5 write · 1 delete · 4 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 27
Read from the source code; the running server may list different tools.
Read 17 · Look things up without changing anything.
check_resourcesdetect_outliers_resourcefind_duplicates_resourceget_bigquery_table_info_toolget_cache_statsget_datasetget_organizationget_resourceget_resource_schemaget_site_statslist_bigquery_exports_toollist_groups
Show 5 more tools
list_organizationslist_recent_datasetssearch_datasetssearch_resourcessummarize_resource
Write 5 · Create, change, send or run things.
aggregate_resourcedownload_resource_previewfilter_resourceload_resource_to_bigquery_toolsave_query_to_csv
Delete 1 · Delete, drop, revoke or wipe things.
clear_cache
Not yet classified 4 · We could not tell from the name and description.
autocompletelist_tagsquantiles_resourcequery_resource
Files it touches
- Any path the agent passes to its tools
Tools (27)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
aggregate_resourceRun GROUP BY + aggregations against a cached resource without writing SQL. Typed wrapper that builds safe DuckDB queries from JSON. Example usage: "How many employees by status in April 2026?" → aggregations=[{col: null, fn: count, alias: empleados}], group_by=["Estatus"], filters=[{col:"Año",op:"=",val:2026},{col:"Mes",op:"=",val:"Abril"}], order_by=[{col:"empleados",dir:"desc"}]. First call downloads + caches the file. Subsequent calls reuse the cache. Returns one row per group with the aggregation values.
autocompleteAutocomplete dataset / organization / group / tag names. Resolves a slug when the user gives only part of a name. Slugs here are the full registered name, so acronyms rarely match on their own: kind='organization', query='indotel' → 'instituto-dominicano-de-las-telecomunicaciones-indotel'. Returns `{suggestions, count, kind, query}`; the echo keeps a zero-result reply interpretable.
check_resourcesAsk whether each file can actually be downloaded, without downloading it. The catalog says a resource exists; it does not say the file is still there. Call this before recommending a source — recommending a dataset whose files all refuse sends the user to a dead end, and nothing else here tells you in advance. Returns a class, not a yes/no: ok, challenge (a browser passes, no client can), waf_rule, not_found, server_error, html_page, head_not_supported, network.
clear_cacheClear analytics cacheRemove all cached Parquet files. Returns the count removed.
detect_outliers_resourceFind rows where a numeric column falls outside the IQR fence. Uses the standard IQR method: outliers are values below Q1 - 1.5*IQR or above Q3 + 1.5*IQR. Returns rows sorted by distance from the median. Useful for detecting data-entry errors in salary, budget, or census data. First call downloads + caches. Subsequent calls reuse the cache.
download_resource_previewDownload a resource and return N rows with their column headers. The datos.gob.do portal has no DataStore (no SQL), so this tool downloads the file and parses it client-side. 5 MB cap to avoid huge files; ODS and any resource already read by an analytics tool are served from the Parquet cache instead. Useful for inspecting the structure of the data before deciding how to query it. For analytical queries on big files, use get_resource_schema, then summarize_resource or aggregate_resource.
filter_resourceRun a typed WHERE/SELECT/ORDER BY/LIMIT against a cached resource. First call downloads the file (up to 100 MB) and caches it as Parquet at ~/.cache/datosgobdo-mcp/. Subsequent calls hit cache (<1s). Returns requested columns + matching rows (capped at limit) plus the total count of matching rows. Use this when you need actual records, not aggregates.
find_duplicates_resourceFind rows that appear more than once on the given columns (or all columns). Returns duplicate groups sorted by frequency descending. Useful for detecting data-quality issues in payroll, census, and registry datasets. First call downloads + caches. Subsequent calls reuse the cache.
get_bigquery_table_info_toolGet BigQuery table infoSchema, row count and source URIs of a BigQuery table created by this server.
get_cache_statsReturn cache stats (entries, bytes) plus server identity: version, security mode.
get_datasetFull metadata for one dataset, including every downloadable resource. Returns title, description, institution, licence, and the complete resource list (CSV/XLSX/PDF/… files) with direct download URLs.
get_organizationDetails for one institution: description, dataset count, URL.
get_resourceMetadata for one resource (file): download URL, format, size.
get_resource_schemaReturn column names, inferred types, and sample values for a resource. Cheap reconnaissance step. Downloads file (up to 100 MB), opens it in DuckDB, and runs DESCRIBE + per-column DISTINCT sampling. Does NOT return raw rows. Use this before summarize_resource or aggregate_resource so the model knows column names and types.
get_site_statsPortal-wide totals for datos.gob.do: datasets, institutions, groups, tags.
Show 12 more tools
list_bigquery_exports_toolList BigQuery exportsList tables in a BigQuery dataset (exports made by this server included).
list_groupsThematic categories (economy, health, public administration, …) → `{groups, count}`.
list_organizationsList the government institutions publishing on datos.gob.do. Ministries, autonomous agencies, municipalities and so on, with a dataset count each. Returns `{organizations, count, limit_reached}`: more publish here than `limit` can return, so a full page is a page, not the set.
list_recent_datasetsMost recently modified datasets on datos.gob.do. For monitoring portal updates. Returns hydrated metadata, not raw activity records.
list_tagsTags, optionally filtered by prefix → `{tags, count, limit_reached}`. Hundreds exist, so a listing without `query` is a sample.
load_resource_to_bigquery_toolLoad resource to BigQueryDownload a datos.gob.do resource and expose it as a BigQuery table. Pipeline: resource → local Parquet cache → GCS upload → BigQuery External Table (or Load Job). Pair with a BigQuery MCP for SQL over the result — JOINs across datasets that local DuckDB cannot do.
quantiles_resourcePercentile distribution (p25/p50/p75/p90/p95/p99) of numeric columns. Fills the gap left by aggregate_resource, which only exposes median. First call downloads + caches the file. Subsequent calls reuse the cache. Useful for salary analysis, budget distributions, and statistical profiling.
query_resourceRun an ad-hoc read-only SQL query against a cached resource via DuckDB. Power-user escape hatch when filter_resource / aggregate_resource don't cover the case. The cached resource is exposed as the in-memory table 'data'. SQL is DuckDB dialect — see https://duckdb.org/docs/sql/introduction. Supports CSV, TSV, XLSX, XLS, JSON, and ODS (auto-converted to CSV). Safety: - Only SELECT/WITH statements (CTEs allowed); multi-statement blocked. - DDL/DML keywords (INSERT/UPDATE/DELETE/DROP/CREATE/ALTER/COPY/EXPORT/ IMPORT/TRUNCATE/GRANT/REVOKE/PRAGMA/SET/LOAD/INSTALL/ATTACH/DETACH/ VACUUM…
save_query_to_csvSave query result to CSVWrite a query or filter result to a local CSV file. Export endpoint for analysis workflows — run your filter or SQL, then save the result to open in Excel or another tool. Returns the file path and row count. First call downloads + caches the source file. Subsequent calls reuse the cache.
search_datasetsSearch datasets on datos.gob.do (Dominican Republic open data). Filter by keyword, institution, tag or thematic group. Returns summary metadata: title, publishing institution, available formats, URL.
search_resourcesSearch individual files by name. Returns download URLs, with the dataset and institution behind each one.
summarize_resourceAuto-generated profile: row count, types, nulls, distinct, min/max/mean, top values. Downloads file (up to 100 MB), runs DuckDB COUNT/DISTINCT/AGG queries per column. Returns one compact dict per column with stats. The model uses this to decide which filters and aggregations to apply next, without any raw rows in its context. For columns with many distinct values (e.g. names), 'top_values' is omitted; only counts are returned.
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 73
- Last commit
- Sep 2, 2026 (1 month ago)
- Last release
- Aug 13, 2026 (2 months ago)
- Last package publish
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.alcastaro/datos.gob.do-MCP-server- Version
- 0.14.0
- Auth
- No auth
- Packages
- pypi dominican-open-data-mcp
- License
- License unknown
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
Cite this page
Datos Gob Do MCP Server. Agent Mart. https://agentmart.dev/connectors/alcastaro-datos-gob-do-mcp-server (last updated 2026-10-25)