Back to Home
isakskogstad icon

Riksdag-Regering-MCP

Verified Safe

by isakskogstad

Overview

Provides LLMs with real-time access to open data, documents, and records from the Swedish Parliament (Riksdagen) and Government Offices (Regeringskansliet) via their public APIs.

Installation

Run Command
npx riksdag-regering-mcp --http --port 3000

Environment Variables

  • API_KEY
  • RIKSDAG_USER_AGENT
  • PORT
  • NODE_ENV
  • LOG_LEVEL

Security Notes

The server is stateless, fetches data directly from trusted public APIs (data.riksdagen.se, g0v.se), and employs Zod for input validation and `express-rate-limit` for request limiting. CORS is open by default, requiring configuration for public deployments to restrict client domains. There are no hardcoded secrets or usage of dangerous functions like `eval`.

Similar Servers

Stats

Interest Score52
Security Score9
Cost ClassMedium
Avg Tokens5000
Stars18
Forks0
Last Update2025-12-02

Tags

mcpriksdagenregeringenopen-dataparliament