lt-eli-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lt-eli-mcp search for 'Civil Code'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 adataset_note.ELI is national, not data.europa.eu. Lithuania has no
data.europa.euELI for the TAR dataset.eli_uricarries the canonicale-tar.ltlegalAct URL (the stable national identifier), which is also thesource_url. Every response carries aneli_notesaying so.
The tools
Tool | What it does |
| Find acts whose title contains a substring (optionally by type). |
| Metadata for an act by its TAR code. |
| Full Lithuanian text of an act by its TAR code. |
| Declare 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.
Related MCP server: Lithuanian Law MCP
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-mcpRun it with no install step (published on PyPI):
uvx lt-eli-mcpOr 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_mcppip.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- defaulthttps://get.data.gov.ltLT_ELI_CACHE_DIR- default~/.matematic/cache/lt-eliLT_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.ltLicence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur. TAR data is CC BY 4.0; relayed with attribution
and a source_url.
Available Tools
4 toolslt_coverageARead-onlyIdempotent
Declare what this connector covers, how it is sourced, and what it does NOT cover.
Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead.
Returns:
Coverage with families, an as-of note, and a non-empty list of known gaps.
Inputs: no named parameters. Returns: What this connector covers, how it is sourced, and what it does not cover.
lt_get_actARead-onlyIdempotent
Fetch Lithuanian act metadata by its TAR code.
Inputs: tar_kodas (required). Returns: A Lithuanian legal act (from the TAR Spinta API).
lt_get_textARead-onlyIdempotent
Fetch the full Lithuanian text of an act by its TAR code.
Inputs: tar_kodas (required). Returns: Result of ``lt_get_text`` (full text from tekstas_lt).
lt_searchARead-onlyIdempotent
Search Lithuanian acts whose title contains a substring.
Inputs: contains (required), limit, doc_type. Returns: Result of ``lt_search``.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct function: search by title, fetch metadata by TAR code, fetch full text by TAR code, and declare coverage. There is no overlap or ambiguity between them.
All tools share the lt_ prefix, and three follow a verb_noun pattern (lt_search, lt_get_act, lt_get_text). However, lt_coverage breaks the pattern by being a noun, making the naming slightly inconsistent.
Four tools is well-scoped for a focused legal retrieval server. Each tool covers a distinct and necessary part of the workflow without unnecessary bloat.
The set provides a complete retrieval lifecycle: search to find acts, fetch metadata, fetch full text, and a coverage tool that explicitly documents gaps with fallbacks. No obvious dead ends or missing core operations.
Maintenance
Related MCP Connectors
All Lithuanian law: TAR acts, court rulings, municipal acts and draft bills, hourly, with citations.
Lithuanian legislation and court practice for your AI agent. Search laws and 2.4 million court decisions, read the exact article or ruling paragraph, see which version was in force on any date, follow citations both ways and check a quote against its source. Lithuanian and EU law. Free during beta: sign in with your email. --- Lietuvos teisės šaltiniai jūsų DI asistente (Claude, ChatGPT ir kt.). Galiojančios įstatymų ir kitų teisės aktų redakcijos su datomis, teismų praktika su punktais, VMI ir kitų institucijų paaiškinimai, citatų patikra. Kiekvienas atsakymas su nuoroda į oficialų šaltinį. Teisininkams, buhalteriams, personalo, viešųjų pirkimų ir kitiems specialistams.
What a Lithuanian act said on one given date, with its validity window and a register URL.
Current law as data for AI: search, read and verify statutes and citations. CIS countries first.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables querying Estonian legislation from Riigi Teataja, including full-text search across 1,602 statutes and 63,624 provisions, with EU law integration and citation validation.47 npmApache 2.0
- AlicenseNot gradedqualityFmaintenanceProvides search, retrieval, and validation of Lithuanian statutes and provisions, including EU law cross-references, enabling legal research and compliance checks through natural language.55 npm1Apache 2.0
- FlicenseAqualityCmaintenanceEnables searching Lithuanian legislation in the Register of Legal Acts (TAR) via data.gov.lt, resolving citations, and retrieving consolidated texts, provisions, editions, amendments, attachments, and Constitutional Court rulings with verifiable citations. It supports checking document references against legislation and serves cached data when the source is unavailable.20-
- AlicenseAqualityBmaintenanceEnables read-only access to Lithuanian legislation, multi-tier court decisions, and statutory/case-law citation verification through official legal portals, with tools to search, retrieve Markdown texts, list court hierarchy, and validate citations.6MIT