portal_search_datasets

Pack: open-data-portals · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/portal_search_datasets for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
querystringnoSearch words, e.g. “hospital chargemaster”. Empty lists the newest/first datasets.
limitnumbernoDatasets to return, 1-50 (default 10).
offsetnumbernoSkip this many results (default 0).

Example call

Arguments

{
  "domain": "data.texas.gov",
  "query": "franchise tax",
  "limit": 3
}

curl

curl -X POST https://gateway.pipeworx.io/open-data-portals/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"portal_search_datasets","arguments":{"domain":"data.texas.gov","query":"franchise tax","limit":3}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('portal_search_datasets', {
  "domain": "data.texas.gov",
  "query": "franchise tax",
  "limit": 3
});

Response shape

FieldTypeDescription
platformstring
domainstring
upstream_urlstring
totalnumber
returnednumber
datasetsarray
budgetobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "upstream_url": {
      "type": "string"
    },
    "total": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "datasets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updated": {
            "type": "string"
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "budget": {
      "type": "object",
      "properties": {
        "used": {
          "type": "number"
        },
        "limit": {
          "type": "number"
        },
        "scope": {
          "type": "string"
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the open-data-portals pack
{
  "mcpServers": {
    "open-data-portals": {
      "url": "https://gateway.pipeworx.io/open-data-portals/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 1, 2026