Skip to main content
MCP server CX Codex

openlegi — Claude Code MCP server: what it does, how to install

The openlegi MCP server for Claude Code connects AI assistants to French legal databases, statutes, and case law over remote HTTP, without local runtimes.

no license 1,354 installs updated 2025-09-28

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http openlegi https://openlegi--rdassignies.run.tools
Open on GitHub

What openlegi does

The server connects coding agents directly to French official legal repositories, covering Legifrance, Judilibre court filings, the RNE enterprise registry, and gazettes like BODACC and BOAMP. Models can query articles across specific codifications such as the Code civil or Code du travail alongside rulings from judicial courts.

Seven dedicated tools are included. They handle queries across statutory codes, JORF gazette notices, and court decisions, along with discovery helpers that list supported legal codes and public authorities. When citing historical legislation, the retrieval tools mandate referencing the official Legifrance source link.

Because the service runs on a remote endpoint at https://openlegi--rdassignies.run.tools, setups require zero local package installations. If the external hosting goes down or loses internet access, your assistant drops all French legal retrieval capabilities instantly.

What it helps with

  • search French legal codes such as Code civil or Code du travail for specific articles
  • retrieve judicial rulings from Judilibre by docket number or query terms
  • look up decrees and notices published in the Journal Officiel
  • inspect the complete list of law codes available on Legifrance

Example prompts for the agent

  • Search the Code du travail for statutory severance rules using rechercher_code.
  • List every supported legal code with lister_codes_juridiques.
  • Query Judilibre case law for recent decisions concerning contract termination.

How to install openlegi

Platform CLI: remote server

claude mcp add --transport http openlegi https://openlegi--rdassignies.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about openlegi

How to install openlegi in Claude Code?

Run claude mcp add --transport http openlegi https://openlegi--rdassignies.run.tools in your terminal. That registers the remote HTTP endpoint in your client configuration.

What does openlegi do?

It gives AI assistants direct access to French legislation, court decisions from Judilibre, and announcements from the Journal Officiel. Models can verify legal texts with official links.

Do I need to install Python or Node.js locally for openlegi?

No local runtime is needed because the server operates remotely at https://openlegi--rdassignies.run.tools and communicates via HTTP.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open