portal_dataset

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_dataset for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
idstringyesDataset id from portal_search_datasets: CKAN id or name, Socrata 4x4 id, DKAN uuid, Opendatasoft dataset_id, ArcGIS Hub item_layer id.

Example call

Arguments

{
  "domain": "data.texas.gov",
  "id": "9cir-efmm"
}

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_dataset","arguments":{"domain":"data.texas.gov","id":"9cir-efmm"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('portal_dataset', {
  "domain": "data.texas.gov",
  "id": "9cir-efmm"
});

Response shape

FieldTypeDescription
platformstring
domainstring
upstream_urlstring
idstring
namestring
descriptionstring
asset_typestring
attributionstring
rows_updated_atnumber
view_typestring
queryableboolean
columnsarray
download_urlstring
budgetobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "upstream_url": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "asset_type": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "rows_updated_at": {
      "type": "number"
    },
    "view_type": {
      "type": "string"
    },
    "queryable": {
      "type": "boolean"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "download_url": {
      "type": "string"
    },
    "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