@pipeworx/open-data-portals

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/open-data-portals’s. Install: one-click buttons

Connect to just the @pipeworx/open-data-portals pack

https://gateway.pipeworx.io/open-data-portals/mcp — only @pipeworx/open-data-portals’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 4

Detect, search and query any public CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub open-data portal from its domain alone: the long tail of portals that have no dedicated pack.

Tools

  • portal_detect(domain) — which platform the domain runs, the evidence, and every probe URL with its HTTP status. A domain that is none of the five returns not_a_portal.
  • portal_search_datasets(domain, query, limit, offset) — catalog search; each hit carries an id for the next two tools plus resource or download links.
  • portal_dataset(domain, id) — description, license, columns (where the platform exposes them) and each resource or distribution with its download URL and whether portal_query can read it.
  • portal_query(domain, id, columns, where, filters, order_by, limit, offset) — rows through the platform’s own query language. filters is plain equality on every platform; where is the platform’s native syntax. A resource with no query API returns queryable:false and its download URL (web-fetch query_table can read a CSV download). Zero rows is an error, not a success.

Every response names the platform and the exact upstream URL called.

Auth

Keyless. Public portals only; no cookies, no login, https only.

Data sources

  • The portal’s own publisher, through the platform’s public API. The response names the portal domain and platform on every call.

Notes for the next person:

  • Per-domain budget: 150 upstream requests per domain per hour across callers (shared when the gateway supplies its cache store, per isolate otherwise). Over it the tool answers budget_exhausted with a retry time.
  • Redirects to a different site are not followed and are reported as evidence. Some portals answer a maintenance redirect to a status page for hours; portal_detect then says not_a_portal with that redirect target as the reason.
  • Socrata’s catalog search is global unless scoped to the domain; the tool always scopes it. Non-tabular Socrata assets (maps, measures) have no row API and return their download URL.
  • Opendatasoft’s records API pages to offset+limit of 10,000 only.
  • ArcGIS Hub ids are itemid_layerindex; a bare item id resolves to layer 0.

Tools

  • portal_detect — Identify which open-data platform a domain runs: CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub. Probes each platform’s documented API path and returns the platform, the evidence and every probe URL
  • portal_search_datasets — Search the dataset catalog of any CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal by domain. Returns id, title, description and resource/download links per dataset, plus the platform and the ex
  • portal_dataset — Metadata for one dataset on a CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal: description, license, columns where the platform exposes them, and its resources or distributions with download UR
  • portal_query — Read real rows from a dataset on a CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal using the platform’s own query API (CKAN datastore_search / datastore_search_sql, SoQL, DKAN datastore query,

Tools

  • portal_dataset — Metadata for one dataset on a CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal: description, license, columns where the platform exposes them, and its resources or distributions with download UR
  • portal_detect — Identify which open-data platform a domain runs: CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub. Probes each platform's documented API path and returns the platform, the evidence and every probe URL
  • portal_query — Read real rows from a dataset on a CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal using the platform's own query API (CKAN datastore_search / datastore_search_sql, SoQL, DKAN datastore query,
  • portal_search_datasets — Search the dataset catalog of any CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub portal by domain. Returns id, title, description and resource/download links per dataset, plus the platform and the ex

Regenerated from source · build December 1, 2026