MCP server exposing 4 tools for dk-elections.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/dk-elections/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
dk_elections_list_elections — List the Danish national elections and referendums covered: Folketing elections 1979 to 2007 (stored copy of the Danish Election Database) and Folketing, European Parliament elections and referendums 2009 to the latest held (live), each with date, type, geography levels available and where it is served from. European Parliament elections and referendums before 2009, municipal and regional elections are NOT covered. Source: Statistics Denmark.dk_elections_results — Results of one Danish national election or referendum by geography level, down to polling-station area (2009 on) or voting station (Folketing 1979-2007): votes, percent and seats per party (or yes/no votes for a referendum), plus eligible voters, turnout and invalid votes. Seats are null for 1979-2007 (not in the source). For landsdel and the constituency level (storkreds, or amtskreds before 2007), omit area to get every unit. For opstillingskreds and the station levels, omit area to list the units and their ids, then call again with area. Source: Statistics Denmark. 1979-2007 responses say served_from stored copy and carry data_as_of; an unknown election returns an explicit not-covered answer.dk_elections_party_over_time — One party's vote and seat results across Danish national elections 1979 to the latest (Folketing 1979-2007 from a stored copy, 2009 on live), for the whole country or for one named area at a level the elections share (areas are matched across elections by NAME; boundaries change, so a polling-area match is best effort and flagged; an election lacking the level is listed under skipped with the levels it has). Party by letter (A, V, Ø) or name text (Socialdemokratiet, Liberal Alliance). Defaults to Folketing elections. Seats are null for 1979-2007. Source: Statistics Denmark.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 turnout across all elections of the type (default Folketing) from 1979 (1979-2007 from a stored copy of the Danish Election Database, 2009 on live). Source: Statistics Denmark.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/dk-elections/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io