datastore_query

Pack: datagov-ie · Endpoint: https://gateway.pipeworx.io/datagov-ie/mcp

Read actual table rows from a resource via CKAN datastore_search. Works only for resources with datastore_active=true (get the resource_id from dataset_details).

Parameters

NameTypeRequiredDescription
resource_idstringyesResource UUID from dataset_details, e.g. “a51e4cf1-733d-4ed6-9ab5-01251a4348f7”.
qstringnoFull-text filter across the table.
filtersobjectnoExact-match column filters, e.g. {“Constituency”:“Cork”}.
limitnumbernoMax rows, 1-32000 (default 100).
offsetnumberno0-based row offset for paging.

Example call

Arguments

{
  "resource_id": "a51e4cf1-733d-4ed6-9ab5-01251a4348f7"
}

curl

curl -X POST https://gateway.pipeworx.io/datagov-ie/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"datastore_query","arguments":{"resource_id":"a51e4cf1-733d-4ed6-9ab5-01251a4348f7"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('datastore_query', {
  "resource_id": "a51e4cf1-733d-4ed6-9ab5-01251a4348f7"
});

More examples

{
  "resource_id": "a51e4cf1-733d-4ed6-9ab5-01251a4348f7",
  "filters": {
    "Constituency": "Cork"
  },
  "limit": 200
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "datagov-ie": {
      "url": "https://gateway.pipeworx.io/datagov-ie/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 1, 2026