Sweden Law
liveLegalDeveloperSweden law -- Svensk forfattningssamling (SFS, the Swedish Code of Statutes), as published by the Riksdag in its open data.
Tools
se_law_searchSearch 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
No parameters required.
Try it
se_law_getFetch 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,
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/sweden-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/sweden-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"se_law_search","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("se_law_search", {});// Or ask in plain English:
const answer = await px.ask("sweden law -- svensk forfattningssamling (sfs, the swedish code of statutes), as published by the riksdag in its open data");