@pipeworx/dk-elections
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/dk-elections’s. Install: one-click buttons
Connect to just the @pipeworx/dk-elections pack
https://gateway.pipeworx.io/dk-elections/mcp — only @pipeworx/dk-elections’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 4
Danish national election and referendum results, final count, from the national total down to polling-station area: votes, percent and seats per party, eligible voters, turnout and invalid votes.
Tools
dk_elections_list_elections(type?)— the elections covered (date, type, geography levels).dk_elections_results(election?, type?, level?, area?, within?)— results of one election at country, landsdel (3), storkreds (10), opstillingskreds (92) or afstemningsomraade (polling-station area, about 1,300-1,600). Omitareaat the two fine levels to list the units and their ids.dk_elections_party_over_time(party, type?, level?, area?, within?, from_year?)— one party across elections, nationally or for a named area (matched across elections by name).dk_elections_turnout(election?, type?, level?, area?, within?)— eligible voters, votes cast, turnout and invalid votes, for one election or across all elections of a type.
Coverage (stated in every response)
National elections and referendums from 7 June 2009 to the latest held: Folketing elections (2011, 2015, 2019, 2022, 2026), European Parliament elections (2009, 2014, 2019, 2024) and referendums (2009, 2014, 2015, 2022).
Not covered: anything before 2009, municipal and regional elections, Greenland and the Faroe Islands. An election outside the window returns covered: false naming the window and the elections available.
Auth
Keyless.
Data sources
- Statistics Denmark (Danmarks Statistik), national election results, final count.
Live per request; nothing is stored. Results are final once published, so responses are cached for a day. Statistics Denmark also runs the Danish Election Database (1979 onward, municipal elections), which this pack does not read; the Statbank election tables are reachable through dst-dk.
Notes
- Polling-area ids are assigned per election, so areas are matched across elections by name. Boundaries and polling stations change; a matched area is best effort, and the response says so.
- Party letters were reassigned over time (letter Q, for instance, belonged to different parties). A letter query returns the party that held it in each election, with the name.
- Referendums have yes/no choices in place of parties; seats are null.
data_as_ofis the publisher’s last correction time for the returned unit.
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
- 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
- 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
- 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
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 adk_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; boundariesdk_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 eligibledk_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