parlament-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for HTTP server (used with sse/streamable-http transport) | 8080 |
| MCP_HOST | No | Host to bind the HTTP server. Use 0.0.0.0 only in container/cloud contexts. | 127.0.0.1 |
| MCP_TRANSPORT | No | Transport mode: stdio (default), sse, or streamable-http | stdio |
| MCP_BEARER_TOKENS | No | Comma-separated list of identity:token pairs for bearer authentication (e.g. alice:tok_abc,bob:tok_def) | |
| MCP_ALLOWED_ORIGINS | No | Comma-separated list of allowed CORS origins (e.g. https://claude.ai) | |
| OTEL_EXPORTER_OTLP_ENDPOINT | No | OpenTelemetry OTLP endpoint for exporting traces (requires otel-export extra) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| parlament_search_businessA | Parlamentarische Vorstösse suchen (Motionen, Interpellationen, Postulate usw.). Durchsucht Curia Vista Geschäftsdaten von ws.parlament.ch. Politische Recherche zu Bildungs-, Datenschutz- oder Verwaltungsthemen; hängige Vorstösse zu KI in der Bildung, Digitalisierungsinitiativen oder beliebigen Politikthemen finden. Titel-Suche via OData substringof() (gross-/klein-sensitiv).
Maximal 100 Treffer pro Aufruf; mit keyword='KI', keyword2='Schule', status='Eingereicht' |
| parlament_get_businessA | Vollständige Details eines parlamentarischen Vorstosses nach Curia Vista ID abrufen. Nach einer Suche verwenden, um vollständige Informationen inkl. Ausgangslage, Vorstosstext und Antwort des Bundesrats zu erhalten. Benötigt die numerische Geschäfts-ID (aus
parlament_search_business). |
| parlament_search_membersA | National- und Ständeräte suchen. Alle Zürcher Ratsmitglieder ('ZH') oder Mitglieder einer bestimmten Partei finden. Synergie: mit parlament_search_business kombinieren, um Urheber von Vorstössen zu identifizieren.
|
| parlament_get_votesB | Parlamentarische Abstimmungen (im Rat) mit Ja/Nein-Bedeutung abrufen. Zeigt, wie der Rat über Themen wie KI-Regulierung, Bildungsfinanzierung oder Digitalisierungsprojekte abgestimmt hat.
|
| parlament_get_sessionsA | Aktuelle parlamentarische Sessionen mit Daten auflisten. Session-IDs aus dieser Liste zum Filtern von Abstimmungen oder Transkripten verwenden. Session-Namen können für sehr aktuelle Sessionen |
| parlament_search_transcriptsA | Wörtliche Wortmeldungen aus den Ratsdebatten durchsuchen (Amtliches Bulletin). Liefert kurze, zitierfähige Auszüge (kein Volltext) mit korrekter
AB-Zitation und stabiler Quell-URL. Für den Wortlaut eines einzelnen Votums
danach «Was hat Nationalrätin X in der Frühjahrssession 2024 zur Volksschule gesagt?» – Sprecher, Session, Rat, Geschäft oder Datumsfenster kombinieren. Synergie mit fedlex-mcp: vom Gesetzestext zur Debatte. Nur echte Wortmeldungen (keine Abstimmungszeilen). Der
speaker_name='Munz', session_id=5202, keyword='Volksschule' |
| parlament_get_transcriptA | Den vollen Wortlaut eines einzelnen Votums nach Transkript-ID abrufen. Nach einer Suche mit parlament_search_transcripts den kompletten Wortlaut eines konkreten Votums holen – zitierfähig, mit stabiler URL. Ausgabe ist gedeckelt ( |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct resource and action: search vs. get, and business/transcripts/members/votes/sessions are clearly separated. The two search tools return different entity types, and the two get tools are distinguished by ID and purpose.
All tool names follow a consistent verb_noun pattern with 'search_' for queries and 'get_' for retrievals. No mixed conventions or vague verbs.
Seven tools cover the core parliamentary data domain without bloat. Each tool has a clear, non-redundant role, and the count is within the ideal 3-15 range.
The set covers search and retrieval for proposals, transcripts, members, votes, and sessions, which are the main entities. Minor gaps include no direct get_member by ID and no committee data, but agents can work around these with search_members and get_votes.