mt-eli-mcp
Click on "Install 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., "@mt-eli-mcpshow me the text of chapter 586"
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.
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
Tool | What it does |
| Metadata for a document by ELI coordinate (JSON-LD). |
| Full text by ELI coordinate (extracted from the official PDF). |
| Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |
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.
Related MCP server: lu-eli-mcp
Install
Run it with no install step (once published to PyPI):
uvx mt-eli-mcpOr from source:
cd mt-eli-mcp
pip install -e .Configure (Claude Code / any MCP client)
{
"mcpServers": {
"mt-eli-mcp": { "command": "mt-eli-mcp" }
}
}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:
python -m pip install mt-eli-mcp
python -m mt_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 mt_eli_mcp.
{ "mcpServers": { "mt-eli-mcp": { "command": "python", "args": ["-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
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py tests/test_parse.py -v # offline
pytest tests/test_smoke.py -v # hits live legislation.mtLicence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
Available Tools
3 toolsmt_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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| status | No | |
| families | No | |
| as_of_note | Yes | States what the dates mean, and what they do not promise. |
| known_gaps | No | Never empty. An empty list would mean 'not checked', not 'no gaps'. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the read-only/idempotent annotations, the description warns that an empty result may reflect a connector gap rather than an absence in the law, and that gaps include fallback pointers. This is valuable behavioral context that annotations alone do not convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded, leading with the tool's core declaration, then the when-to-use guidance, then the return shape. No sentence is redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless, read-only tool with an output schema, the description fully covers when to call it, what it returns, and an important caveat about empty results. Nothing needed to invoke it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the empty input schema needs no description augmentation. The baseline of 4 applies because there is nothing for the description to add about parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific purpose: declaring coverage scope, sourcing, and exclusions for the connector. This clearly distinguishes mt_coverage from the sibling content-retrieval tools mt_get_act and mt_get_text, which retrieve legal text rather than describe coverage gaps.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit triggers: call before telling a user the law does not contain something, and whenever a search returns empty. It does not name sibling alternatives directly, but the fallback routing inside each gap provides enough context to decide when this tool is needed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
mt_get_actARead-onlyIdempotent
Fetch Maltese document metadata by ELI coordinate.
| Name | Required | Description | Default |
|---|---|---|---|
| eli | Yes | the coordinate after ``/eli/`` (e.g. ``"cap/586"``, ``"act/2018/20"``, ``"const"``). | |
| lang | No | ``"eng"`` (default) or ``"mlt"``. | eng |
Output Schema
| Name | Required | Description |
|---|---|---|
| eli | No | |
| title | No | |
| eli_uri | No | |
| source_url | No | |
| legal_force | No | |
| dataset_note | No | |
| date_modified | No | |
| document_type | No | |
| legislation_date | No | |
| legislation_identifier | No | |
| human_readable_citation | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, openWorld, idempotent, and non-destructive behavior, so the bar is lower. The description adds that this returns 'metadata' (not full text), which is useful behavioral context, but it does not disclose error handling or edge cases. Minimal additional value beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence that immediately states the tool's purpose and method. No filler or redundancy; every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only tool with two well-documented parameters, an output schema, and strong annotations, this description is sufficient. It clearly states the core function, and the schema and annotations cover the remaining context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear explanations for both 'eli' and 'lang'. The description adds no parameter-specific meaning beyond what the schema already provides, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Fetch') and resource ('Maltese document metadata') and specifies the method ('by ELI coordinate'). It clearly distinguishes from the sibling mt_get_text, which likely retrieves full text rather than metadata.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for metadata retrieval, separate from the sibling text tool, but it does not explicitly state when to use this tool over alternatives or provide exclusions. Clear context is present, but no direct compare/contrast.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
mt_get_textARead-onlyIdempotent
Fetch the full text of a Maltese document by ELI coordinate (from the official PDF).
| Name | Required | Description | Default |
|---|---|---|---|
| eli | Yes | the coordinate after ``/eli/`` (e.g. ``"cap/586"``). | |
| lang | No | ``"eng"`` (default) or ``"mlt"``. | eng |
Output Schema
| Name | Required | Description |
|---|---|---|
| eli | No | |
| title | No | |
| format | No | |
| content | No | |
| eli_uri | No | |
| pdf_url | No | |
| byte_size | No | |
| text_note | No | |
| source_url | No | |
| dataset_note | No | |
| human_readable_citation | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, establishing safe read behavior. The description adds the source ('official PDF') and scope ('full text'), which gives minor context beyond safety. However, it does not disclose error behavior, language output, or any caching aspects, but the annotation coverage lowers the burden.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence that conveys the core functionality without wasted words. It is appropriately sized for the tool's simplicity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple, has an output schema, and its annotations cover safety. The description communicates the source and output type sufficiently. It lacks explicit alternative guidance, but that is more a usage-guideline concern; overall it is complete enough for invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers both parameters with descriptive text (eli coordinate, lang values), and the description's mention of 'by ELI coordinate' reinforces eli's role. Since schema description coverage is 100%, the description adds little beyond schema, meriting the baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches the full text of a Maltese document using an ELI coordinate, specifying the source as the official PDF. The verb 'Fetch' and resource 'full text' make the purpose unambiguous, and the sibling tool name (mt_get_act) suggests a different focus, providing implicit differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for retrieving document text but provides no explicit when-to-use or alternative guidance. It does not explain when to prefer this over mt_get_act, leaving the agent to infer which tool matches the user's intent. No exclusions or context is given beyond the basic purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool targets a clearly distinct function: metadata retrieval, full-text retrieval, and coverage/gap declaration. There is no overlap or ambiguity between them.
Two tools follow the mt_get_* verb_noun pattern, while mt_coverage uses only a noun. This is a minor deviation but the shared mt_ prefix and clear semantics keep the set predictable.
Three tools is small but perfectly suited to this connector's narrow scope: retrieving Maltese legal documents by ELI and declaring coverage. Each tool has a distinct, necessary role.
The tool set covers metadata retrieval, full-text retrieval, and explicit gap disclosure, which is complete for a read-only connector. A search/list capability is absent, but the coverage tool proactively mitigates that limitation.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Resolve, search and verify legal citations against the official sources, with provenance.
Temporal search and comparison for official Luxembourg and reviewed EU law, with provenance.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
MCP for CanLII: Canadian case law and legislation metadata (federal, provincial, territorial).
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables querying Maltese cybersecurity regulations, decisions, and requirements from CSIRTMalta via MCP-compatible clients like Claude and Cursor.6Apache 2.0
- AlicenseAqualityAmaintenanceEnables querying Luxembourg legislation metadata and full Akoma Ntoso text via ELI identifiers from Legilux open data.31Apache 2.0
- AlicenseAqualityAmaintenanceFetches Croatian legislation from the Narodne novine official gazette with European ELI identifiers and verifiable citations. Provides tools to list issues, get act metadata, and fetch full text.4Apache 2.0
- AlicenseAqualityBmaintenanceEnables retrieval of Belgian legislation metadata and full text by ELI coordinates from the official gazette (Moniteur Belge), supporting French, Dutch, and German languages.3Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/mt-eli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server