# openlegi

Serveur MCP pour les sources juridiques suivantes :

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add rdassignies/openlegi

# Browse available tools
npx -y @smithery/cli@latest tool list rdassignies/openlegi

# Get full schema for a tool
npx -y @smithery/cli@latest tool get rdassignies/openlegi rechercher_dans_texte_legal

# Call a tool
npx -y @smithery/cli@latest tool call rdassignies/openlegi rechercher_dans_texte_legal '{}'
```

## Direct MCP Connection

Endpoint: `https://openlegi--rdassignies.run.tools`

## Tools (7)

- `rechercher_dans_texte_legal`
- `rechercher_code`
- `rechercher_jurisprudence_judiciaire`
- `recherche_journal_officiel`
- `lister_codes_juridiques`
- `lister_emetteurs_jorf`
- `lister_natures_textes_jorf`

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get rdassignies/openlegi <tool-name>
```

## Resources

- `file:///app/mcp_legifrance/bonjour.txt` — Fichier de test Légifrance
- `https://dassignies.law/wp-content/uploads/2024/03/DASSIGNIES-avocat-intelligence-artificielle-cybersecurite-strategie-protection-actifs-immateriels-formations-expertises-logo-couleur.png` — Logo du cabinet Dassignies
