Mt MCP Server

MCP server for Maltese legislation (legislation.mt) with ELI and verifiable citations.

Local serverstdioPython

What is the Mt MCP server?

MCP server for Maltese legislation (legislation.mt) with ELI and verifiable citations. That is what the mt mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

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.

The tools it exposes

The server publishes 2 tools. What each one is for:

  • mt_get_act — Metadata for a document by ELI coordinate (JSON-LD)
  • mt_get_text — Full text by ELI coordinate (extracted from the official PDF)

What it needs from you

Configuration is passed through the environment: MT_ELI_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Getting it running

The server ships on PyPI as mt-eli-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Mt's toolset — mt_get_act, mt_get_text — is a fair guide to whether it matches your workflow. It is maintained by matematicsolutions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Mt's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
mt_get_actMetadata for a document by ELI coordinate (JSON-LD).
mt_get_textFull text by ELI coordinate (extracted from the official PDF).

How to install the Mt MCP server

{
  "mcpServers": {
    "mt-eli-mcp": { "command": "mt-eli-mcp" }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MT_ELI_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Mt to mt get act.
  • Use Mt to mt get text.

Frequently asked questions

It connects Mt to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (mt_get_act, mt_get_text) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Mt directly.