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

NameTypeRequiredDescription
memberstringnoMember name, e.g. “Christina Egelund”. Give this or member_id.
member_idnumbernoActor id from folketinget_dk_find_actor.
sessionstringnoParliamentary session code, e.g. “20261” (2026-27), “20252” (2025-26 2nd session). With case it defaults to the current session.
sincestringnoOnly votes on or after this date, YYYY-MM-DD.
untilstringnoOnly votes on or before this date, YYYY-MM-DD.
casestringnoCase number as printed, e.g. “B 36” (resolution), “L 12” (bill), with session.
votestringnoOnly votes of this kind.
limitnumbernoVotes per page (default 50, max 100).
offsetnumbernoVotes 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

FieldTypeDescription
foundboolean
sourcestring
reasonstring
notestring
party_basisstring
data_as_ofstring | null
memberobject
sessionobject | null
total_matchingnumber | null
returnednumber
offsetnumber
votesarray
candidatesarray
nearest_namesarray
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.

Regenerated from source · build November 21, 2026