Mt Eli MCP logo

Mt Eli MCP

Fetches Maltese law metadata and PDF text by ELI coordinate with verifiable citations.

Install Mt Eli MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mt-eli-mcp": {
      "command": "uvx",
      "args": [
        "mt-eli-mcp"
      ],
      "env": {
        "MT_ELI_BASE_URL": "YOUR_VALUE_HERE",
        "MT_ELI_CACHE_DIR": "YOUR_VALUE_HERE",
        "MT_ELI_AUDIT_DIR": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The mt-eli-mcp MCP server retrieves metadata and full text from Malta’s official legislation.mt portal using ELI coordinates. It exposes separate tools for document metadata, PDF-derived text, and coverage information, with English and Maltese language paths supported. Responses include source URLs, readable citations, ELI URIs, and notes about dataset scope or PDF extraction. Use it when an agent needs read-only access to specific Maltese Acts, chapters, constitutional material, subsidiary legislation, or Legal Notices rather than free-text search.

Use cases

  • Retrieve a Maltese Act by ELI coordinate
  • Extract the text of an official Maltese legislation PDF
  • Check metadata and citations for a Maltese legal document
  • Inspect connector coverage before querying legislation

Key features

  • Fetches legislation metadata from ELI JSON-LD
  • Extracts full text from official PDFs
  • Supports English and Maltese document paths
  • Returns verifiable source URLs and citations
  • Reports coverage and documented gaps
  • Writes local JSONL audit records

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

8/8 checks healthy over the last 46d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · mt-eli-mcp (PyPI)

How Mt Eli MCP works

What mt-eli-mcp does

The mt-eli-mcp MCP server connects an MCP client to legislation.mt, Malta’s official portal for consolidated legislation. It addresses documents by ELI coordinate instead of offering a general search interface. Supported coordinate patterns include chapters such as cap/586, the Constitution through const, subsidiary legislation such as sl/586.01, Acts such as act/2018/20, and Legal Notices such as ln/2018/123.

The connector supports English (eng) and Maltese (mlt) document paths. It is read-only and uses public data from legislation.mt; no API key is required.

How it works

For metadata requests, the server reads the document’s schema.org/ELI JSON-LD from legislation.mt. For text requests, it downloads the official PDF and extracts content with pypdf. Because the source text is PDF-based, extraction can contain artefacts caused by document layout.

Each response follows a citation contract that includes an ELI URI, a human-readable citation, and the source URL. Responses also include a dataset_note; text responses include a text_note describing the PDF-derived text. These fields let an agent or developer trace an answer back to the originating legislation page.

Setup and configuration

The mt-eli-mcp MCP server can be run from PyPI with uvx mt-eli-mcp, or installed from source with pip install -e .. A standard MCP configuration starts the mt-eli-mcp command without additional arguments. On Windows systems affected by Smart App Control, the documented alternative is to install with python -m pip and launch with python -m mt_eli_mcp or the py launcher.

Three optional environment variables control local behavior:

  • MT_ELI_BASE_URL sets the legislation service URL and defaults to https://legislation.mt.
  • MT_ELI_CACHE_DIR sets the cache location and defaults to ~/.matematic/cache/mt-eli.
  • MT_ELI_AUDIT_DIR sets the audit location and defaults to ~/.matematic/audit.

Every tool call is appended as one JSON line to the local audit file. The connector does not send client data to an LLM provider and does not use telemetry.

Tools and capabilities

mt_get_act returns document metadata for an ELI coordinate. mt_get_text returns full text extracted from the corresponding official PDF. mt_coverage reports which legislative families the connector covers, when coverage was captured, and which gaps remain, including a fallback for each stated gap.

Together, these tools support targeted retrieval and citation checking for known Maltese documents. They do not provide free-text search, so the caller must already have the relevant ELI coordinate.

Limitations and notes

The connector covers the document families described by the repository, including chapters, the Constitution, subsidiary legislation, Acts, and Legal Notices. Coverage details should be checked through mt_coverage, since the tool explicitly reports capture timing and exclusions.

Text quality depends on the official PDF and pypdf extraction. The returned text may therefore require review when layout, tables, or other PDF structures affect reading order. The service is designed for read-only public-data access and does not modify legislation.mt.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mt Eli MCP

mt-eli-mcp is an MCP server that connects AI clients to Malta’s official legislation.mt portal. Its main tools retrieve document metadata, extract full text from official PDFs, and report connector coverage. Requests use ELI coordinates for chapters, Acts, the Constitution, subsidiary legislation, and Legal Notices.

Install it with `uvx mt-eli-mcp`, or install from source with `pip install -e .`. The MCP client can then launch the `mt-eli-mcp` command. On Windows Smart App Control systems, use `python -m pip` and launch `python -m mt_eli_mcp` instead.

No, mt-eli-mcp does not provide free-text search. Supply a document’s ELI coordinate, such as `cap/586`, `act/2018/20`, or `ln/2018/123`, to retrieve metadata or PDF-extracted text.

mt-eli-mcp supports `MT_ELI_BASE_URL`, `MT_ELI_CACHE_DIR`, and `MT_ELI_AUDIT_DIR`. They configure the legislation service URL, local cache directory, and local audit directory respectively, and each has a documented default.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMt Eli MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mt-eli-mcp?style=directory)](https://allmcps.com/mcp/mt-eli-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mt-eli-mcp"><img src="https://allmcps.com/api/badge/mt-eli-mcp?style=directory" alt="Mt Eli MCP on AllMCPs" /></a>