Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"se-eli-mcp": {
"args": [
"se-eli-mcp"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Opublikowany na PyPI + MCP Registry (io.github.matematicsolutions/se-eli-mcp). Uruchomienie bez klonowania:
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'se-eli-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked se-eli-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
Query 750+ Swedish statutes, EU cross-references, case law, and preparatory works
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
MCP Security Weekly
Get CVE alerts and security updates for io.github.matematicsolutions/se-eli-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Opublikowany na PyPI + MCP Registry (io.github.matematicsolutions/se-eli-mcp). Uruchomienie bez klonowania:
uvx se-eli-mcp
Konfiguracja klienta MCP (stdio):
{ "mcpServers": { "se-eli-mcp": { "command": "uvx", "args": ["se-eli-mcp"] } } }
(Budowanie ze źródeł — niżej.)
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. |
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).pip install -e ".[dev]"
Register it with your MCP client (see .mcp.json.example):
{
"mcpServers": {
"se-eli-mcp": {
"command": "se-eli-mcp",
"env": {
"SE_ELI_BASE_URL": "https://data.riksdagen.se",
"SE_ELI_CACHE_DIR": "~/.matematic/cache/se-eli",
"SE_ELI_AUDIT_DIR": "~/.matematic/audit"
}
}
}
}
~/.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).
pytest tests/test_instructions_drift.py tests/test_parse.py # offline
pytest tests/test_smoke.py # live Riksdagen API
Apache-2.0. The Swedish legislation served is official public data of the Kingdom of Sweden; this connector adds no rights over it.