Riksdag & Regering MCP

Svenska Riksdagens och Regeringskansliets öppna data - 27 verktyg för politik, dokument och analys

Sollte ich dies verwenden

Qualität und Sicherheit

B
Qualität der Beschreibung
58%
Vollständigkeit des Schemas
78%
Qualität der Benennung
99%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (25)

  • LOWTool 'search_ledamoter' description lacks action verbin search_ledamoter
  • LOWTool 'search_dokument' description lacks action verbin search_dokument
  • LOWTool 'search_dokument_fulltext' description lacks action verbin search_dokument_fulltext
  • LOWTool 'search_anforanden' description lacks action verbin search_anforanden
  • LOWTool 'search_voteringar' description lacks action verbin search_voteringar
  • LOWTool 'search_regering' description lacks action verbin search_regering
  • LOWTool 'analyze_g0v_by_department' description lacks action verbin analyze_g0v_by_department
  • LOWTool 'get_dokument' description lacks action verbin get_dokument
  • LOWTool 'get_ledamot' description lacks action verbin get_ledamot
  • LOWTool 'get_motioner' description lacks action verbin get_motioner

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~4,402Tokens (Tool-Definitionen)
~1.2 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (3.44% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "riksdag-regering-mcp": {
      "command": "npx",
      "args": [
        "riksdag-regering-mcp"
      ]
    }
  }
}

Ausführbare Pakete

npmriksdag-regering-mcp2.0.1stdio

Remote-Endpunkte

https://riksdag-regering-ai.onrender.com/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (32)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢search_ledamoter(namn, parti, valkrets, status, intressent_id, ...)

Sök efter ledamöter i Riksdagen

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "namn": {
      "type": "string",
      "description": "Namn att söka efter (förnamn eller efternamn)"
    },
    "parti": {
      "type": "string",
      "description": "Parti (t.ex. S, M, SD, V, MP, C, L, KD)"
    },
    "valkrets": {
      "type": "string",
      "description": "Valkrets"
    },
    "status": {
      "type": "string",
      "description": "Status (tjänstgörande, tjänstledig, etc.)"
    },
    "intressent_id": {
      "type": "string",
      "description": "Ledamots-ID"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "default": 1,
      "description": "Sida för paginering"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_dokument(titel, doktyp, typ, subtyp, rm, ...)

Sök efter riksdagsdokument

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "titel": {
      "type": "string",
      "description": "Titel eller fritext att söka efter"
    },
    "doktyp": {
      "type": "string",
      "description": "Dokumenttyp (t.ex. mot, prop, bet, skr)"
    },
    "typ": {
      "type": "string",
      "description": "Huvudtyp för dokumentet"
    },
    "subtyp": {
      "type": "string",
      "description": "Undertyp"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte (t.ex. 2024/25)"
    },
    "organ": {
      "type": "string",
      "description": "Organ (t.ex. KU, FiU, UU)"
    },
    "bet": {
      "type": "string",
      "description": "Beteckning (t.ex. AU10)"
    },
    "tempbeteckning": {
      "type": "string",
      "description": "Temporär beteckning"
    },
    "nummer": {
      "type": "string",
      "description": "Dokumentnummer"
    },
    "iid": {
      "type": "string",
      "description": "Ledamots-ID"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "talare": {
      "type": "string",
      "description": "Talare"
    },
    "mottagare": {
      "type": "string",
      "description": "Mottagare"
    },
    "status": {
      "type": "string",
      "description": "Status (planerat, antaget etc.)"
    },
    "subtitle": {
      "type": "string",
      "description": "Undertitel"
    },
    "relaterat_id": {
      "type": "string",
      "description": "Relaterat dokument-ID"
    },
    "avd": {
      "type": "string",
      "description": "Avdelning"
    },
    "webbtv": {
      "type": "boolean",
      "description": "Hitta dokument med webbtv"
    },
    "exakt": {
      "type": "boolean",
      "description": "Kräv exakt matchning"
    },
    "planering": {
      "type": "boolean",
      "description": "Inkludera planeringsdata"
    },
    "facets": {
      "type": "string",
      "description": "Facetteringar"
    },
    "rapport": {
      "type": "string",
      "description": "Rapporttyp (rdlstat etc.)"
    },
    "sort": {
      "type": "string",
      "description": "Sorteringsordning"
    },
    "sortorder": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sorteringsriktning"
    },
    "from_date": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "to_date": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_dokument_fulltext(query, limit)

Fulltextsök i dokument

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "description": "Text att söka efter"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat (ökad från 20 till 50)"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_anforanden(talare, parti, debattnamn, text, rm, ...)

Sök efter anföranden

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "talare": {
      "type": "string",
      "description": "Talare att söka efter"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "debattnamn": {
      "type": "string",
      "description": "Debattnamn"
    },
    "text": {
      "type": "string",
      "description": "Text att söka i anförandet"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Max antal resultat"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_voteringar(rm, bet, punkt, iid, parti, ...)

Sök efter voteringar och röster

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "bet": {
      "type": "string",
      "description": "Beteckning"
    },
    "punkt": {
      "type": "string",
      "description": "Punkt"
    },
    "iid": {
      "type": "string",
      "description": "Ledamots-ID"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "valkrets": {
      "type": "string",
      "description": "Valkrets"
    },
    "rost": {
      "type": "string",
      "description": "Röst (Ja, Nej, Avstår, Frånvarande)"
    },
    "avser": {
      "type": "string",
      "description": "Vad voteringen avser"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 20
    },
    "groupBy": {
      "type": "string",
      "enum": [
        "parti",
        "valkrets",
        "namn"
      ],
      "description": "Vill du gruppera resultatet?"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_regering(title, departement, type, dateFrom, dateTo, ...)

Sök i Regeringskansliets dokument via g0v.se

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Titel att söka efter"
    },
    "departement": {
      "type": "string",
      "description": "Departement"
    },
    "type": {
      "type": "string",
      "description": "Dokumenttyp (t.ex. pressmeddelanden, propositioner, sou, ds, dir, remisser, regeringsuppdrag, rapporter, tal, debattartiklar, uttalanden, artiklar)"
    },
    "dateFrom": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "dateTo": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 10,
      "description": "Max antal resultat (default: 10 för att minska response-storlek)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_g0v_document_types

Hämta en lista över tillgängliga dokumenttyper från Regeringskansliet (via g0v.se)

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_g0v_category_codes

Hämta en lista över kategorikoder från Regeringskansliet (via g0v.se)

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡get_g0v_latest_update

Hämta information om senaste uppdateringen från Regeringskansliet (via g0v.se)

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_g0v_document_content(regeringenUrl)

Hämta innehållet i ett specifikt dokument från Regeringskansliet (via g0v.se) i Markdown-format

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "regeringenUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the document on regeringen.se to fetch its Markdown content from g0v.se."
    }
  },
  "required": [
    "regeringenUrl"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢analyze_g0v_by_department(dateFrom, dateTo)

Analysera dokument från Regeringskansliet (via g0v.se) per departement

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dateFrom": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "dateTo": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_dokument(dok_id, include_full_text)

Hämta detaljer om ett specifikt riksdagsdokument

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dok_id": {
      "type": "string",
      "minLength": 2,
      "description": "Dokument ID, t.ex. H901FiU1"
    },
    "include_full_text": {
      "type": "boolean",
      "default": false,
      "description": "Inkludera fulltext (kan vara mycket stor data)"
    }
  },
  "required": [
    "dok_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_ledamot(intressent_id)

Hämta detaljer om en ledamot

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "intressent_id": {
      "type": "string",
      "description": "Ledamotens intressent ID"
    }
  },
  "required": [
    "intressent_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_motioner(rm, limit)

Senaste motionerna

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_propositioner(rm, limit)

Senaste propositionerna

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_betankanden(rm, organ, limit)

Senaste betänkandena

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "organ": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_fragor(rm, limit)

Skriftliga frågor

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_interpellationer(rm, limit)

Interpellationer

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_utskott

Lista kända utskott

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_regering_document(document_id, type)

Hämta regeringsdokument (alla typer: pressmeddelanden, propositioner, SOU, etc.)

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "ID eller URL-del för dokumentet"
    },
    "type": {
      "type": "string",
      "enum": [
        "pressmeddelanden",
        "propositioner",
        "sou",
        "ds",
        "dir",
        "remisser",
        "regeringsuppdrag",
        "rapporter",
        "tal",
        "debattartiklar",
        "uttalanden",
        "artiklar"
      ],
      "description": "Dokumenttyp (om känd). Om inte angiven, söks i alla typer."
    }
  },
  "required": [
    "document_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪summarize_regering_document(document_id, type, max_length)

Sammanfatta regeringsdokument (alla typer)

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "ID eller URL-del för dokumentet"
    },
    "type": {
      "type": "string",
      "enum": [
        "pressmeddelanden",
        "propositioner",
        "sou",
        "ds",
        "dir",
        "remisser",
        "regeringsuppdrag",
        "rapporter",
        "tal",
        "debattartiklar",
        "uttalanden",
        "artiklar"
      ],
      "description": "Dokumenttyp (om känd)"
    },
    "max_length": {
      "type": "number",
      "default": 500,
      "description": "Max längd på sammanfattning"
    }
  },
  "required": [
    "document_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_dokument_innehall(dok_id, include_full_text)

Hämta dokumentinnehåll och sammanfattning

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dok_id": {
      "type": "string",
      "description": "Dokument ID"
    },
    "include_full_text": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "dok_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_paginated_documents(doktyp, sok, rm, page, pageSize, ...)

Paginerad hämtning av dokument

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "doktyp": {
      "type": "string",
      "description": "Dokumenttyp (mot, prop, bet, etc.)"
    },
    "sok": {
      "type": "string",
      "description": "Sökterm"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte (t.ex. 2024/25)"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "maximum": 10000,
      "default": 1,
      "description": "Sidnummer (1-indexerad)"
    },
    "pageSize": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Antal resultat per sida"
    },
    "fetchAll": {
      "type": "boolean",
      "default": false,
      "description": "Hämta alla sidor (varning: kan vara långsamt!)"
    },
    "maxPages": {
      "type": "number",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Max antal sidor att hämta om fetchAll=true"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_paginated_anforanden(sok, talare, parti, rm, page, ...)

Paginerad hämtning av anföranden

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "sok": {
      "type": "string",
      "description": "Sökterm i anförande-text"
    },
    "talare": {
      "type": "string",
      "description": "Talarens namn"
    },
    "parti": {
      "type": "string",
      "description": "Parti"
    },
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "page": {
      "type": "number",
      "minimum": 1,
      "maximum": 10000,
      "default": 1,
      "description": "Sidnummer"
    },
    "pageSize": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 100,
      "description": "Antal per sida"
    },
    "fetchAll": {
      "type": "boolean",
      "default": false,
      "description": "Hämta alla sidor"
    },
    "maxPages": {
      "type": "number",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Max antal sidor"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢batch_fetch_documents(doktyp, riksmoten, maxPerRiksmote)

Batch-hämta dokument för flera riksmöten

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "doktyp": {
      "type": "string",
      "description": "Dokumenttyp"
    },
    "riksmoten": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Lista av riksmöten"
    },
    "maxPerRiksmote": {
      "type": "number",
      "minimum": 1,
      "maximum": 300,
      "default": 100,
      "description": "Max dokument per riksmöte"
    }
  },
  "required": [
    "doktyp",
    "riksmoten"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_calendar_events(from, tom, akt, org, limit, ...)

Hämta kalenderhändelser

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Från datum (YYYY-MM-DD)"
    },
    "tom": {
      "type": "string",
      "description": "Till datum (YYYY-MM-DD)"
    },
    "akt": {
      "type": "string",
      "description": "Aktivitetstyp eller kombinationskod"
    },
    "org": {
      "type": "string",
      "description": "Organ (UTSK, kammaren etc.)"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 500,
      "default": 200
    },
    "sort": {
      "type": "string",
      "description": "Sorteringsordning (t.ex. \"DTSTART\")"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_voting_group(rm, bet, punkt, groupBy, limit)

Hämta voteringar grupperade per parti/valkrets

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "rm": {
      "type": "string",
      "description": "Riksmöte"
    },
    "bet": {
      "type": "string",
      "description": "Beteckning"
    },
    "punkt": {
      "type": "string",
      "description": "Punkt"
    },
    "groupBy": {
      "type": "string",
      "enum": [
        "parti",
        "valkrets",
        "namn"
      ],
      "description": "Grupperingsnivå"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 500,
      "default": 200
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_reports

Lista tillgängliga rapporter

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢fetch_report(report, limit)

Hämta en rapport (HTML/JSON)

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "report": {
      "type": "string",
      "enum": [
        "ledamotsstatistik",
        "kontaktutskott",
        "aldersstatistik",
        "konstatsstatistik",
        "mandatperiod",
        "diarium"
      ]
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 500,
      "default": 200
    }
  },
  "required": [
    "report"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢enhanced_government_search(query, limit, regeringenLimit, includeRegeringen)

Kombinerad sökning i Riksdagen och Regeringen

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "description": "Sökterm som används mot alla källor"
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Max antal resultat per kategori (Riksdagen dokument/anföranden)"
    },
    "regeringenLimit": {
      "type": "number",
      "minimum": 1,
      "maximum": 20,
      "default": 5,
      "description": "Max antal resultat per regeringskategori (för att begränsa response-storlek)"
    },
    "includeRegeringen": {
      "type": "boolean",
      "default": true,
      "description": "Inkludera resultat från Regeringskansliet"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_sync_status

Visa enklare status för datakällor

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_data_dictionary(dataset)

Visa dataset och fältbeskrivningar

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "description": "Valfritt dataset-ID att filtrera på"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet32 Tools
verifiziertVersion nicht aufgezeichnet32 Tools