query_entity

Pack: tweedekamer-nl · Endpoint: https://gateway.pipeworx.io/tweedekamer-nl/mcp

Query a Tweede Kamer (Dutch Parliament) OData v4 entity set with full OData passthrough.

Parameters

NameTypeRequiredDescription
entitystringyes
filterstringnoOData $filter. eq/ne/gt/lt + contains()/startswith()/endswith(). String literals in single quotes (double an embedded quote). E.g. “Afkorting eq ‘VVD’”, “contains(Achternaam,‘Rut’)”, “AantalZetels gt 10”.
orderbystringnoOData $orderby, e.g. “Achternaam asc” or “GewijzigdOp desc”.
selectstringnoOData $select: comma-separated Dutch field names, e.g. “Id,Achternaam,Roepnaam,Functie”.
expandstringnoOData $expand: navigation properties to inline, e.g. “FractieZetel”.
topnumbernoMax records to return (default 25, OData $top).
skipnumbernoRecords to skip for paging (OData $skip).
countbooleannoIf true, include total match count as @odata.count.

Example call

Arguments

{
  "entity": "Persoon",
  "filter": "Achternaam eq 'Rutte'",
  "select": "Id,Achternaam,Roepnaam,Functie",
  "top": 10
}

curl

curl -X POST https://gateway.pipeworx.io/tweedekamer-nl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_entity","arguments":{"entity":"Persoon","filter":"Achternaam eq '\''Rutte'\''","select":"Id,Achternaam,Roepnaam,Functie","top":10}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('query_entity', {
  "entity": "Persoon",
  "filter": "Achternaam eq 'Rutte'",
  "select": "Id,Achternaam,Roepnaam,Functie",
  "top": 10
});

More examples

{
  "entity": "Fractie",
  "filter": "AantalZetels gt 10",
  "orderby": "AantalZetels desc",
  "select": "Id,Naam,Afkorting,AantalZetels",
  "top": 25
}

Connect

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

{
  "mcpServers": {
    "tweedekamer-nl": {
      "url": "https://gateway.pipeworx.io/tweedekamer-nl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026