- Home
- MCP servers
- Riksdag & Regering
Riksdag & Regering
- typescript
22
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run this MCP server locally or remotely to empower your LLMs to query real-time open data from the Swedish Parliament and Government Offices. It exposes structured tools that fetch documents, decisions, and related records from official APIs and open data sources, enabling powerful, data-driven conversations with your models.
How to use
Choose a connection method first: use the remote MCP server for a hosted, always-updated experience, or run the server locally from source. The remote server is the simplest option and works with all MCP clients, while a local setup gives you full control over data and customization.
How to install
Prerequisites: you need Node.js 20+ and npm. If you plan to run the server from source, you will also need Git to clone the repository.
Step-by-step remote server setup (recommended)
Add the remote MCP server to your MCP client. Use the URL provided below to connect your preferred client and start querying data as soon as you add the server.
Step-by-step local installation from source
Clone the repository, install dependencies, build the server, and start it locally. This path gives you full control and offline capability after the initial setup.
Recommended commands for local installation
# Clone the repository
git clone https://github.com/KSAklfszf921/Riksdag-Regering.AI.git
cd Riksdag-Regering.AI
# Install dependencies
npm run mcp:install
# Build the MCP server
cd mcp
npm run build
# Start the server locally
npm start
Local STDIO configuration for Claude Desktop
If you are using Claude Desktop, configure the MCP server as a local STDIO process pointing to the built index file.
Explicit local STDIO example
{
"mcpServers": {
"riksdag-regering": {
"command": "node",
"args": ["/absolute/path/to/Riksdag-Regering.AI/mcp/dist/index.js"]
}
}
}
Available tools
Ledamöter
Fetch member information, activities, and assignments from the parliament data sources.
Riksdagsdokument
Retrieve bills, written questions, and other parliamentary documents.
Anföranden
Track statements delivered in debates or plenary sessions.
Voteringar
Query how members voted on motions and resolutions.
Regeringsdokument
Access government documents such as SOU, propositions, and press releases.