etar-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
etar-mcp
Lithuania's Register of Legal Acts (Teisės aktų registras, e-tar.lt) for Claude and any MCP client. Ask "how many acts were published on Friday?", "what does article 52 of the Labour Code say?" or "what did the Constitution say in 2020?", and it reads the register's official open data.
Zero dependencies: Node's own fetch, and nothing else.
What it can do
Tool | What it answers |
| Acts newest published first, a page of up to 20 at a time, |
| One act, by its TAR code, document id or e-tar.lt link: its type, number, the days adopted, published, in force from and to, its status, its consolidated versions, and its text. The text is the consolidated version in force today, or on any day |
What it does not do: search inside the texts, read annexes kept as separate files, or read e-tar.lt's own pages. It is not legal advice.
Related MCP server: Legal MCP Server
Install it
You need Node.js 22 or newer (node --version; get it from nodejs.org).
Claude Code
claude mcp add etar -- npx -y @lietuva-mcp/etarClaude Desktop: Settings → Developer → Edit Config, and add:
{
"mcpServers": {
"etar": { "command": "npx", "args": ["-y", "@lietuva-mcp/etar"] }
}
}Any other MCP client: run npx -y @lietuva-mcp/etar as a stdio server.
Where the data comes from
e-tar.lt is a JavaServer Faces application: its search is a stateful form, and it has no robots.txt. The Office of
the Seimas publishes the same register as open data on the Lithuanian open data portal, at
https://get.data.gov.lt/datasets/gov/lrsk/teises_aktai, with every act's dates, status and full text, and every
consolidated version. This server reads only that API, with its own query language (filters, select, sort,
limit, offset, count), and never e-tar.lt itself.
The open data trails the register: on Monday 2026-11-30 the newest act it held was published on Friday 2026-11-27. An act published today may not be found yet. Every answer ends with the day it was read.
It says who it is. Every request carries
lietuva-mcp-etar/<version> (+https://github.com/lietuva-mcp/etar)as its user agent.It asks for what it answers. A search selects the fields of its rows and never the texts; an act's text is asked for once, for the one version answered.
It is paced. At most one request every half second, the first at once. A search is two (its rows and its count), an act three (the act, its versions and the text). A call whose turn is more than five seconds off is refused, not queued.
It takes no for an answer. A refusal (403, 429, 503, a challenge, anything but the data) is reported once and never retried. A redirect is followed only on the API's own address, at most 3 times.
It keeps nothing. No cookies, no cache: each call is a fresh request.
Hosting it for other people? Set LIETUVA_MCP_OPERATOR to your name, such as example.com, and the user agent says
operated by example.com.
Legal texts reach the model as data: the tools tell it so, and never to follow instructions in a text. Official legal acts are not protected by copyright in Lithuania (Law on Copyright and Related Rights, article 5).
The dataset, Teisės aktų registro duomenys, is published by the Office of the Seimas under CC BY 4.0, and every answer names it as its source.
Develop
pnpm install
pnpm test # node --test, against a fake of the open data API on 127.0.0.1
pnpm typecheck
pnpm lint
pnpm build # dist/main.js, the published bundleContributing needs Node 24, which runs the TypeScript sources directly. The fake API in src/test/fake-api.ts
answers the part of the query language the tools speak, and a query it cannot parse with 400, as the real one does.
Not affiliated with the Office of the Seimas or the open data portal.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and read UK legislation at any date, resolve citations, list amendments, track changes.
Polish statutes (Dziennik Ustaw, ELI) and court rulings (SAOS) for AI agents. Runs on Apify.
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.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Related MCP Servers
- AlicenseAqualityCmaintenanceSearches Lithuanian legislation by title and fetches full text from the Register of Legal Acts (TAR) via the data.gov.lt open-data API, with verifiable citations.448 PyPIApache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants and agents to search a legal document collection via hybrid BM25+dense retrieval, read articles with context, and generate full or short citations. It also exposes whole acts as Markdown resources, provides a citation-answering prompt, and supports stdio and streamable HTTP transports.MIT
- AlicenseAqualityCmaintenanceEnables AI clients to search and retrieve official legal documents from the Ministry of Government Legislation's Open API — current and historical statutes, administrative rules, local ordinances, court precedents, constitutional decisions, and legal interpretations — including article-level text lookup. Runs locally over stdio with paginated retrieval of long responses and no external database or web UI required.3MIT
- 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-