mcpField
L
lt-eli-mcp

lt-eli-mcp

Local
github.com/matematicsolutionsLegal & Government0Updated 3w ago

About lt-eli-mcp

lt-eli-mcp helps legal professionals and MCP clients find Lithuanian legislation. It searches TAR acts by title through the data.gov.lt open-data API and returns full text with verifiable citations.

Key features

  1. 01Search acts by title substring
  2. 02Retrieve metadata by TAR code
  3. 03Fetch full Lithuanian act text
  4. 04Report coverage and data gaps

Use cases

  1. 01Find an act from part of its title
  2. 02Look up act details by TAR code
  3. 03Retrieve full text and check its citation

MCP support

As an MCP server, it exposes tools for searching Lithuanian acts through data.gov.lt and retrieving their metadata and full text.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"matematicsolutions-lt-eli": {
"command": "uvx",
"args": [
"lt-eli-mcp"
]
}
}
}
Run commanduvx lt-eli-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypilt-eli-mcp0.3.3

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitintegerNomax hits (1..200, default 50).
containsstringYessubstring matched against the act title (Lithuanian ``pavadinimas``).
doc_typeanyNooptional Lithuanian act type (``rusis``), e.g. ``"Istatymas"`` (law), ``"Isakymas"`` (order). Match the exact Lithuanian spelling.

Details

From the project 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):

uvx lt-eli-mcp

Or from source:

cd lt-eli-mcp
pip install -e .

Configure (Claude Code / any MCP client)

{
  "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:

python -m pip install lt-eli-mcp
python -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.

{ "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

pip install -e ".[dev]"
pytest tests/test_instructions_drift.py tests/test_parse.py -v   # offline
pytest 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.