Swiss Democracy MCP

🌐 English | 🇩🇪 Deutsche Version An MCP server providing access to Swiss direct democracy data, covering all federal popular votes since 1848 and elections since 1900. Its 10 documented tools cover democracy, vote, polis, results. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 2 · #342 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Swiss Democracy MCP

before you install - you'll need

Set MCP_TRANSPORT before connecting. SRGSSR_CONSUMER_KEY, SRGSSR_CONSUMER_SECRET are optional or environment-specific per the README.

Claude Code

claude mcp add malkreide-swiss-democracy-mcp -- uvx swiss-democracy-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "malkreide-swiss-democracy-mcp": {
      "command": "uvx",
      "args": [
        "swiss-democracy-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package swiss-democracy-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.malkreide is GitHub-verified and matches the repo owner

03 · What Swiss Democracy MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can search all federal popular votes since 1848 by keyword, date range, legal form, outcome, policy domain, list all voting dates with number of proposals per date, and list all BFS voting dates (archive + current).

The 10 tools it gives your agent

Extracted from the project's README - what swiss-democracy-mcp lets an agent do.

democracy_search_votes
- Search all federal popular votes since 1848 by keyword, date range, legal form, outcome, policy domain
democracy_get_vote_detail
- Full details for a specific vote: official title, parliamentary positions, national result, signatures
democracy_get_party_positions
- Party recommendations (FDP, SP, SVP, Die Mitte, GPS, GLP, …) with campaign finance data
democracy_get_cantonal_results
- Results for all 26 cantons: yes%, turnout, accepted flag
democracy_list_vote_dates
- List all voting dates with number of proposals per date
democracy_bfs_list_vote_dates
- List all BFS voting dates (archive + current)
democracy_bfs_get_vote_results
- Real-time or archived results at national, cantonal, or municipality level
democracy_polis_list_votations
- Historical votations since 1900 with municipality-level data
democracy_polis_get_votation_detail
- Full Polis detail, optionally with all municipality results
democracy_polis_list_elections
- National Council, Council of States, and cantonal elections since 1900

Latest releases

v0.2.5 · 2026-08-02

[0.2.5] - 2026-08-02 · Fixed · structlog carried no upper bound, and the index already serves a major past · the floor. The declared range was structlog>=24.1.0; PyPI has been serving · 26.1.0. The artefact does not…

v0.2.4 · 2026-07-31

[v0.2.4] - 2026-07-30 · Fixed · The User-Agent reports the actual package version again. The published · 0.2.3 sent swiss-democracy-mcp/1.0.0 to every upstream - the version string was · hardcoded and had been left…

v0.2.0 · 2026-06-02

swiss-democracy-mcp v0.2.0 · Erstes audit-verifiziertes Release. Geprüft mit mcp-audit-skill v1.0.0 - · production-ready (29 pass / 0 fail / 7 non-blocking partial, 0 Blocker). · Security & Hardening · SSRF-Schutz…

04 · Who maintains Swiss Democracy MCP

swiss-democracy-mcp is maintained by malkreide. We track 43 MCP servers from malkreide - 42 actively maintained, 36 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from malkreide.

  1. zurich-opendata-mcp City of Zurich weather, air quality, parking, geodata, Gemeinderat, tourism ★ 8
  2. swisstopo-mcp Swiss federal geodata: geocoding, height, STAC, WMTS, OEREB and more ★ 8
  3. swiss-statistics-mcp BFS STAT-TAB PxWeb API for official Swiss statistics ★ 2
  4. fedlex-mcp Swiss federal law, consultations (Fedlex) & TERMDAT terminology (LINDAS) via SPARQL ★ 3
  5. swiss-transport-mcp OJP 2.0 journey planning, SIRI-SX disruptions, occupancy, fares, train formation ★ 4

05 · Facts

category
other - ranked #342 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
3 releases in the last 90 days (latest 2026-08-02)
registry
io.github.malkreide/swiss-democracy-mcp (active, first published 2026-06-07 · 3 versions)
packages
pypi:swiss-democracy-mcp

06 · Swiss Democracy MCP FAQ

Is Swiss Democracy MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 3 releases in the last 90 days. We re-verify nightly.

What can Swiss Democracy MCP do?

With this server connected, an agent can search all federal popular votes since 1848 by keyword, date range, legal form, outcome, policy domain, list all voting dates with number of proposals per date, and list all BFS voting dates (archive + current).

How do I install Swiss Democracy MCP?

Run `uvx swiss-democracy-mcp`. The README documents 3 environment variables (SRGSSR_CONSUMER_KEY, SRGSSR_CONSUMER_SECRET, MCP_TRANSPORT) to set first. Set MCP_TRANSPORT before connecting. SRGSSR_CONSUMER_KEY, SRGSSR_CONSUMER_SECRET are optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Swiss Democracy MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Swiss Democracy MCP