Sk Eli Mcp

io.github.matematicsolutions由 GitHub 账号 matematicsolutions 发布v0.3.3更新于 Oct 24, 2026

MCP server for Slovak legislation (Slov-lex) with ELI and verifiable citations.

概览

AI 生成的概览

从 Slov-lex 静态镜像获取斯洛伐克法律,返回法案元数据、合并版本和全文,并提供可核验的引注。

可以做什么
它提供四个只读工具来查询斯洛伐克法律。sk_get_versions 列出一个法案的合并版本,包括生效日期和修订法案;sk_get_act 按年份和编号返回法案元数据以及当前生效版本;sk_get_text 返回某个版本的全文,默认返回当前生效版本;sk_coverage 说明该连接器覆盖什么、明确不覆盖什么,并为每个缺口给出替代方案。每个响应都带有 eli_uri、人类可读引注、source_url,以及数据集说明和 ELI 说明。
适用场景
当助手需要斯洛伐克法规或合并法律文本,并需要可对照来源核验的引注时,适合使用。它适用于法律研究、合规问题以及依赖斯洛伐克法律的起草工作。它不是关键词搜索引擎:法案必须按年份和编号来定位。
运行要求
作为 Python 包通过 stdio 在本地运行,用 uvx sk-eli-mcp 或 python -m sk_eli_mcp 启动。需要 Python 以及访问 static.slov-lex.sk 的网络连接;首次使用时还会从该项目的 GitHub Releases 获取一个小型配置文件。不需要 API 密钥。可选环境变量:SK_ELI_BASE_URL、SK_ELI_CACHE_DIR、SK_ELI_AUDIT_DIR,以及用于关闭配置获取的 SK_ELI_RUNTIME_URL。
安装前请注意
对 Slov-lex 为只读,不会向来源发送客户端数据。每次工具调用都会向 ~/.matematic/audit/sk-eli-mcp.jsonl 的审计日志追加一行 JSON。首次使用时服务器会访问 GitHub Releases 获取配置文件;将 SK_ELI_RUNTIME_URL 设为空值可将其关闭。在 Windows 11 上,Smart App Control 可能阻止 uvx.exe、pip.exe 等未签名启动程序;不要为绕过此限制而将其关闭。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Sk Eli Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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_uri is the canonical Slov-lex URL (slov-lex.sk/pravne-predpisy/SK/ZZ/{year}/{number}), the stable national identifier. Full text is served from the static.slov-lex.sk mirror (source_url). Every response carries an eli_note.

Text is extracted from the official HTML. Slov-lex serves the consolidated text as HTML; sk_get_text extracts the plain text from the act container.

The tools

ToolWhat it does
sk_get_versionsList an act's consolidated versions (effective dates, amending act).
sk_get_actMetadata for an act by year + number, plus the current in-force version.
sk_get_textFull text of an act version (default: the current in-force version).
sk_coverageDeclare 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 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

As a Claude plugin (Claude Code or the desktop app, needs uv); see plugin/README.md for what it sends and stores:

/plugin marketplace add matematicsolutions/sk-eli-mcp/plugin install sk-eli-mcp@sk-eli-mcp

As a standalone server, from PyPI:

bash
uvx sk-eli-mcp

Or from source:

bash
cd sk-eli-mcppip install -e .

Configure (Claude Code / any MCP client)

json
{  "mcpServers": {    "sk-eli-mcp": { "command": "sk-eli-mcp" }  }}

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the sk-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:

bash
python -m pip install sk-eli-mcppython -m sk_eli_mcp

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 sk_eli_mcp.

json
{ "mcpServers": { "sk-eli-mcp": { "command": "python", "args": ["-m", "sk_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Environment:

  • SK_ELI_BASE_URL - default https://static.slov-lex.sk
  • SK_ELI_CACHE_DIR - default ~/.matematic/cache/sk-eli
  • SK_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.
  • Network - the server talks to static.slov-lex.sk and the local filesystem. Once, on first use, it also fetches a small configuration file (sk-runtime.json.gz, updated source addresses) from this repository's GitHub Releases. That request carries no query content; GitHub's download counter for the file is the only usage signal we see. SK_ELI_RUNTIME_URL="" turns it off; the Claude plugin ships with it off. No LLM provider, no other telemetry.
  • Verifiable citations - every response is independently checkable via source_url.

See CONSTITUTION.md and DISCOVERY.md.

Tests

bash
pip install -e ".[dev]"pytest tests/test_instructions_drift.py tests/test_parse.py -v   # offlinepytest tests/test_smoke.py -v                                    # hits live Slov-lex

Licence

Apache-2.0. © Matematic Solutions / Wieslaw Mazur.

来源:README.md,提交 743b0c8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分