# LibreJustice

Connects Claude Code to French and European legal databases, linking court rulings with legislative texts. Helpful for legal research and compliance checks.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 29
- Author: librejustice
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/librejustice/librejustice
- Updated: 2026-10-11
- HTML: https://affpapa.org/en/nevibecode/mcp/librejustice

## What it does

The server queries a combined database of roughly 3.8 million court rulings and 3.9 million statutory articles. It refreshes daily from public repositories. Instead of separating court orders from legislative codes, the engine cross-references citations directly. Decisions link to exact statutory versions, and articles trace back to relevant case law.

Four tools handle the legal corpus: `search_decisions`, `get_decision`, `search_norms`, and `get_norm`. Searches combine lexical matching and semantic vector retrieval. Machine summaries stay strictly distinct from verbatim quotes.

Connecting via MCP requires no manual API keys because the remote endpoint handles OAuth 2.1 dynamic client registration. Self-hosting, however, demands a specialized Rust environment alongside PostgreSQL with ParadeDB and VectorChord extensions.

## Requirements
- Needs: a prebuilt binary from the repository releases
- Remote server: `https://librejustice.fr/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http librejustice https://librejustice.fr/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add librejustice --url https://librejustice.fr/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "librejustice": {
            "url": "https://librejustice.fr/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "librejustice": {
            "type": "http",
            "url": "https://librejustice.fr/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http librejustice https://librejustice.fr/mcp
```

## When to use it
- locate French administrative and judicial court rulings by factual summary
- retrieve statutory text as enacted on an exact historical date
- map judicial decisions that cited a specific legal article
- extract automated summaries without mixing them with official rulings

## Example prompts
- Use LibreJustice to search for French Court of Cassation decisions on abnormal neighborhood disturbance.
- Run `get_norm` to retrieve article 1240 of the French Civil Code in effect during 2021.
- Find Conseil d'État rulings citing public procurement regulations.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27669
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49845

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
