Lt Eli Mcp

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

MCP server for Lithuanian legislation (TAR via data.gov.lt) with verifiable citations.

概览

AI 生成的概览

一个 MCP 服务器,让助手按标题检索立陶宛法规(TAR),获取法案元数据和立陶宛语全文,并附带可核验的引用。

可以做什么
按标题子串检索立陶宛法案,可按法案类型筛选,并依据 TAR 代码获取元数据、官方编号和引用信息。按 TAR 代码获取法案的立陶宛语全文。查询该连接器覆盖哪些内容、各法系何时采集,以及明确不覆盖的范围,每项缺口都附有替代方案。每个响应都带有引用契约,包括规范的 e-tar.lt 链接、可读引用和来源链接。
适用场景
适合助手需要从官方开放数据源查找、引用立陶宛法规的场景,例如法律研究、合规核查,或需要按 TAR 代码引用法案的文书起草。
运行要求
作为本地 Python 包运行(PyPI 上的 lt-eli-mcp),通常通过 uvx 或 python -m lt_eli_mcp 启动;需要 Python 以及访问 data.gov.lt 开放数据 API 的网络连接。无需 API 密钥。可选环境变量可设置基础地址、缓存目录和审计目录。
安装前请注意
对公开开放数据只读,但每次工具调用都会追加到本地审计日志;首次使用时可能从 GitHub Releases 获取一个小型配置文件(可将 LT_ELI_RUNTIME_URL 设为空以关闭)。内容仅为立陶宛语,覆盖范围限于连接器声明的部分。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

lt-eli-mcp

An MCP server for the Lithuanian Register of Legal Acts (TAR) via the data.gov.lt open-data API. It searches Lithuanian legislation by title and fetches full text, 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 and HR. Same citation contract, TAR source. This connector reads a REST-JSON open-data API (the data.gov.lt Spinta endpoint).

Scope. This MVP searches acts by title substring, returns metadata, and fetches the full Lithuanian text. ~CC BY 4.0 open data; acts are addressed by their TAR code (tar_kodas). Language: Lithuanian. Every response carries a dataset_note.

ELI is national, not data.europa.eu. Lithuania has no data.europa.eu ELI for the TAR dataset. eli_uri carries the canonical e-tar.lt legalAct URL (the stable national identifier), which is also the source_url. Every response carries an eli_note saying so.

The tools

ToolWhat it does
lt_searchFind acts whose title contains a substring (optionally by type).
lt_get_actMetadata for an act by its TAR code.
lt_get_textFull Lithuanian text of an act by its TAR code.
lt_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 e-tar.lt URL, e.g. https://e-tar.lt/portal/lt/legalAct/...), human_readable_citation (title + official number), 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/lt-eli-mcp/plugin install lt-eli-mcp@lt-eli-mcp

Run it with no install step (published on PyPI):

bash
uvx lt-eli-mcp

Or from source:

bash
cd lt-eli-mcppip install -e .

Configure (Claude Code / any MCP client)

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

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the lt-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 lt-eli-mcppython -m lt_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 lt_eli_mcp.

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

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

Environment:

  • LT_ELI_BASE_URL - default https://get.data.gov.lt
  • LT_ELI_CACHE_DIR - default ~/.matematic/cache/lt-eli
  • LT_ELI_AUDIT_DIR - default ~/.matematic/audit

No API key. The data.gov.lt open-data API is keyless.

Governance

  • Public data only - read-only against data.gov.lt; no client data leaves the machine.
  • Audit log - every tool call appends one JSON line to ~/.matematic/audit/lt-eli-mcp.jsonl.
  • Network - the server talks to the official source(s) named above and the local filesystem. Once, on first use, it also fetches a small configuration file (lt-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. LT_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 data.gov.lt

Licence

Apache-2.0. © Matematic Solutions / Wieslaw Mazur. TAR data is CC BY 4.0; relayed with attribution and a source_url.

来源:README.md,提交 32c5f41

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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