Riksdag & Regering MCP
Enables LLMs to query and retrieve real-time open data, documents, protocols, and records from the Swedish Parliament (Riksdag) and Government Offices through 32 specialized MCP tools.
README
<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
đșđž 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
- Riksdagen: data.riksdagen.se - Officiellt öppet API
- Regeringen: g0v.se - Ăppen data frĂ„n Regeringskansliet
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
- Email: isak.skogstad@me.com
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.