Skip to main content
Glama
Luxembourg Legal Research MCP Server

Luxembourg Legal Research MCP Server

by jurisatlas
README.md
# Luxembourg Legal Research MCP Server (`lu-legal-mcp`)

**[Français](#lang-fr) | [Deutsch](#lang-de) | [Lëtzebuergesch](#lang-lb) | [English Documentation](#english-documentation)**

---

<a id="lang-fr"></a>
## Serveur MCP de Législation et Jurisprudence (`lu-legal-mcp`) — Français

### À propos de ce dépôt

Ce dépôt fournit un serveur Model Context Protocol (MCP) reliant directement votre application d'intelligence artificielle (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline, Continue.dev ou Antigravity) aux portails législatifs officiels et aux bases de jurisprudence multi-niveaux pour **Luxembourg** (juridictions de première instance, tribunaux cantonaux / cours d'appel et juridictions suprêmes ou constitutionnelles).

### Installation rapide (Sélection de votre client IA)

1. **Téléchargement :** Cliquez sur **`<> Code` -> `Download ZIP`** en haut à droite et extrayez le dossier sur votre ordinateur.
2. **Lancement de l'assistant :** Double-cliquez sur **`Click_Here_To_Install_Windows.bat`** (Windows) ou **`Click_Here_To_Install_Mac.command`** (macOS).
3. **Choix de l'application IA :** Cochez les applications IA que vous utilisez (Claude, Cursor, Windsurf, VS Code, Antigravity), lancez l'installation automatique et redémarrez votre application IA.

**Note de sécurité :** L'utilitaire fonctionne exclusivement en lecture seule (read-only) et n'accède à aucun fichier personnel sur votre ordinateur.

### Hiérarchie juridictionnelle et sources officielles

| Degré de juridiction | Juridictions couvertes |
|:---|:---|
| **1er degré (Première instance)** | 3 Justices de paix (Luxembourg, Esch-sur-Alzette, Diekirch), 2 Tribunaux d'arrondissement & Tribunal administratif |
| **2nd degré (Juridictions cantonales, régionales et cours d'appel)** | Cour d'appel (Chambres civiles, commerciales, criminelles et sociales) & Cour administrative |
| **Juridictions suprêmes et constitutionnelles** | Cour de cassation (Cour supérieure de justice) & Cour constitutionnelle du Grand-Duché de Luxembourg |

- **Legilux Official Legislation Portal (legilux.public.lu - ELI):** [https://legilux.public.lu](https://legilux.public.lu) (`legilux.public.lu`, `chd.lu`)
- **JuCha / Justice.public.lu Base de Jurisprudence (Judiciaire, Administratif & Constitutionnel):** [https://justice.public.lu/fr/jurisprudence.html](https://justice.public.lu/fr/jurisprudence.html) (`justice.public.lu`, `legilux.public.lu`)

---

<a id="lang-de"></a>
## Rechts- und Rechtsprechungs-MCP-Server (`lu-legal-mcp`) — Deutsch

### Über dieses Repository

Dieses Repository stellt einen Model Context Protocol (MCP) Server bereit, der Ihre KI-Anwendung (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline, Continue.dev oder Antigravity) direkt mit den amtlichen Gesetzesportalen und den mehrstufigen Rechtsprechungsdatenbanken für **Luxembourg** (1. Instanz, Berufungs-/Kantons-/Oberlandesgerichte sowie Höchst- und Verfassungsgerichte) verbindet.

### Installation (Auswahl Ihrer KI-Anwendung)

1. **Herunterladen:** Klicken Sie oben rechts auf **`<> Code` -> `Download ZIP`** und entpacken Sie das Archiv auf Ihrem Computer.
2. **Installationsassistent starten:** Doppelklicken Sie auf **`Click_Here_To_Install_Windows.bat`** (Windows) oder **`Click_Here_To_Install_Mac.command`** (macOS).
3. **KI-Programm auswählen:** Wählen Sie im Fenster die von Ihnen genutzten KI-Programme aus (Claude, Cursor, Windsurf, VS Code, Antigravity), klicken Sie auf Installieren und starten Sie Ihre KI-Anwendung neu.

**Sicherheitshinweis:** Das Installationsprogramm arbeitet vollständig im Nur-Lese-Modus (Read-Only) und greift auf keinerlei persönliche Dateien auf Ihrem System zu.

### Gerichtsinstanzen und amtliche Datenquellen

| Instanz | Abgedeckte Gerichte |
|:---|:---|
| **1. Instanz (Eingangsgerichte)** | 3 Justices de paix (Luxembourg, Esch-sur-Alzette, Diekirch), 2 Tribunaux d'arrondissement & Tribunal administratif |
| **2. Instanz (Kantons-, Ober- und Berufungsgerichte)** | Cour d'appel (Chambres civiles, commerciales, criminelles et sociales) & Cour administrative |
| **3. Instanz (Höchst- und Verfassungsgerichte)** | Cour de cassation (Cour supérieure de justice) & Cour constitutionnelle du Grand-Duché de Luxembourg |

- **Legilux Official Legislation Portal (legilux.public.lu - ELI):** [https://legilux.public.lu](https://legilux.public.lu) (`legilux.public.lu`, `chd.lu`)
- **JuCha / Justice.public.lu Base de Jurisprudence (Judiciaire, Administratif & Constitutionnel):** [https://justice.public.lu/fr/jurisprudence.html](https://justice.public.lu/fr/jurisprudence.html) (`justice.public.lu`, `legilux.public.lu`)

---

<a id="lang-lb"></a>
## Juristeschen MCP-Server fir Lëtzebuerg (`lu-legal-mcp`) — Lëtzebuergesch

### Iwwer dëse Repository

Dëse Repository enthält e Model Context Protocol (MCP) Server, deen Är KI-Applikatioun (Claude Desktop, Cursor, Windsurf, VS Code / Copilot oder Antigravity) direkt mat Legilux (`legilux.public.lu`) an de Jurisprudenz-Datebanke vun de lëtzebuergesche Geriichter (`justice.public.lu`) verbënnt.

### Installatioun (Auswiel vun Ärer KI-Applikatioun)

1. **Eroflueden:** Klickt uewen riets op **`<> Code` -> `Download ZIP`** an entpaakt den Dossier.
2. **Starten:** Duebelklickt op **`Click_Here_To_Install_Windows.bat`** (Windows) oder **`Click_Here_To_Install_Mac.command`** (macOS).
3. **KI-Client auswielen:** Wielt d'KI-Programmer aus, déi Dir benotzt, klickt op Installéieren a start Är KI-Applikatioun nei.

**Sécherheetsnotiz:** Dësen Tool funktionéiert ausschliisslech am Lies-Modus (read-only) a gräift net op Är perséinlech Fichieren zou.

### Geriichtsinstanzen an offiziell Quellen

| Instanz | Geriichter |
|:---|:---|
| **1. Instanz (Justices de paix, Tribunaux d'arrondissement & Tribunal administratif)** | 3 Justices de paix (Luxembourg, Esch-sur-Alzette, Diekirch), 2 Tribunaux d'arrondissement & Tribunal administratif |
| **2. Instanz (Cour d'appel & Cour administrative)** | Cour d'appel (Chambres civiles, commerciales, criminelles et sociales) & Cour administrative |
| **Cour de cassation & Cour constitutionnelle** | Cour de cassation (Cour supérieure de justice) & Cour constitutionnelle du Grand-Duché de Luxembourg |

- **Legilux Official Legislation Portal (legilux.public.lu - ELI):** [https://legilux.public.lu](https://legilux.public.lu) (`legilux.public.lu`, `chd.lu`)
- **JuCha / Justice.public.lu Base de Jurisprudence (Judiciaire, Administratif & Constitutionnel):** [https://justice.public.lu/fr/jurisprudence.html](https://justice.public.lu/fr/jurisprudence.html) (`justice.public.lu`, `legilux.public.lu`)

---

<a id="english-documentation"></a>
## English Documentation

Model Context Protocol (MCP) server providing live, read-only access to **Luxembourg (LU)** legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (**ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev**).

---

### Interactive Desktop Setup (Select Your AI Assistant)

This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:

1. **Download:** Click **`<> Code`** at the top right of this repository, select **`Download ZIP`**, and extract the folder to your computer.
2. **Run the Setup Utility:**
   - **Windows:** Double-click `Click_Here_To_Install_Windows.bat`
   - **macOS:** Double-click `Click_Here_To_Install_Mac.command`
3. **Select Your AI Client(s) & Connect:** Check the box(es) for the AI assistant(s) installed on your computer (**ChatGPT Desktop & OpenAI Codex CLI**, **Claude Desktop & Claude Code CLI**, **Cursor**, **Windsurf**, **VS Code / GitHub Copilot / Cline / Roo Code**, **Google Antigravity / Gemini CLI**, or **Perplexity / Continue.dev**), click **Install to Selected AI Clients**, and restart your selected AI application.

**System Integrity Note:** The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.

---

### Multi-Tier Judicial Hierarchy & Live Indexed National Archives

This server performs live queries across the full judicial hierarchy and official legal archives of **Luxembourg**, extracting full text from both HTML pages and official court/gazette PDF judgments:

| Judicial Tier | Covered Courts & Tribunals |
|:---|:---|
| **Tier 1 — First Instance** | 3 Justices de paix (Luxembourg, Esch-sur-Alzette, Diekirch), 2 Tribunaux d'arrondissement & Tribunal administratif |
| **Tier 2 — Regional / Cantonal / Appellate** | Cour d'appel (Chambres civiles, commerciales, criminelles et sociales) & Cour administrative |
| **Tier 3 — Supreme & Constitutional** | Cour de cassation (Cour supérieure de justice) & Cour constitutionnelle du Grand-Duché de Luxembourg |

#### Official Portals & Live Indexed Domains

- **National Legislation & Official Gazette:** Legilux Official Legislation Portal (legilux.public.lu - ELI) — [https://legilux.public.lu](https://legilux.public.lu)
  - *Indexed Legislation Domains:* `legilux.public.lu`, `chd.lu`
- **Court Decisions & Jurisprudence Archives:** JuCha / Justice.public.lu Base de Jurisprudence (Judiciaire, Administratif & Constitutionnel) — [https://justice.public.lu/fr/jurisprudence.html](https://justice.public.lu/fr/jurisprudence.html)
  - *Indexed Judicial & Open Case Law Domains:* `justice.public.lu`, `legilux.public.lu`

---

### Available MCP Tools

| Tool | Description |
|:---|:---|
| `search_legislation` | Searches enacted statutes, codes, decrees, and official gazette publications in Luxembourg. |
| `search_case_law` | Searches national jurisprudence and open judicial archives for Luxembourg. |
| `search_tiered_court_decisions` | Filters case law specifically by judicial instance (`first_instance`, `appellate_regional`, `supreme_constitutional`) or specific regional/cantonal/district court. |
| `list_court_hierarchy` | Returns the complete 3-tier court structure and supported regional court filters for Luxembourg. |
| `get_legal_document_markdown` | Retrieves full statutory or judicial texts (both HTML and official `.pdf` court judgments) and converts them into clean Markdown. |
| `verify_citation` | Validates statutory and case law citations against official registries. |

---

<details>
<summary><b>Manual Configuration for Developers (Optional)</b></summary>

```json
{
  "mcpServers": {
    "lu-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/jurisatlas/lu-legal-mcp/archive/refs/heads/main.zip",
        "lu-legal-mcp"
      ]
    }
  }
}
```
</details>

TDQS

A3.6/5.0

Scored across 6 tools

Disambiguation4/5

Most tools are clearly separated: legislation search, case law search, document retrieval, court hierarchy listing, and citation verification each target distinct resources or actions. The one soft overlap is between search_case_law (all courts) and search_tiered_court_decisions (same decisions filtered by judicial tier), which an agent could plausibly confuse, though the descriptions make the distinction workable.

Naming Consistency5/5

All six names follow a consistent snake_case verb_noun pattern (search_*, get_*, list_*, verify_*). The verbs accurately signal the operation type, and there are no camelCase or stylistic deviations.

Tool Count4/5

Six tools is a lean but reasonable surface for a focused legal research server. search_tiered_court_decisions is arguably a specialization of search_case_law rather than a fully independent capability, so the set is slightly over-fragmented, but nothing is gratuitous.

Completeness4/5

The surface covers the core lifecycle: discover legislation and case law, retrieve full text, understand court structure, and verify citations against live registries — a strong end-to-end loop for a read-only research domain. Minor gaps remain, such as no consolidated 'find by ELI/ECLI identifier directly' tool or cross-referencing/batch verification, but these are workable around get_legal_document_markdown and verify_citation.