@pipeworx/sweden-law

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/sweden-law’s. Install: one-click buttons

Connect to just the @pipeworx/sweden-law pack

https://gateway.pipeworx.io/sweden-law/mcp — only @pipeworx/sweden-law’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 2

Swedish national legislation: search the Svensk forfattningssamling (SFS, the Swedish Code of Statutes) by word, and fetch one statute or a single section, with the SFS citation, the repeal status the source states, and how far the consolidated text is amended.

Tools

  • se_law_search(query, include_repealed?, year_from?, year_to?) — statutes matching a Swedish word, best matches first (a word in the title ranks first). Returns SFS number, title, issue date, ministry, repealed flag, amended-through marker and link. Repealed statutes are hidden unless include_repealed=true.
  • se_law_get(id, section?, max_chars?) — one statute by SFS number (“2018:218”), text in Swedish. section (“5”, “3 a” or “2:1” for chapter 2 section 1) returns a single section.

Auth

Keyless.

Data sources

  • Sveriges riksdag, Svensk forfattningssamling (SFS), open data. Live call per request, nothing stored.

The source states whether a statute is repealed (with the repeal date and the repealing act) and up to which amending act the text is consolidated (“t.o.m. SFS …”). It states no positive in-force flag, so none is derived: repealed: false means the Riksdag marks no repeal, nothing more. Scheduled changes appear inside the text as the Riksdag’s own marker lines (“/Träder i kraft I:2027-01-01/”); a section with such a change returns every version. The text is the Riksdag’s consolidated text, not the government’s authoritative publication.

Tools

  • se_law_search — Search Swedish national legislation (Svensk forfattningssamling, SFS: laws, ordinances and balkar) by word, in Swedish, e.g. “dataskydd” or “arbetsmiljo”. Matches the whole text of each statute, ranke
  • se_law_get — Fetch one Swedish statute by its SFS number “year:number”, e.g. “2018:218” (the Act with supplementary provisions to the EU Data Protection Regulation); “SFS 2018:218” is accepted too. Returns title,

Tools

  • se_law_get — Fetch one Swedish statute by its SFS number year:number , e.g. 2018:218 (the Act with supplementary provisions to the EU Data Protection Regulation); SFS 2018:218 is accepted too. Returns title, SFS c
  • se_law_search — Search Swedish national legislation (Svensk forfattningssamling, SFS: laws, ordinances and balkar) by word, in Swedish, e.g. dataskydd or arbetsmiljo . Matches the whole text of each statute, ranked b

Regenerated from source · build November 15, 2026