Skip to main content
Glama
README.md
# Belgium Legal Research MCP Server (`be-legal-mcp`)

**[Nederlands](#lang-nl) | [Français](#lang-fr) | [Deutsch](#lang-de) | [English Documentation](#english-documentation)**

---

<a id="lang-nl"></a>
## Juridische MCP-server voor Wetgeving en Rechtspraak (`be-legal-mcp`) — Nederlands

### Over deze repository

Deze repository bevat een Model Context Protocol (MCP) server die uw AI-assistent (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline, Continue.dev of Antigravity) rechtstreeks verbindt met de officiële wetgevingsportalen en rechtspraakdatabanken voor **Belgium** (rechtbanken van eerste aanleg, gerechtshoven / hoven van beroep en hoogste rechtscolleges).

### Installatie (Selecteer uw AI-applicatie)

1. **Downloaden:** Klik rechtsboven op **`<> Code` -> `Download ZIP`** en pak de map uit op uw computer.
2. **Starten:** Dubbelklik op **`Click_Here_To_Install_Windows.bat`** (Windows) of **`Click_Here_To_Install_Mac.command`** (macOS).
3. **AI-client kiezen:** Vink de AI-programma's aan die u gebruikt (Claude, Cursor, Windsurf, VS Code, Antigravity), klik op installeren en herstart uw gekozen AI-applicatie.

**Veiligheidsopmerking:** Dit hulpprogramma werkt uitsluitend in alleen-lezen modus en raakt geen persoonlijke bestanden op uw computer aan.

### Rechterlijke hiërarchie en officiële bronnen

| Instantie | Gedekte gerechten |
|:---|:---|
| **Eerste aanleg (Rechtbanken)** | Tribunaux de première instance / Rechtbanken van eerste aanleg, Tribunaux de l'entreprise / Ondernemingsrechtbanken & Tribunaux du travail / Arbeidsrechtbanken |
| **Hoger beroep (Hoven van beroep / Gerechtshoven)** | 5 Cours d'appel / Hoven van beroep (Bruxelles/Brussel, Liège, Mons, Gent, Antwerpen) & 5 Cours du travail / Arbeidshoven |
| **Hoogste en Grondwettelijke Gerechtshoven** | Cour de cassation / Hof van Cassatie, Cour constitutionnelle / Grondwettelijk Hof & Conseil d'État / Raad van State |

- **Justel / Belgian Official Gazette (ejustice.just.fgov.be):** [https://www.ejustice.just.fgov.be](https://www.ejustice.just.fgov.be) (`ejustice.just.fgov.be`, `etaamb.openjustice.be`, `dekamer.be`)
- **Juportal (juportal.be — First Instance, 5 Courts of Appeal & Court of Cassation):** [https://juportal.be](https://juportal.be) (`juportal.be`, `const-court.be`, `raadvst-consetat.be`)

---

<a id="lang-fr"></a>
## Serveur MCP de Législation et Jurisprudence (`be-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 **Belgium** (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)** | Tribunaux de première instance / Rechtbanken van eerste aanleg, Tribunaux de l'entreprise / Ondernemingsrechtbanken & Tribunaux du travail / Arbeidsrechtbanken |
| **2nd degré (Juridictions cantonales, régionales et cours d'appel)** | 5 Cours d'appel / Hoven van beroep (Bruxelles/Brussel, Liège, Mons, Gent, Antwerpen) & 5 Cours du travail / Arbeidshoven |
| **Juridictions suprêmes et constitutionnelles** | Cour de cassation / Hof van Cassatie, Cour constitutionnelle / Grondwettelijk Hof & Conseil d'État / Raad van State |

- **Justel / Belgian Official Gazette (ejustice.just.fgov.be):** [https://www.ejustice.just.fgov.be](https://www.ejustice.just.fgov.be) (`ejustice.just.fgov.be`, `etaamb.openjustice.be`, `dekamer.be`)
- **Juportal (juportal.be — First Instance, 5 Courts of Appeal & Court of Cassation):** [https://juportal.be](https://juportal.be) (`juportal.be`, `const-court.be`, `raadvst-consetat.be`)

---

<a id="lang-de"></a>
## Rechts- und Rechtsprechungs-MCP-Server (`be-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 **Belgium** (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)** | Tribunaux de première instance / Rechtbanken van eerste aanleg, Tribunaux de l'entreprise / Ondernemingsrechtbanken & Tribunaux du travail / Arbeidsrechtbanken |
| **2. Instanz (Kantons-, Ober- und Berufungsgerichte)** | 5 Cours d'appel / Hoven van beroep (Bruxelles/Brussel, Liège, Mons, Gent, Antwerpen) & 5 Cours du travail / Arbeidshoven |
| **3. Instanz (Höchst- und Verfassungsgerichte)** | Cour de cassation / Hof van Cassatie, Cour constitutionnelle / Grondwettelijk Hof & Conseil d'État / Raad van State |

- **Justel / Belgian Official Gazette (ejustice.just.fgov.be):** [https://www.ejustice.just.fgov.be](https://www.ejustice.just.fgov.be) (`ejustice.just.fgov.be`, `etaamb.openjustice.be`, `dekamer.be`)
- **Juportal (juportal.be — First Instance, 5 Courts of Appeal & Court of Cassation):** [https://juportal.be](https://juportal.be) (`juportal.be`, `const-court.be`, `raadvst-consetat.be`)

---

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

Model Context Protocol (MCP) server providing live, read-only access to **Belgium (BE)** 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 **Belgium**, extracting full text from both HTML pages and official court/gazette PDF judgments:

| Judicial Tier | Covered Courts & Tribunals |
|:---|:---|
| **Tier 1 — First Instance** | Tribunaux de première instance / Rechtbanken van eerste aanleg, Tribunaux de l'entreprise / Ondernemingsrechtbanken & Tribunaux du travail / Arbeidsrechtbanken |
| **Tier 2 — Regional / Cantonal / Appellate** | 5 Cours d'appel / Hoven van beroep (Bruxelles/Brussel, Liège, Mons, Gent, Antwerpen) & 5 Cours du travail / Arbeidshoven |
| **Tier 3 — Supreme & Constitutional** | Cour de cassation / Hof van Cassatie, Cour constitutionnelle / Grondwettelijk Hof & Conseil d'État / Raad van State |

#### Official Portals & Live Indexed Domains

- **National Legislation & Official Gazette:** Justel / Belgian Official Gazette (ejustice.just.fgov.be) — [https://www.ejustice.just.fgov.be](https://www.ejustice.just.fgov.be)
  - *Indexed Legislation Domains:* `ejustice.just.fgov.be`, `etaamb.openjustice.be`, `dekamer.be`
- **Court Decisions & Jurisprudence Archives:** Juportal (juportal.be — First Instance, 5 Courts of Appeal & Court of Cassation) — [https://juportal.be](https://juportal.be)
  - *Indexed Judicial & Open Case Law Domains:* `juportal.be`, `const-court.be`, `raadvst-consetat.be`

---

### Available MCP Tools

| Tool | Description |
|:---|:---|
| `search_legislation` | Searches enacted statutes, codes, decrees, and official gazette publications in Belgium. |
| `search_case_law` | Searches national jurisprudence and open judicial archives for Belgium. |
| `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 Belgium. |
| `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": {
    "be-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/jurisatlas/be-legal-mcp/archive/refs/heads/main.zip",
        "be-legal-mcp"
      ]
    }
  }
}
```
</details>

TDQS

A3.8/5.0

Scored across 6 tools

Disambiguation3/5

verify_citation, search_legislation, get_legal_document_markdown, and list_court_hierarchy are clearly distinct. However, search_case_law and search_tiered_court_decisions both search Belgian court decisions, and the boundary between them is somewhat ambiguous even though tier filtering helps.

Naming Consistency5/5

All tool names use snake_case and begin with clear action verbs. Longer names like get_legal_document_markdown and search_tiered_court_decisions still follow the same verb-first convention.

Tool Count5/5

Six tools is well-scoped for a legal research server. Each tool corresponds to a meaningful operation: citation verification, legislation search, case-law search, document retrieval, court hierarchy, and tiered decision search.

Completeness4/5

The read-only Belgian legal research lifecycle is well covered: search legislation and case law, retrieve documents, verify citations, and inspect court hierarchy. Minor gaps remain, such as direct citation-to-document resolution or explicit cross-linking between legislation and case law, but these can be worked around.