query_entity
Pack: folketinget-dk · Endpoint: https://gateway.pipeworx.io/folketinget-dk/mcp
Query a Folketinget (Danish Parliament) OData v3 entity collection. Returns matching rows under the value array. Fields and values are in Danish (e.g. titel=title, navn=name, opdateringsdato=last-updated). Supports OData $filter/$orderby/$expand/$select with $top/$skip paging. Example filters: “year(opdateringsdato) eq 2024”, “substringof(‘klima’,titel)”, “typeid eq 3”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
entity | string | yes | |
filter | string | no | OData $filter, e.g. “year(opdateringsdato) eq 2024” or “substringof(‘klima’,titel)”. |
top | number | no | OData $top — max rows to return (default 20). |
skip | number | no | OData $skip — rows to skip for paging. |
orderby | string | no | OData $orderby, e.g. “opdateringsdato desc”. |
expand | string | no | OData $expand — related entities to inline, e.g. “Stemme” or “Sagstrin”. |
select | string | no | OData $select — comma-separated fields, e.g. “id,titel,opdateringsdato”. |
Example call
curl -X POST https://gateway.pipeworx.io/folketinget-dk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_entity","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"folketinget-dk": {
"url": "https://gateway.pipeworx.io/folketinget-dk/mcp"
}
}
}
See Getting Started for client-specific install steps.