{
  "markdown": "# mt-eli-mcp\n\n<!-- mcp-name: io.github.matematicsolutions/mt-eli-mcp -->\n\nAn MCP server for the Maltese legislation portal **legislation.mt**, the official source of\nconsolidated Maltese law. It fetches document metadata and full text, with verifiable citations.\n\nPart of the MateMatic `eu-legal-mcp` production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR,\nLU, DK, CZ, HR, LT, SK and RO. Same citation contract, legislation.mt source. Malta is ELI-native;\neach page carries schema.org/ELI JSON-LD.\n\n> **Scope.** This MVP fetches a document's metadata (from JSON-LD) and full text by ELI coordinate\n> (chapters, the Constitution, subsidiary legislation, Acts, Legal Notices). There is no free-text\n> search; address documents by their ELI coordinate. Languages: English (`eng`) and Maltese\n> (`mlt`). Every response carries a `dataset_note`.\n>\n> **Text comes from PDF.** Malta publishes the consolidated text only as PDF. `mt_get_text`\n> downloads the official PDF and extracts the text with `pypdf`; layout-dependent artefacts are\n> possible. Every text response carries a `text_note`.\n\n## The tools\n\n| Tool | What it does |\n|---|---|\n| `mt_get_act` | Metadata for a document by ELI coordinate (JSON-LD). |\n| `mt_get_text` | Full text by ELI coordinate (extracted from the official PDF). |\n| `mt_coverage` | Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |\n\nELI coordinates (`eli`): `cap/586` (Chapter), `const` (Constitution), `sl/586.01` (subsidiary\nlegislation), `act/2018/20` (Act), `ln/2018/123` (Legal Notice).\n\nEvery response carries the contract: `eli_uri` (the legislation.mt URL, e.g.\n`https://legislation.mt/eli/cap/586/eng`), `human_readable_citation` (e.g.\n`Data Protection Act (Cap. 586)`), and `source_url`.\n\n## Install\n\nRun it with no install step (once published to PyPI):\n\n```bash\nuvx mt-eli-mcp\n```\n\nOr from source:\n\n```bash\ncd mt-eli-mcp\npip install -e .\n```\n\n## Configure (Claude Code / any MCP client)\n\n```json\n{\n  \"mcpServers\": {\n    \"mt-eli-mcp\": { \"command\": \"mt-eli-mcp\" }\n  }\n}\n```\n\n### Windows 11 with Smart App Control\n\nSmart App Control blocks unsigned executables, which covers `uvx.exe`, `pip.exe`\nand the `mt-eli-mcp.exe` launcher that pip writes at install time. The `python.exe` and\n`py.exe` from the python.org installer are signed by the Python Software\nFoundation, so running the module through the interpreter works:\n\n```bash\npython -m pip install mt-eli-mcp\npython -m mt_eli_mcp\n```\n\n`pip.exe` is blocked for the same reason, so install with `python -m pip`, not\n`pip install`. If `python` is not on PATH, use the Windows launcher: `py -3 -m mt_eli_mcp`.\n\n```json\n{ \"mcpServers\": { \"mt-eli-mcp\": { \"command\": \"python\", \"args\": [\"-m\", \"mt_eli_mcp\"] } } }\n```\n\nDo not turn Smart App Control off to work around this - it cannot be re-enabled\nwithout reinstalling Windows.\n\nEnvironment:\n\n- `MT_ELI_BASE_URL` - default `https://legislation.mt`\n- `MT_ELI_CACHE_DIR` - default `~/.matematic/cache/mt-eli`\n- `MT_ELI_AUDIT_DIR` - default `~/.matematic/audit`\n\nNo API key. legislation.mt is open data.\n\n## Governance\n\n- **Public data only** - read-only against legislation.mt; no client data leaves the machine.\n- **Audit log** - every tool call appends one JSON line to `~/.matematic/audit/mt-eli-mcp.jsonl`.\n- **Vendor-neutral** - talks only to `legislation.mt`; no LLM provider, no telemetry.\n- **Verifiable citations** - every response is independently checkable via `source_url`.\n\nSee `CONSTITUTION.md` and `DISCOVERY.md`.\n\n## Tests\n\n```bash\npip install -e \".[dev]\"\npytest tests/test_instructions_drift.py tests/test_parse.py -v   # offline\npytest tests/test_smoke.py -v                                    # hits live legislation.mt\n```\n\n## Licence\n\nApache-2.0. © Matematic Solutions / Wieslaw Mazur.\n",
  "bytes": 3833,
  "sha": "4fb2d30c435cb09e8bf9b6d82e998de5648e111508bd40bc790ee546ab6a55de",
  "repo_slug": "matematicsolutions/mt-eli-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_matematicsolutions_mt_eli_mcp_87ffb9d3/readme"
}