Riksdag & Regering MCP

io.github.KSAklfszf921Published by GitHub account KSAklfszf921v2.0.1Updated Nov 2, 2026

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

VerifiedStreamable HTTPWeb executableKnowledge & MemoryData & Analytics

Overview

AI-generated overview

MCP server giving assistants access to Swedish Parliament and Government Offices open data, documents, speeches and votes via about 30 tools.

What you can do
  • Look up members of parliament, their activities and assignments
  • Search and retrieve parliamentary documents such as motions and written questions
  • Follow chamber speeches and debates
  • Check how members voted in divisions
  • Retrieve government documents such as SOU reports, bills and press releases
  • Cross-reference parliamentary and government material for analysis
When to use it
Useful when you need Swedish political source material: tracking voting patterns, comparing parties, analysing member activity, or cross-referencing parliament and government documents in a conversation.
Requirements
Runs as a remote endpoint or locally via npx (Node.js 20+). Optional SUPABASE_URL and SUPABASE_ANON_KEY default to a public instance. Network access to the Riksdagen open API and g0v.se is needed.
Before you install
The optional Supabase settings accept a project URL and an anonymous key; only supply your own if you intend to point at a private instance. Data comes from third-party open sources (data.riksdagen.se and g0v.se), so accuracy and availability depend on them. The server is read-only in purpose but the README's tool count differs from the registry description.

Installation

In SourceWeft

  1. Open Riksdag & Regering MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.KSAklfszf921%2Friksdag-regering-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "riksdag-regering": {
      "type": "http",
      "url": "https://riksdag-regering-ai.onrender.com/mcp"
    }
  }
}

README

[Skärmavbild 2025-11-20 kl 09 01 01]

Riksdag & Regering MCP-server

[MCP Registry] [MCP Protocol] [License: MIT]

🇺🇸 Open-source MCP-server for local self-hosting. Enables LLMs to query and retrieve real-time open data, documents, protocols, and records from accessible API:s and open databases from the Parliament and Government Offices of Sweden.

🇸🇪 MCP-server som ger LLMs möjlighet att söka, hitta och extrahera öppen data och information från Riksdagen och Regeringskansliet. Ansluten till samtliga öppna API:er från Riksdagen och nyttjar g0v.se för att tillgå data från Regeringskansliet.


📊 Översikt

Totalt antal tools: 32

MCP-servern exponerar 32 specialiserade verktyg för att hämta data och underlag, som exempelvis:

  • Ledamöter – Information, aktiviteter, uppdrag m.m.
  • Riksdagsdokument – Motioner, skriftliga frågor m.m.
  • Anföranden – Följ vad som sagts i kammaren m.m.
  • Voteringar – Så röstar ledamöterna
  • Regeringsdokument – Ex. SOU, propositioner, pressmeddelanden

Datakällor


Snabbstart

📦 Alternativ 1: npm (rekommenderat)

Lägg till följande i din Claude Desktop-config (~/Library/Application Support/Claude/claude_desktop_config.json på macOS):

json
{  "mcpServers": {    "riksdag-regering": {      "command": "npx",      "args": ["-y", "@isak.skogstad/riksdag-regering-mcp"]    }  }}

Starta om Claude Desktop. npx hämtar och kör senaste versionen automatiskt.


💻 Alternativ 2: Installation från källkod

bash
# Klona repositorygit clone https://github.com/isakskogstad/Riksdag-Regering-MCP.gitcd Riksdag-Regering-MCP
# Installera dependenciesnpm run mcp:install
# Bygg servernnpm run mcp:build

Konfiguration:

json
{  "mcpServers": {    "riksdag-regering": {      "command": "node",      "args": ["/absolut/sökväg/till/Riksdag-Regering-MCP/mcp/dist/index.js"]    }  }}

📖 Användningsområden

För policynörden

  • Spåra voteringsmönster över partier
  • Analysera ledamöters aktivitet och engagemang

För den nyfikkne

  • Korsreferera riksdags- och regeringsdokument
  • Hitta relevanta anföranden och debatter

För konspiratören

  • Tidsserieanalys av parlamentarisk aktivitet
  • Partijämförelser och koalitionsanalys

För vibekodaren

  • Utöka LLM:er med svensk politisk data
  • Bygg konversationsgränssnitt för medborgardata

Teknisk Stack

  • Runtime: Node.js 20+ med ESM
  • Språk: TypeScript 5.0+
  • MCP SDK: @modelcontextprotocol/sdk ^0.5.0
  • HTTP Server: Express.js 4.x
  • Datakällor: Riksdagens öppna API + g0v.se
  • Validering: Zod 3.x
  • Logging: Winston 3.x

Licens

MIT License - Se LICENSE för detaljer.


Erkännanden

  • g0v.se - Tack till Pierre för din insats med g0v.se

📞Support

Kontakt

Source: README.md at commit 32ceae4

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v2.0.1LatestSep 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.