Dk Elections

liveReference

Danish national election results (Statistics Denmark, final-count results, 2009 to the latest election), down to polling-station area.

4tools
0msauth
free tier50 calls/day

Tools

dk_elections_list_elections

List the Danish national elections and referendums covered: Folketing elections, European Parliament elections and referendums, 2009 to the latest held, each with date, type and the geography levels a

No parameters required.

▶Try it
dk_elections_results

Final-count results of one Danish national election or referendum by geography level, down to polling-station area: votes, percent and seats per party (or yes/no votes for a referendum), plus eligible

No parameters required.

▶Try it
dk_elections_party_over_time

One party's vote and seat results across Danish national elections 2009 to the latest, for the whole country or for one named area at any level (areas are matched across elections by NAME; boundaries

No parameters required.

▶Try it
dk_elections_turnout

Voter turnout for Danish national elections: eligible voters, votes cast, turnout percent and invalid votes, for the whole country or one named area. Give election for one election; omit it for turnou

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/dk-elections/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/dk-elections/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"dk_elections_list_elections","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("dk_elections_list_elections", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("danish national election results (statistics denmark, final-count results, 2009 to the latest election), down to polling-station area");