folketinget_dk_vote_result

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_vote_result for the schema, then POST the same URL with its arguments for the data.

The result of one Folketinget roll-call vote with the split by party: adopted or not, the published conclusion text, totals (for, imod, hverken for eller imod, fravaer=absent), and per party how many members voted each way with the member names listed for the votes that deviate from the party majority. Give vote_id, or a case number + session (a case with several votes returns the latest in full and lists all of them under votes_on_case; pick one with vote_id). totals_match_published says whether the counted for/against totals equal the numbers in the published conclusion. Party is the member’s party as recorded on the actor register now. Danish text. Source: Folketinget, voting register.

Parameters

NameTypeRequiredDescription
vote_idnumbernoVote id (from member_votes or bill_timeline).
casestringnoCase number as printed, e.g. “B 36” or “L 12”. With session.
sessionstringnoSession code, e.g. “20261”. Defaults to the current session when case is given.

Example call

Arguments

{
  "vote_id": 10612
}

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_vote_result","arguments":{"vote_id":10612}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('folketinget_dk_vote_result', {
  "vote_id": 10612
});

More examples

{
  "case": "L 36 B",
  "session": "20261"
}

Response shape

FieldTypeDescription
foundboolean
sourcestring
reasonstring
warningstring
party_basisstring
data_as_ofstring | null
vote_idnumber
datestring | null
adoptedboolean | null
published_conclusionstring | null
caseobject
published_countsobject | null
counted_totalsobject
totals_match_publishedboolean | null
members_recordednumber
by_partyarray
votes_on_casearray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "source": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "warning": {
      "type": "string"
    },
    "party_basis": {
      "type": "string"
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "vote_id": {
      "type": "number"
    },
    "date": {
      "type": [
        "string",
        "null"
      ]
    },
    "adopted": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "published_conclusion": {
      "type": [
        "string",
        "null"
      ]
    },
    "case": {
      "type": "object",
      "properties": {
        "case_id": {
          "type": [
            "number",
            "null"
          ]
        },
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "stage": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "published_counts": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true
    },
    "counted_totals": {
      "type": "object",
      "properties": {
        "for": {
          "type": "number"
        },
        "imod": {
          "type": "number"
        },
        "hverken": {
          "type": "number"
        },
        "fravaer": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "totals_match_published": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "members_recorded": {
      "type": "number"
    },
    "by_party": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "party": {
            "type": "string"
          },
          "for": {
            "type": "number"
          },
          "imod": {
            "type": "number"
          },
          "hverken": {
            "type": "number"
          },
          "fravaer": {
            "type": "number"
          },
          "members_voting_against_party_majority": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      }
    },
    "votes_on_case": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "vote_id": {
            "type": "number"
          },
          "vote_number": {
            "type": [
              "number",
              "null"
            ]
          },
          "adopted": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "conclusion": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    }
  },
  "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