resource_data
Pack: dane-gov-pl · Endpoint: https://gateway.pipeworx.io/dane-gov-pl/mcp
Read row-level data from a tabular resource (one with a tabular_data relationship). Returns JSON:API “row” objects whose attributes map column names (col1, col2, …) to {repr, val} pairs. Supports paging and full-text row filtering via q. Use list_resources first to find a tabular resource id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource_id | string | yes | Resource numeric id, e.g. “22509”. |
q | string | no | Full-text filter across row cells (Polish or English), e.g. “AUSTRIA”. |
page | integer | no | Page number (default 1). |
per_page | integer | no | Rows per page, 1-100 (default 20). |
Example call
Arguments
{
"resource_id": "22509"
}
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":"resource_data","arguments":{"resource_id":"22509"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('resource_data', {
"resource_id": "22509"
});
More examples
{
"resource_id": "22509",
"q": "AUSTRIA",
"page": 1,
"per_page": 50
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dane-gov-pl": {
"url": "https://gateway.pipeworx.io/dane-gov-pl/mcp"
}
}
}
See Getting Started for client-specific install steps.