Wenzel Frick

parlhub: Swiss and Liechtenstein parliamentary data

parlhub is a data portal for the parliaments of Switzerland and the Liechtenstein Landtag. Members of parliament, votes, speeches, affairs, documents, texts, committees, parliamentary groups, meetings, organizations and interests are shown as searchable, filterable tables.

All data comes from OpenParlData.ch, which collects the official parliamentary records, cleans them and publishes them as open data under CC BY 4.0.

Features

  • Charts. Voting alignment, party loyalty, lobby networks and vocabulary maps, computed from the records and drawn as heatmaps, scatter plots, network graphs and treemaps.
  • Chart export. Each chart downloads as an image with title, legend and source credit.
  • Data export. Every table exports to JSON, CSV or XLSX, from a button or a scriptable URL, for example /votings/export/votings/csv.
  • WebMCP. Data pages expose tools to browser-based AI agents via @mcp-b, to filter a list and export it.
  • schema.org. Every page includes schema.org structured data as JSON-LD.

Further info

Tech stack

parlhub home page in dark mode: the parlhub wordmark and hemicycle logo above a search field, a row of data-section tabs (People, Votings, Affairs, Speeches, Parliaments and more), and a record count for each section.
The start page: one search field over eleven data sections, each with its current record count and the date of the last sync.
A member's vocabulary page: a squarified treemap of the words Kathrin Bertschy uses most across 337 speeches, filler words removed and tile size scaled to frequency. A left sidebar lists the per-person views: votes, voting alignment, interests, lobby, speeches, vocabulary and more.
Per-person analysis: a word-frequency treemap built from one member's speeches, scoped by date. The sidebar links the other computed views for the same person.
An interactive lobby-network graph for Switzerland: members drawn as circles and organisations as squares, linked by declared interests. One organisation, the Swiss Paraplegic Foundation, is selected, and a si
The lobby network: members and the organisations in their register of interests form one graph; selecting a node lists the connections and their paid or unpaid role.
An exported chart titled "Voting alignment, last 12 months, Switzerland, Council of States (Ständerat)": a scatter plot placing each member by voting agreement, coloured by party (Mitte, FDP-Liberale, SP, SVP, GRÜNE, MCG, GLP and none), so the parties cluster. A footer credits OpenParlData.ch, parlhub.com and CC BY 4.0.
The same feature in the light theme: voting alignment reduced to two dimensions, so members who vote alike sit close together.
An exported chart titled "Party loyalty since July 2025, Switzerland Ständerat": a dot plot on a logarithmic axis from 0.2 percent to 25 percent, each dot a member coloured by party (Mitte, FDP-Liberale, SP, SVP, MCG), showing how often each dissents from their group. A footer credits OpenParlData.ch, parlhub.com and CC BY 4.0.
A chart export in the dark theme: party loyalty in the Council of States, each dot a member on a logarithmic dissent axis.