French Law Server
БесплатноНе проверенEnables querying and retrieving legal texts and decisions from French public APIs Légifrance and JudiLibre for legal research.
Описание
Enables querying and retrieving legal texts and decisions from French public APIs Légifrance and JudiLibre for legal research.
README
Serveur MCP (Model Context Protocol) pour interroger les API publiques du droit français : Légifrance et JudiLibre.
Basé sur le projet DroitFrancaisMCP de Jean-Michel Tanguy.
Fonctionnalités
Légifrance
- rechercher_legifrance() : Recherche multi-critères dans tous les fonds juridiques
- consulter_legifrance() : Récupération du texte intégral avec métadonnées
JudiLibre
- rechercher_jurisprudence_judilibre() : Recherche de décisions avec filtres avancés
- consulter_decision_judilibre() : Récupération du texte complet d'une décision
- obtenir_taxonomie_judilibre() : Accès aux valeurs valides des filtres
Prérequis
- Python 3.8+
- Compte PISTE : s'inscrire sur piste.gouv.fr
- S'abonner aux API Légifrance et JudiLibre
- Valider les conditions d'utilisation
Installation
# Cloner le repo
git clone <repo-url>
cd Legal
# Créer un environnement virtuel
python -m venv venv
source venv/bin/activate # Linux/macOS
# Installer les dépendances
pip install -e ".[dev]"
# Configurer les identifiants
cp .env.example .env
# Éditer .env avec vos identifiants PISTE
Configuration
Copier .env.example vers .env et renseigner vos identifiants PISTE :
PISTE_CLIENT_ID=votre_client_id
PISTE_CLIENT_SECRET=votre_client_secret
Utilisation avec Claude Desktop
Ajouter dans la configuration MCP de Claude Desktop :
{
"mcpServers": {
"droit-francais": {
"command": "python",
"args": ["<chemin>/droit_francais_MCP.py"]
}
}
}
Tests
pytest test_api_legifrance.py -v -m integration
pytest test_api_judilibre.py -v -m integration
Licence
MIT License - Copyright (c) 2025 Jean-Michel Tanguy
Установка French Law Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/BenjoNX/LegalFAQ
French Law Server MCP бесплатный?
Да, French Law Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для French Law Server?
Нет, French Law Server работает без API-ключей и переменных окружения.
French Law Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить French Law Server в Claude Desktop, Claude Code или Cursor?
Открой French Law Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare French Law Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
