Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.malkreide/swiss-democracy-mcp

PYPI · SWISS-DEMOCRACY-MCP

Swiss popular votes and elections: Swissvotes 1848+, BFS opendata.swiss, SRGSSR Polis 1900+

+15 this week 92 Trust /100

Last scanned (4 hours ago)

Scores higher than 95% of PyPI servers

Category Education and Research

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 1 of 34 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to malkreide/swiss-democracy-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 40 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability70
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1822 tokens (~182/item across 10 items; 10 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage71
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 0% of tool parameters carry a description.Fail
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 10 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 11 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 2 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
    • Stability: 0.97 → pass security
  • 1 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
    • Stability: pass → 0.97 functional
  • 31 Oct 26 −10
    • Malware scan: pass → unverified ▼ security
    • Source repository: unverified → pass ▲ security
  • 30 Oct 26 +10
    • Provenance: pass → unverified ▼ security
    • Malware scan: unverified → pass ▲ security
  • 29 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
  • 28 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 27 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 5 Nov 2026 · Analysed pypi/swiss-democracy-mcp@0.3.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo malkreide/swiss-democracy-mcp
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/malkreide/swiss-democracy-mcp/.github/workflows/publish.yml@refs/tags/v0.3.0
Rekor log index 2964366927
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:d3290cfe729995e34b1ed3ab36780b60842242b51ac97edf009f1d9385bbb938

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend allowlisted hatchling.build

Background: Why install scripts are a supply-chain risk →

Dependencies 34 packages
Packages resolved 34
No linked repository 1
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 10 exposed · ~1,727 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
democracy_bfs_get_vote_results ~181

Ruft Echtzeit- oder Archiv-Abstimmungsresultate vom BFS ab. <use_case>Resultate auf Gemeinde-/Kantons-/Bundesebene, v.a. am Abstimmungssonntag.</use_case> Nutzt die direkte JSON-URL eines Abstimmungsdatums (aus democracy_bfs_list_vote_dates). Gibt Resultate pro Vorlage auf nationaler, kantonaler oder Gemeindeebene zurück. Am Abstimmungssonntag werden die Daten laufend aktualisiert. Args: params (BfsVoteResultInput): Enthält: - result_url (str): URL aus democracy_bfs_list_vote_dates - level (str): 'national', 'cantonal' oder 'municipality' Returns: str: JSON mit Abstimmungsresultaten pro Vorlage

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_bfs_list_vote_dates ~118

Listet alle verfügbaren eidgenössischen Abstimmungsdaten im BFS-Echtzeit-Webservice auf. <use_case>Einstieg in BFS-Echtzeit-/Archivdaten; liefert die Ressourcen-URLs für democracy_bfs_get_vote_results.</use_case> Die Daten werden am Abstimmungssonntag ab 12:00 Uhr laufend aktualisiert. Das Archiv enthält eidgenössische Abstimmungen seit 1981. Returns: str: JSON mit verfügbaren Abstimmungsdaten und deren Ressource-URLs

Input schema present but exposes no named parameters.

NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_get_cantonal_results ~167

Gibt die Abstimmungsresultate aller 26 Kantone für eine eidgenössische Volksabstimmung zurück. <use_case>Kantonsvergleich und Ständemehr-Analyse zu einer Vorlage.</use_case> Inkl. Stimmberechtigte, abgegebene Stimmen, gültige Stimmen, Ja- und Nein-Stimmen, Ja-Prozent und ob der Kanton angenommen hat (für Ständemehr-Zählung). Args: params (VoteDetailInput): Enthält: - vote_number (str): Abstimmungsnummer (anr) Returns: str: JSON mit kantonalen Resultaten (26 Kantone), nationalem Total und Stimmenmehr/Ständemehr-Übersicht

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_get_party_positions ~177

Gibt die Parteiparolen der grossen Schweizer Parteien zu einer Volksabstimmung zurück. <use_case>Analyse von Parteilinien und Kampagnen-Finanzierung zu einer Vorlage.</use_case> Dekodiert die numerischen Parolen-Codes aus Swissvotes in lesbare Labels: 1=Ja, 2=Nein, 3=Stimmfreigabe, 4=Nein zum Gegenentwurf, 5=Ja zum Gegenentwurf, 66=Keine Parole gefasst, 9=Unbekannt. Args: params (VoteDetailInput): Enthält: - vote_number (str): Abstimmungsnummer (anr) Returns: str: JSON mit Parteiparolen und Links zu Ja-/Nein-Komitees

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_get_vote_detail ~160

Gibt vollständige Details zu einer eidgenössischen Volksabstimmung zurück. <use_case>Vertiefung zu einer konkreten Vorlage (Parlamentsempfehlungen, Resultat, Beteiligung).</use_case> Inkl. offiziellem Titel, Rechtsform, Parlamentsempfehlungen (NR, SR, Bundesrat), Abstimmungsresultat (national und kantonal), Beteiligung, Finanzierungsdaten und Link zur Swissvotes-Seite. Args: params (VoteDetailInput): Enthält: - vote_number (str): Abstimmungsnummer (anr) aus democracy_search_votes Returns: str: JSON mit vollständigen Vote-Details oder Fehlermeldung

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_list_vote_dates ~117

Listet alle eidgenössischen Abstimmungsdaten auf, an denen Vorlagen zur Abstimmung kamen. <use_case>Orientierung/Navigation vor einer Detailabfrage.</use_case> Gibt für jedes Datum die Anzahl Vorlagen zurück. Nützlich zur Orientierung vor einer Detailabfrage. Args: params (ListDatesInput): Optionaler Zeitraumfilter (year_from, year_to) Returns: str: JSON mit Liste von Abstimmungsdaten und Anzahl Vorlagen pro Datum

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_polis_get_votation_detail ~186

Gibt detaillierte Polis-Daten zu einer Volksabstimmung zurück. <use_case>Gemeindescharfe Detailanalyse einer historischen Abstimmung.</use_case> Optional mit Gemeinde-Resultaten – ideal für Fragen wie «Wie hat die Stadt Zürich bei der AHV-Reform abgestimmt?». Benötigt SRGSSR_CONSUMER_KEY und SRGSSR_CONSUMER_SECRET. Args: params (PolisVotationDetailInput): Enthält: - votation_id (str): Polis-ID aus democracy_polis_list_votations - lang (str): Ausgabesprache - include_municipalities (bool): Gemeinderesultate einschliessen Returns: str: JSON mit Polis-Abstimmungsdetails, kantonalen und optionalen Gemeindedaten

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_polis_list_elections ~165

Ruft historische Wahlen (National-/Ständerat, Regierungsrat) aus Polis ab. <use_case>Wahlanalysen (Kandidierende, Parteistimmen) seit 1900.</use_case> Polis enthält Wahlresultate seit 1900, inkl. Kandidatinnen- und Parteistimmen. Benötigt SRGSSR_CONSUMER_KEY und SRGSSR_CONSUMER_SECRET. Args: params (PolisElectionInput): Enthält: - year_from/year_to (int): Zeitraumfilter - lang (str): Ausgabesprache - limit (int): Max. Resultate Returns: str: JSON mit Wahlliste oder Hinweis zur Registrierung

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_polis_list_votations ~173

Ruft historische Volksabstimmungen aus dem SRGSSR Polis-System ab (seit 1900). <use_case>Historische Analysen mit Gemeinde-Granularität.</use_case> Polis enthält Resultate auf Gemeinde-Ebene, was für historische Analysen besonders wertvoll ist. Benötigt SRGSSR_CONSUMER_KEY und SRGSSR_CONSUMER_SECRET. Args: params (PolisListInput): Enthält: - year_from/year_to (int): Zeitraumfilter - lang (str): Sprache ('de', 'fr', 'it', 'rm', 'en') - limit/offset (int): Pagination Returns: str: JSON mit Polis-Abstimmungsliste oder Hinweis zur Registrierung

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

democracy_search_votes ~283

Durchsucht alle eidgenössischen Volksabstimmungen seit 1848 (Swissvotes-Datenbank). <use_case>Politische/journalistische Recherche: Vorlagen nach Thema, Zeitraum oder Ergebnis finden.</use_case> Filtert nach Stichwort, Zeitraum, Rechtsform, Ergebnis und Politikbereich. Gibt Titel, Datum, Rechtsform, Ja-Anteil, Beteiligung und Bundesratsempfehlung zurück. Args: params (VoteSearchInput): Suchparameter mit optionalen Feldern: - keyword (str): Freitextsuche im Titel (DE/EN) - year_from/year_to (int): Zeitraumfilter - legal_form (str): 'initiative', 'obligatorisch', 'fakultativ' - result (str): 'angenommen' oder 'abgelehnt' - policy_domain (str): Politikbereich-Stichwort - limit (int): Max. Resultate (Standard: 20) - offset (int): Pagination-Offset Returns: str: JSON mit 'total', 'count', 'offset', 'has_more', 'votes' (Liste von Vote-Objekten mit vote_number, date, title_de, legal_form, accepted, yes_percent, turnout_percent, federal_council_position)

NameTypeReqDescription
params–yes–
NameTypeReqDescription
resultstringyes–

No examples provided.

Install

How do I install the io.github.malkreide/swiss-democracy-mcp server?

io.github.malkreide/swiss-democracy-mcp runs locally as a PyPI package, launched with uvx swiss-democracy-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · swiss-democracy-mcp

# add to Claude Code
claude mcp add malkreide-swiss-democracy-mcp -- uvx swiss-democracy-mcp
Common questions

What is the io.github.malkreide/swiss-democracy-mcp server?

io.github.malkreide/swiss-democracy-mcp is listed in the public MCP registry as io.github.malkreide/swiss-democracy-mcp. Swiss popular votes and elections: Swissvotes 1848+, BFS opendata.swiss, SRGSSR Polis 1900… This page covers its PyPI package (swiss-democracy-mcp).

Is the io.github.malkreide/swiss-democracy-mcp server safe to use?

io.github.malkreide/swiss-democracy-mcp scores 92 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.malkreide/swiss-democracy-mcp server expose?

io.github.malkreide/swiss-democracy-mcp exposes 10 tools: democracy_search_votes, democracy_get_vote_detail, democracy_get_party_positions, democracy_get_cantonal_results, democracy_list_vote_dates, and 5 more. Their descriptions and schemas cost roughly 1,727 tokens of context every time the server is loaded.

Is the io.github.malkreide/swiss-democracy-mcp server still maintained?

io.github.malkreide/swiss-democracy-mcp is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.malkreide/swiss-democracy-mcp server under?

io.github.malkreide/swiss-democracy-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.