
Mt Eli Mcp
io.github.matematicsolutionsPublished by GitHub account matematicsolutionsv0.3.4Updated Oct 24, 2026
MCP server for Maltese legislation (legislation.mt) with ELI and verifiable citations.
Overview
Local MCP server that lets an assistant fetch Maltese legislation from legislation.mt by ELI coordinate, with metadata, full text and verifiable citations.
- What you can do
- Retrieve document metadata for a Maltese law by ELI coordinate, taken from the page's JSON-LD (chapters, Constitution, subsidiary legislation, Acts, Legal Notices). Fetch the full text of a document by ELI coordinate, extracted from the official PDF. Report what the connector covers, when each family was captured, and explicitly what it does not cover, with a fallback for each gap. Every response carries an ELI URI, a human-readable citation and a source URL.
- When to use it
- Useful when you already know the ELI coordinate of a Maltese act, chapter, legal notice or the Constitution and want its metadata or consolidated text with a checkable citation. There is no free-text search, so it does not suit open-ended discovery of Maltese law.
- Requirements
- Runs locally as a Python package (mt-eli-mcp), started with uvx or installed with pip and run as a module. Needs network access to legislation.mt. No API key. Optional environment variables MT_ELI_BASE_URL, MT_ELI_CACHE_DIR and MT_ELI_AUDIT_DIR set the base URL, cache and audit directories. On Windows 11 with Smart App Control, run it through the Python interpreter rather than the blocked launchers.
Installation
In SourceWeft
- Open Mt Eli Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mt-eli-mcp
An MCP server for the Maltese legislation portal legislation.mt, the official source of consolidated Maltese law. It fetches document metadata and 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, HR, LT, SK and RO. Same citation contract, legislation.mt source. Malta is ELI-native;
each page carries schema.org/ELI JSON-LD.
Scope. This MVP fetches a document's metadata (from JSON-LD) and full text by ELI coordinate (chapters, the Constitution, subsidiary legislation, Acts, Legal Notices). There is no free-text search; address documents by their ELI coordinate. Languages: English (
eng) and Maltese (mlt). Every response carries adataset_note.Text comes from PDF. Malta publishes the consolidated text only as PDF.
mt_get_textdownloads the official PDF and extracts the text withpypdf; layout-dependent artefacts are possible. Every text response carries atext_note.
The tools
ELI coordinates (eli): cap/586 (Chapter), const (Constitution), sl/586.01 (subsidiary
legislation), act/2018/20 (Act), ln/2018/123 (Legal Notice).
Every response carries the contract: eli_uri (the legislation.mt URL, e.g.
https://legislation.mt/eli/cap/586/eng), human_readable_citation (e.g.
Data Protection Act (Cap. 586)), and source_url.
Install
Run it with no install step (once published to PyPI):
Or from source:
Configure (Claude Code / any MCP client)
Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the mt-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:
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 mt_eli_mcp.
Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Environment:
MT_ELI_BASE_URL- defaulthttps://legislation.mtMT_ELI_CACHE_DIR- default~/.matematic/cache/mt-eliMT_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. legislation.mt is open data.
Governance
- Public data only - read-only against legislation.mt; no client data leaves the machine.
- Audit log - every tool call appends one JSON line to
~/.matematic/audit/mt-eli-mcp.jsonl. - Vendor-neutral - talks only to
legislation.mt; no LLM provider, no telemetry. - Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
Licence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
Source: README.md at commit 1cfb8a6
Tools
0Version history
2- v0.3.4LatestSep 24, 2026
- v0.3.3Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts