MCP server exposing 4 tools for open-data-portals.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/open-data-portals/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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 with its HTTP status. A domain that is none of them returns not_a_portal, never an empty success. Use before portal_search_datasets / portal_query on a portal with no dedicated pack. Keyless; public portals only.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 exact upstream URL called. The id feeds portal_dataset and portal_query. Detects the platform itself if you do not pass one.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 URLs and whether each can be queried through portal_query. Names the platform and the exact upstream URL called.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, Opendatasoft records, ArcGIS FeatureServer query). `where` is the platform's native filter syntax; `filters` is plain equality that works on every platform. If the resource has no query API, returns queryable:false with its download URL (web-fetch query_table can read a CSV download). Zero rows is an error, not a success. Names the platform and the exact upstream URL called.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/open-data-portals/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io