LibreJustice

fr.librejustice由 librejustice.fr 发布官方发布者v1.18.0更新于 Nov 4, 2026

Search French-language and European case law and French legal texts (codes, statutes, treaties).

已验证Streamable HTTP可网页运行网页搜索与抓取知识与记忆

概览

AI 生成的概览

LibreJustice 的远程 MCP 服务器,让助手检索法语及欧洲判例与法国法律文本,并在判例与条文之间建立引用关联。

可以做什么
  • 检索法国行政与司法法院、宪法委员会、ECHR 与 CJEU 的判例,可按法院、日期、裁判结果和所引条文筛选
  • 获取单篇判决,包括与原文摘录分开保存的 AI 摘要
  • 检索法律文本:任意日期生效版本的法规与法律、官方公报、欧盟法、条约、集体协议及外国法典
  • 获取某法典的具体条文,查看其版本历史以及引用该条文的判决
适用场景
适合助手需要回答法国或欧洲法律问题、查找某主题的判决,或确认某条文在特定日期的表述,而不想分别为文本和判例接入多个数据源时使用。
运行要求
通过 streamable HTTP 连接 librejustice.fr/mcp 远程端点。需要 OAuth 2.1 动态客户端注册授权;MCP 连接器无需 API 密钥或环境变量。客户端需支持自定义连接器或 OAuth。
安装前请注意
连接器需要针对 LibreJustice 账户完成 OAuth 授权。结果来自每日同步的公开法律数据源,并包含 AI 生成的摘要与重排,依赖前应与原文核对。检索内容会发送给第三方服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 LibreJustice,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/fr.librejustice%2Flibrejustice/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

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

README

LibreJustice

librejustice.fr: a free search engine for French-language and European law, plus current public notices. It links case law from France's administrative and judicial courts to consolidated legal texts and makes them searchable in plain language on the web and through MCP.

Free and open source. ~3.8 million decisions and ~3.9 million legal articles in one database, linked article by article, resynchronised daily. That is the whole point: texts and case law live together, so there is no second server to plug in for the codes and no third one for the citation graph.

What you search

  • Case law: Conseil d'État, Cour de cassation, cours d'appel, administrative and judicial first-instance courts, Conseil constitutionnel, CNIL, CNDA (publicly released decisions only), Tribunal des conflits, ECHR, CJEU. Filters by court, date, outcome and cited articles.
  • Legal texts: codes and statutes as they stood on any date (consolidated versions with per-article history), the full Journal officiel, EU law, treaties and bilateral accords, collective agreements, BOFiP, circulaires, and the codes of 59 foreign countries.
  • Public notices: open public procurement opportunities from BOAMP and buyer platforms, deduplicated with submission links and deadlines.
  • Directory: lawyers, companies and courts, linked to their litigation.

Corpus refreshed daily from open sources (Judilibre, DILA/Légifrance, EUR-Lex...).

What the official sources do not offer

Public databases are silos, each with a search engine bounded by its own fonds (Judilibre covers the judicial courts only; the administrative open data searches CE/CAA/TA by keyword, court and date; Légifrance holds the texts). LibreJustice consolidates them and adds the missing layer:

  • plain-language search (hybrid lexical + semantic) with AI reranking, dynamic facets and similar decisions;
  • the graph: citations extracted and resolved, from a decision to the exact articles it cites at the right version, and from an article back to the decisions that cite it;
  • cross-source deduplication (one decision, one page) and recovery of decisions missing from the official channels;
  • AI summaries per decision, always kept distinct from verbatim excerpts;
  • a remote MCP endpoint for AI assistants.

Using LibreJustice from an AI assistant

The public MCP server is https://librejustice.fr/mcp (OAuth 2.1 with dynamic client registration: no API key to configure). Four tools: search_decisions, get_decision, search_norms, get_norm.

With Claude Code, the plugin installs the connector and the usage skills:

/plugin marketplace add librejustice/librejustice/plugin install librejustice@librejustice

The skills alone (without the MCP connector) install into any compatible agent through skills:

npx skills add librejustice/librejustice

On claude.ai, LibreJustice is listed in the connector directory. One click, then the OAuth authorisation. With ChatGPT, Le Chat or Perplexity, add a custom connector pointing at https://librejustice.fr/mcp.

Using LibreJustice from your own code

The same corpus in REST, described by openapi.json (OpenAPI 3.1). The key is free: create an account, then a key from your profile. Guide at librejustice.fr/api-guide.

bash
curl -H 'Authorization: Bearer ljk_your_key' \  'https://librejustice.fr/api/search?q=trouble+anormal+de+voisinage&limit=3'

Five routes: /api/search, /api/search-textes, /api/decision/{id}, /api/texte/{code}/{article} and the same with a trailing /{date} for the version in force that day.

Stack

A single-server node, Postgres + ParadeDB + VectorChord (hybrid BM25 + vector search), API and front end in Rust.

A pure Rust Cargo workspace, split in two roots:

  • packages/ libraries:
    • lj-core pure core: the decision model and its normalisation.
    • lj-parse source parsers into the decision model.
    • lj-norm referential of the legal texts: article keys, aliases, applicability.
    • lj-extract field and citation extraction from decisions.
    • lj-sources source I/O (Judilibre JSON, opendata ZIP/XML).
    • lj-store Postgres access (tokio-postgres + deadpool) and migrations.
    • lj-llm embedding backends, cache, quantisation, Mistral client (chat/OCR).
    • lj-dtos api to web contracts (serde).
    • lj-telemetry tracing and OTLP export.
    • lj-api API layer (Axum + MCP rmcp + OAuth).
    • lj-web Leptos front end (SSR + WASM hydration), Tailwind.
  • apps/ shippable binaries:
    • lj-server single deployment: API + MCP/OAuth + SSR.
    • lj-ingest ingest CLI and cron runner.

Build and dev

The Rust toolchain is pinned by rust-toolchain.toml. Tasks run through mise:

bash
mise run test      # rustfmt --check + clippy -D warnings + cargo test --workspacemise run dev       # merged lj-server (cargo leptos watch, :3000)

For a local database: mise run dbs. The task prepares the Postgres state under LIBREJUSTICE_STATE_DIR, owning the data directory and copying the configuration mounted by the container, before starting it.

Deployment

Single server through podman compose (infra/docker-compose.yml): Postgres (ParadeDB + VectorChord), the merged lj-server binary, a caddy front end and the ingest cron. Fill in .env (see .env.example), then:

bash
mise run ensure-pg                                                          # Postgres state and confpodman compose -f infra/docker-compose.yml --profile prod up -d --buildpodman compose -f infra/docker-compose.yml exec -T cron lj-ingest migrate   # migrations

lj-server serves the API, MCP/OAuth, SSR and the assets. It listens in clear; caddy holds :443 and terminates TLS, so the socket stays bound when the application container is recreated.

The shipped Postgres configuration (infra/pg-conf/) carries what the application requires (extensions, ParadeDB settings, compression) sized for a development machine. A production instance raises shared_buffers and effective_cache_size to match its hardware.

Licence

Apache-2.0.

来源:README.md,提交 ca1d060

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v1.18.0最新Sep 30, 2026
  2. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分