# LibreJustice

> LibreJustice is an open-source MCP server for legal and government. Remote MCP server for French and European case law and French legal texts. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Web, API, Self-hosted
- **Website:** https://librejustice.fr
- **Repository:** https://github.com/librejustice/librejustice
- **MCP Registry name:** fr.librejustice/librejustice
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-23

## About

The database behind LibreJustice links about 3.9 million court decisions to about 2.1 million legal articles in force and 1.8 million historical versions, refreshed daily from open sources such as Judilibre, Légifrance and EUR-Lex. Decisions come from French administrative and judicial courts, the Conseil constitutionnel, the ECHR and the CJEU, among others, while texts include codes as they stood on any date, the Journal officiel, EU law, treaties and the codes of 59 foreign countries.

The extra layer is a citation graph: from a decision to the exact article versions it cites, and back from an article to decisions that cite it. Search is hybrid lexical and semantic with AI reranking, and per-decision summaries are kept separate from verbatim excerpts.

The MCP endpoint uses OAuth 2.1 with dynamic client registration and no API key. There are four tools, and a Claude Code plugin adds usage skills. A beta REST API with a free key serves the same corpus. The project is Apache-2.0 licensed Rust.

## Features

- **Case law search:** Searches decisions across French, EU and human-rights courts.
- **Legal texts as of a date:** Reads codes and statutes as they stood on any date.
- **Citation graph:** Links decisions to the exact articles they cite and back.
- **Hybrid search:** Combines lexical and semantic search with reranking.
- **Public notices and directory:** Also covers procurement notices and a directory of lawyers and courts.
- **Open source:** Apache-2.0 licensed with a free REST API key.

## Good for

- Find decisions citing a given code article
- Read an article as it stood on a past date
- Search plain-language descriptions of a dispute
- Check which courts addressed a point of law

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http librejustice https://librejustice.fr/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "type": "http",
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://librejustice.fr/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "type": "http",
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://librejustice.fr/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add librejustice --url https://librejustice.fr/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.librejustice]
url = "https://librejustice.fr/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "httpUrl": "https://librejustice.fr/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http librejustice https://librejustice.fr/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "serverUrl": "https://librejustice.fr/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "url": "https://librejustice.fr/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "type": "streamableHttp",
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "librejustice": {
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "librejustice": {
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "librejustice": {
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://librejustice.fr/mcp
```

Enter a Name (for example "LibreJustice"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "librejustice": {
      "type": "http",
      "url": "https://librejustice.fr/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 4 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `search_decisions` (name suggests: reads): Searches court decisions.
- `get_decision` (name suggests: reads): Fetches one decision.
- `search_norms` (name suggests: reads): Searches legal texts.
- `get_norm` (name suggests: reads): Fetches a legal text or article.

## FAQ

### Do I need an API key for MCP?

No, it uses OAuth 2.1 with dynamic client registration.

### How often is LibreJustice updated?

Daily.

### What tools are available?

search_decisions, get_decision, search_norms and get_norm.

### Is LibreJustice free?

The README calls it free and open source, and the REST API key is free.

### How do I add LibreJustice to Claude Code?

Run this command in your terminal: claude mcp add --transport http librejustice https://librejustice.fr/mcp

### What are the best alternatives to LibreJustice?

The closest alternatives to LibreJustice are China Law MCP, x402 Micropayments MCP, Swiss Housing MCP, Lie Detector Test and Norman: Start a company.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [China Law MCP](https://ai-powered.com/mcp/china-law-mcp): China Law MCP is an open-source MCP server for legal and government.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.
- [Swiss Housing MCP](https://ai-powered.com/mcp/swiss-housing-mcp): Swiss Housing MCP is an open-source MCP server for legal and government.
- [Lie Detector Test](https://ai-powered.com/mcp/lie-detector-test): Lie Detector Test is an MCP server for legal and government.
- [Norman: Start a company](https://ai-powered.com/mcp/norman-start-a-company): Norman: Start a company is an MCP server for legal and government.
- [Belgian Legal Lexicon Nl Fr](https://ai-powered.com/mcp/belgian-legal-lexicon-nl-fr): Belgian Legal Lexicon Nl Fr is a free MCP server for legal and government.
- [AllVisas](https://ai-powered.com/mcp/allvisas): AllVisas is an MCP server for relocation data.
- [TurkActuary](https://ai-powered.com/mcp/turkactuary): TurkActuary is an open-source MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/librejustice
