list_resources

Pack: dane-gov-pl · 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/list_resources for the schema, then POST the same URL with its arguments for the data.

List the resources (files/tables) attached to a dataset. Returns JSON:API resource objects with id, title, format (csv/xlsx/…), media_type, link, openness_score and a tabular_data relationship. Resources whose relationships include tabular_data can be read row-by-row with resource_data.

Parameters

NameTypeRequiredDescription
dataset_idstringyesDataset numeric id, e.g. “771”.
pageintegernoPage number (default 1).
per_pageintegernoResults per page, 1-100 (default 20).
langstringnoLanguage hint “en” or “pl”.

Example call

Arguments

{
  "dataset_id": "771"
}

curl

curl -X POST https://gateway.pipeworx.io/dane-gov-pl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_resources","arguments":{"dataset_id":"771"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_resources', {
  "dataset_id": "771"
});

More examples

{
  "dataset_id": "771",
  "page": 1,
  "per_page": 50,
  "lang": "en"
}

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 dane-gov-pl pack
{
  "mcpServers": {
    "dane-gov-pl": {
      "url": "https://gateway.pipeworx.io/dane-gov-pl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 11, 2026