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

Model Context Protocol (MCP) server providing direct, read-only access to **Belgium (BE)** legislation, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and statutory citation verification for Claude Desktop, Cursor, and Antigravity.

---

## Quick Desktop Setup (No Command Line Required)

This package includes a graphical installer for legal practitioners who prefer not to use terminal commands or edit JSON configuration files manually.

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. **Connect:** Click **Install & Connect Automatically** in the setup window and restart Claude Desktop.

**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 environment inside the extracted folder and registers the server entry in your AI client configuration.

---

## Multi-Tier Judicial Hierarchy & Official Sources

This server indexes and queries decisions across the full judicial hierarchy of **Belgium**, allowing practitioners to filter research by procedural stage:

| 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 |

### Primary Legal Portals

- **National Legislation Registry:** Justel / Belgian Official Gazette (ejustice.just.fgov.be) (`https://www.ejustice.just.fgov.be`)
- **Multi-Tier Case Law Database:** Juportal (juportal.be — First Instance, 5 Courts of Appeal & Court of Cassation) (`https://juportal.be`)
- **Supported Citation Format Example:** `ECLI:BE:CASS:2024:ARR.20240115 or Moniteur Belge`

### Indexed Court & Regional Sub-Portals

| Sub-Portal Identifier (`sub_court`) | Official Endpoint / Registry |
|:---|:---|
| `juportal_all_tiers` | `https://juportal.be` |
| `raadvst_consetat` | `http://www.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 European/ECLI-linked judgments for Belgium. |
| `search_tiered_court_decisions` | Filters case law specifically by judicial instance (`first_instance`, `appellate_regional`, `supreme_constitutional`) or regional/cantonal court key (`sub_court`). |
| `list_court_hierarchy` | Returns the complete 3-tier court structure and registered sub-portal endpoints for Belgium. |
| `get_legal_document_markdown` | Retrieves full statutory or judicial texts 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",
        "git+https://github.com/jurisatlas/be-legal-mcp",
        "be-legal-mcp"
      ]
    }
  }
}
```
</details>