
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).
概覽
LibreJustice 的遠端 MCP 伺服器,讓助理檢索法語與歐洲判例及法國法律文本,並在判例與條文之間建立引用關聯。
- 可以做什麼
- 檢索法國行政與司法法院、憲法委員會、ECHR 與 CJEU 的判例,可依法院、日期、裁判結果與所引條文篩選
- 取得單篇判決,包含與原文摘錄分開保存的 AI 摘要
- 檢索法律文本:任一日期的有效版本法規與法律、官方公報、歐盟法、條約、集體協議與外國法典
- 取得某法典的特定條文,查看其版本沿革以及引用該條文的判決
- 適用情境
- 適合助理需要回答法國或歐洲法律問題、查找某主題的判決,或確認某條文在特定日期的內容,而不想分別為文本與判例串接多個資料來源時使用。
- 執行需求
- 透過 streamable HTTP 連線 librejustice.fr/mcp 遠端端點。需要 OAuth 2.1 動態用戶端註冊授權;MCP 連接器不需 API 金鑰或環境變數。用戶端需支援自訂連接器或 OAuth。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 LibreJustice,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
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:
The skills alone (without the MCP connector) install into any compatible agent through skills:
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.
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-corepure core: the decision model and its normalisation.lj-parsesource parsers into the decision model.lj-normreferential of the legal texts: article keys, aliases, applicability.lj-extractfield and citation extraction from decisions.lj-sourcessource I/O (Judilibre JSON, opendata ZIP/XML).lj-storePostgres access (tokio-postgres + deadpool) and migrations.lj-llmembedding backends, cache, quantisation, Mistral client (chat/OCR).lj-dtosapi to web contracts (serde).lj-telemetrytracing and OTLP export.lj-apiAPI layer (Axum + MCP rmcp + OAuth).lj-webLeptos front end (SSR + WASM hydration), Tailwind.
apps/shippable binaries:lj-serversingle deployment: API + MCP/OAuth + SSR.lj-ingestingest CLI and cron runner.
Build and dev
The Rust toolchain is pinned by rust-toolchain.toml. Tasks run through mise:
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:
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
來源:README.md,提交 ca1d060
工具
0版本歷史
2- v1.18.0最新Sep 30, 2026
- v1.0.0Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分