eu.ansvar/maltese-law-mcp

Maltese legislation via MCP — full-text search across statutes and provisions

1NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Maltese Law MCP Server

**The legislation.mt alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Fmaltese-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/maltese-law-mcp)
[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub stars](https://img.shields.io/github/stars/Ansvar-Systems/Maltese-law-mcp?style=social)](https://github.com/Ansvar-Systems/Maltese-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Maltese-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Maltese-law-mcp/actions/workflows/ci.yml)
[![Daily Data Check](https://github.com/Ansvar-Systems/Maltese-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Maltese-law-mcp/actions/workflows/check-updates.yml)
[![Database](https://img.shields.io/badge/database-pre--built-green)](docs/EU_INTEGRATION_GUIDE.md)
[![Provisions](https://img.shields.io/badge/provisions-56%2C516-blue)](docs/EU_INTEGRATION_GUIDE.md)

Query **5,009 Maltese statutes** -- from Cap. 586 (Data Protection), Cap. 9 (Kodiċi Kriminali), Cap. 16 (Kodiċi Ċivili), and more -- directly from Claude, Cursor, or any MCP-compatible client.

If you're building legal tech, compliance tools, or doing Maltese legal research, this is your verified reference database.

Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden

---

## Why This Exists

Maltese legal research means navigating legislation.mt across thousands of statutes organized by Chapter number -- a unique system where laws are cited by "Cap." rather than year, making cross-referencing non-obvious without domain knowledge. Whether you're:

- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking Maltese GDPR implementation (Cap. 586) or financial services obligations
- A **legal tech developer** building tools on Maltese law
- A **researcher** tracing EU directive transposition across Malta's bilingual English/Maltese legal system

...you shouldn't need dozens of browser tabs and manual cross-referencing between Chapter numbers. Ask Claude. Get the exact provision. With context.

This MCP server makes Maltese law **searchable, cross-referenceable, and AI-readable**.

---

## Quick Start

### Use Remotely (No Install Needed)

> Connect directly to the hosted version -- zero dependencies, nothing to install.

**Endpoint:** `https://maltese-law-mcp.vercel.app/mcp`

| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add maltese-law --transport http https://maltese-law-mcp.vercel.app/mcp` |
| **Claude Desktop** | Add to config (see below) |
| **GitHub Copilot** | Add to VS Code settings (see below) |

**Claude Desktop** -- add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "maltese-law": {
      "type": "url",
      "url": "https://maltese-law-mcp.vercel.app/mcp"
    }
  }
}
```

**GitHub Copilot** -- add to VS Code `settings.json`:

```json
{
  "github.copilot.chat.mcp.servers": {
    "maltese-law": {
      "type": "http",
      "url": "https://maltese-law-mcp.vercel.app/mcp"
    }
  }
}
```

### Use Locally (npm)

```bash
npx @ansvar/maltese-law-mcp
```

**Claude Desktop** -- add to `claude_desktop_config.json`:

**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "maltese-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/maltese-law-mcp"]
    }
  }
}
```

**Cursor / VS Code:**

```json
{
  "mcp.servers": {
    "maltese-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/maltese-law-mcp"]
    }
  }
}
```

---

## Example Queries

Once connected, just ask naturally:

- *"What does Cap. 586 say about data processing consent?"*
- *"Search for provisions about 'data protection' in Maltese law"*
- *"What does Cap. 9 (Kodiċi Kriminali) say about computer-related offences?"*
- *"Which Malta Chapters implement the NIS2 Directive?"*
- *"X'jgħid il-Kodiċi Kriminali dwar id-delitti tal-kompjuter?"*
- *"Sib id-dispożizzjonijiet tal-Kodiċi Ċivili dwar ir-responsabbiltà"*
- *"Is Cap. 330 (Companies Act) still in force?"*
- *"Build a legal stance on financial services licensing requirements in Malta"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 5,009 statutes | Comprehensive Maltese legislation from legislation.mt |
| **Provisions** | 56,516 sections | Full-text searchable with FTS5 |
| **Legal Definitions** | 0 (free tier) | Table reserved, extraction not enabled in current free build |
| **Database Size** | Optimized SQLite | Portable, pre-built |
| **Daily Updates** | Automated | Freshness checks against le