PluginBench
MCP Server
Maintained

Riksdag & Regering MCP MCP Server

io.github.KSAklfszf921/riksdag-regering-mcp

Access Swedish Parliament and Government open data with 32 specialized tools for political research and analysis.

RepositoryRegistry
How to choose

What this kind of tool is for

  • Let your agent search the web or a document set and cite what it found.
  • Pull structured facts out of pages instead of copy-pasting by hand.
  • Track changes on a topic over days without re-reading everything.

How to compare servers like this

Source coverage:
Check which engines, sites, or document types the tool can actually reach.
Citation behavior:
Prefer tools that return links you can open, not just summarized claims.
Terms of service:
Some sources forbid automated access; make sure the tool stays inside them.
Maintenance signal:
Scrapers break silently when pages change; recent commits are the best proxy.

This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.

What is the Riksdag & Regering MCP MCP server?

The Riksdag & Regering MCP server enables LLMs to query and retrieve real-time open data, documents, protocols, and records from the Swedish Parliament (Riksdagen) and Government Offices (Regeringskansliet). It connects to official APIs from Riksdagen and g0v.se to provide comprehensive access to Swedish political information.

This MCP server exposes 32 specialized tools for accessing Swedish parliamentary and governmental data. You can track voting patterns, analyze legislator activity, retrieve parliamentary documents (motions, written questions), access speeches and debates, and explore government documents (SOU, propositions, press releases). It's useful for political research, policy analysis, citizen engagement, and building conversational interfaces around Swedish political data.

How to install Riksdag & Regering MCP

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • SUPABASE_URL

    Supabase project URL (optional - defaults to public instance)

  • SUPABASE_ANON_KEY
    secret

    Supabase anonymous key (optional - defaults to public instance)

~/Library/Application Support/Claude/claude_desktop_config.json
JSON config
{
  "mcpServers": {
    "riksdag-regering-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "riksdag-regering-mcp"
      ],
      "env": {
        "SUPABASE_URL": "<YOUR_SUPABASE_URL>",
        "SUPABASE_ANON_KEY": "<YOUR_SUPABASE_ANON_KEY>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • Members/Ledamöter — Retrieve information, activities, and assignments of Swedish Parliament members
  • Parliamentary Documents — Access motions, written questions, and other Riksdag documents
  • Speeches/Anföranden — Follow and retrieve speeches and statements made in the chamber
  • Voting Records/Voteringar — Access voting patterns and how legislators voted on specific issues
  • Government Documents — Retrieve government documents including SOU, propositions, and press releases

Use cases

  • Track voting patterns across political parties and analyze legislator behavior
  • Analyze parliamentary activity over time and compare party engagement
  • Cross-reference parliamentary and government documents to understand policy development
  • Find relevant speeches, debates, and statements on specific topics
  • Build conversational interfaces or dashboards for Swedish political data analysis

Riksdag & Regering MCP MCP server FAQ

What is the Riksdag & Regering MCP server?

It's an open-source MCP server that gives AI models access to 32 tools for querying Swedish Parliament and Government open data, including member information, documents, speeches, voting records, and government publications.

Is it free to use?

Yes, it's open-source under the MIT License and uses free public APIs from Riksdagen (data.riksdagen.se) and g0v.se.

How do I install it in Claude Desktop?

Add the server to your Claude Desktop config file with: `"command": "npx", "args": ["-y", "@isak.skogstad/riksdag-regering-mcp"]` and restart Claude.

Does it require authentication?

No, it uses publicly accessible open APIs from Riksdagen and g0v.se, so no authentication is required.

What data sources does it use?

It connects to data.riksdagen.se (official Parliament API) and g0v.se (open Government Offices data).

Can I self-host it?

Yes, you can install from source code using Node.js 20+ and configure it to run locally, or use the remote streamable-http endpoint at https://riksdag-regering-ai.onrender.com/mcp.

README (reference)

Source of truth, from the repository.

<img width="1360" height="497" alt="Skärmavbild 2025-11-20 kl 09 01 01" src="https://github.com/user-attachments/assets/2d1daf29-80f0-4404-b01a-4cc3705bcf69" />

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):

{
  "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

# Klona repository
git clone https://github.com/isakskogstad/Riksdag-Regering-MCP.git
cd Riksdag-Regering-MCP

# Installera dependencies
npm run mcp:install

# Bygg servern
npm run mcp:build

Konfiguration:

{
  "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

Related MCP servers

SKSkolverket MCP logo

Skolverket MCP

Maintained

Access Sweden's Skolverket open APIs for curriculum, schools, and adult education data through AI.

10
TypeScript
MIT
View repository →

Federal sales intelligence: expiring-contract triggers, agency spend intel, deal qualification.

Search Luogu problems, fetch statements, explore problem sets and get practice recommendations.

2
TypeScript
MIT
View repository →

Search 200+ API docsets in Dash directly from Claude and Cursor.

164
Python
MIT
View repository →

Access your KStreak notes, Knowledge Ledger, tasks & goals from Claude, ChatGPT, Cursor, or any MCP.

View repository →

Persistent engineering memory for AI coding agents. Survives refactors, knows when it is stale.

2
Rust
MIT
View repository →