MCP server for the Slovak Collection of Laws (Zbierka zakonov) via static.slov-lex.sk - Slovak legislation with national ELI identifiers and verifiable citations.
Project description
sk-eli-mcp
An MCP server for the Slovak Collection of Laws (Zbierka zákonov) via static.slov-lex.sk, the JavaScript-free static mirror of the Slov-lex portal. It fetches Slovak legislation and its consolidated versions, with verifiable citations.
Part of the MateMatic eu-legal-mcp production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR,
LU, DK, CZ, HR and LT. Same citation contract, Slov-lex source. Slovakia implements ELI (Pillar I).
Scope. This MVP lists an act's consolidated versions, returns metadata, and fetches the full text of a version. Acts are addressed by year + number; the portal is path-based, not keyword search. Coverage 1918-present. Language: Slovak. Every response carries a
dataset_note.ELI is national (Pillar I), not data.europa.eu. The static pages carry no machine-readable ELI metadata, so
eli_uriis the canonical Slov-lex URL (slov-lex.sk/pravne-predpisy/SK/ZZ/{year}/{number}), the stable national identifier. Full text is served from thestatic.slov-lex.skmirror (source_url). Every response carries aneli_note.Text is extracted from the official HTML. Slov-lex serves the consolidated text as HTML;
sk_get_textextracts the plain text from the act container.
The tools
| Tool | What it does |
|---|---|
sk_get_versions |
List an act's consolidated versions (effective dates, amending act). |
sk_get_act |
Metadata for an act by year + number, plus the current in-force version. |
sk_get_text |
Full text of an act version (default: the current in-force version). |
Every response carries the contract: eli_uri (the Slov-lex URL, e.g.
https://www.slov-lex.sk/pravne-predpisy/SK/ZZ/2018/18/), human_readable_citation
(e.g. č. 18/2018 Z. z.), and source_url.
Install
Run it with no install step (once published to PyPI):
uvx sk-eli-mcp
Or from source:
cd sk-eli-mcp
pip install -e .
Configure (Claude Code / any MCP client)
{
"mcpServers": {
"sk-eli-mcp": { "command": "sk-eli-mcp" }
}
}
Environment:
SK_ELI_BASE_URL- defaulthttps://static.slov-lex.skSK_ELI_CACHE_DIR- default~/.matematic/cache/sk-eliSK_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. The Slov-lex static mirror is keyless.
Governance
- Public data only - read-only against Slov-lex; no client data leaves the machine.
- Audit log - every tool call appends one JSON line to
~/.matematic/audit/sk-eli-mcp.jsonl. - Vendor-neutral - talks only to
static.slov-lex.sk; no LLM provider, no telemetry. - Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py tests/test_parse.py -v # offline
pytest tests/test_smoke.py -v # hits live Slov-lex
Licence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sk_eli_mcp-0.1.1.tar.gz.
File metadata
- Download URL: sk_eli_mcp-0.1.1.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40043c4cd59d3ca3cf00ec7b4b44a4e1c29b5f60fd67902d1046e4f684c5e82c
|
|
| MD5 |
b1af126fabeb2713fd646b3c4be5b8b3
|
|
| BLAKE2b-256 |
2d4a51d7c623e6e909f8756291c29261581dffe97c856720465affb9cd32bc63
|
File details
Details for the file sk_eli_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sk_eli_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03adc5a3811abca6a271c50e0bba131693b1cb0784bf25b7dff70f6b318b4d4d
|
|
| MD5 |
dcf1334cf6151138f1706f2ef51c6045
|
|
| BLAKE2b-256 |
a91a120eeef60bde3bd1fd4e510edd5f13dc39be559d750c605e4b91af4de9c2
|