MCP server for Swedish statutes (SFS) via Riksdagen open data with verifiable citations.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Published on PyPI + MCP Registry (io.github.matematicsolutions/se-eli-mcp). Run without cloning:
Configure your MCP client (stdio):
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the se-eli-mcp.exe launcher that pip writes at install time. The python.exe and
py.exe from the python.org installer are signed by the Python Software
Foundation, so running the module through the interpreter works:
pip.exe is blocked for the same reason, so install with python -m pip, not
pip install. If python is not on PATH, use the Windows launcher: py -3 -m se_eli_mcp.
Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Building from source: see Install.
An MCP server for Swedish statutes (SFS, Svensk författningssamling), served as open data
by the Riksdagen (parliament) at data.riksdagen.se (keyless). It gives an AI agent the
consolidated text of an act with a verifiable citation: a persistent identifier, a
human-readable citation, and a link to the official source.
Part of the eu-legal-mcp line by MateMatic — one connector per EU member state, the same citation contract everywhere.
On ELI. Sweden does not publish native ELI (
/eli/) URIs. To keep the line's contract honest,eli_uricarries the official persistent document identifier instead — thedata.riksdagen.se/dokumentURI (e.g.https://data.riksdagen.se/dokument/sfs-2018-218). The SFS number (2018:218) is the canonical Swedish citation. The connector never fabricates an/eli/URI and says so in its tool instructions. SeeDISCOVERY.md.
| Tool | What it does |
|---|---|
se_search(query) | Free-text search over SFS statutes (title and full text). Returns acts, each with the citation contract. |
se_get_act(sfs_number) | Metadata for one act by its SFS number (e.g. 2018:218) — title, authority, date, consolidation marker. |
se_get_text(sfs_number) | The full consolidated plain text of one act. |
se_coverage() | Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |
Every response carries the citation contract:
eli_uri — the official persistent identifier (document URI; see the ELI note above).human_readable_citation — the act title, which embeds the SFS number, e.g. Lag (2018:218) med kompletterande bestämmelser till EU:s dataskyddsförordning.source_url — the browsable data.riksdagen.se page for the act.consolidated_through — the last amendment folded into the text (the "ändrad t.o.m." marker).Register it with your MCP client (see .mcp.json.example):
~/.matematic/audit/se-eli-mcp.jsonl
(AI Act art. 12 record-keeping).See CONSTITUTION.md (the 4 principles) and DISCOVERY.md (how the source was mapped).
Apache-2.0. The Swedish legislation served is official public data of the Kingdom of Sweden; this connector adds no rights over it.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/se-eli-mcp)<a href="https://allmcps.com/mcp/se-eli-mcp"><img src="https://allmcps.com/api/badge/se-eli-mcp?style=directory" alt="Se Eli MCP on AllMCPs" /></a>