folketinget_dk_member_votes
Pack: folketinget-dk · 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/folketinget_dk_member_votes for the schema, then POST the same URL with its arguments for the data.
How one Folketinget member voted: the member’s individual votes (for, imod=against, fravaer=absent, hverken=neither) newest first, each with the vote id, date, the case (number, title), whether it was adopted, and the published conclusion. Identify the member by name or member_id. Narrow by session (code like 20261 = 2026-27), a date window (since/until), a case number (case “B 36” with session), or the vote kind. Returns total_matching, the page, and the member party. Pages with limit/offset. Danish text. Source: Folketinget, voting register.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
member | string | no | Member name, e.g. “Christina Egelund”. Give this or member_id. |
member_id | number | no | Actor id from folketinget_dk_find_actor. |
session | string | no | Parliamentary session code, e.g. “20261” (2026-27), “20252” (2025-26 2nd session). With case it defaults to the current session. |
since | string | no | Only votes on or after this date, YYYY-MM-DD. |
until | string | no | Only votes on or before this date, YYYY-MM-DD. |
case | string | no | Case number as printed, e.g. “B 36” (resolution), “L 12” (bill), with session. |
vote | string | no | Only votes of this kind. |
limit | number | no | Votes per page (default 50, max 100). |
offset | number | no | Votes to skip, for paging. |
Example call
Arguments
{
"member": "Mohammad Rona",
"session": "20252",
"limit": 50
}
curl
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":"folketinget_dk_member_votes","arguments":{"member":"Mohammad Rona","session":"20252","limit":50}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('folketinget_dk_member_votes', {
"member": "Mohammad Rona",
"session": "20252",
"limit": 50
});
More examples
{
"member_id": 20415,
"case": "B 36",
"session": "20261"
}
{
"member_id": 20415,
"since": "2026-11-01",
"until": "2026-11-12"
}
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
source | string | |
reason | string | |
note | string | |
party_basis | string | |
data_as_of | string | null | |
member | object | |
session | object | null | |
total_matching | number | null | |
returned | number | |
offset | number | |
votes | array | |
candidates | array | |
nearest_names | array |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"source": {
"type": "string"
},
"reason": {
"type": "string"
},
"note": {
"type": "string"
},
"party_basis": {
"type": "string"
},
"data_as_of": {
"type": [
"string",
"null"
]
},
"member": {
"type": "object",
"properties": {
"member_id": {
"type": "number"
},
"name": {
"type": "string"
},
"party": {
"type": [
"string",
"null"
]
},
"party_name": {
"type": [
"string",
"null"
]
},
"profession": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
"session": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"total_matching": {
"type": [
"number",
"null"
]
},
"returned": {
"type": "number"
},
"offset": {
"type": "number"
},
"votes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"vote_id": {
"type": "number"
},
"date": {
"type": [
"string",
"null"
]
},
"voted": {
"type": "string"
},
"adopted": {
"type": [
"boolean",
"null"
]
},
"case_number": {
"type": [
"string",
"null"
]
},
"case_id": {
"type": [
"number",
"null"
]
},
"case_title": {
"type": [
"string",
"null"
]
},
"stage": {
"type": [
"string",
"null"
]
},
"conclusion": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"member_id": {
"type": "number"
},
"name": {
"type": "string"
},
"party": {
"type": [
"string",
"null"
]
},
"profession": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"nearest_names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
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 folketinget-dk pack
{
"mcpServers": {
"folketinget-dk": {
"url": "https://gateway.pipeworx.io/folketinget-dk/mcp"
}
}
}
See Getting Started for client-specific install steps.