# 18_Mealie

## mealie

*Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor*

<table id="bkmrk-imageghcr.io%2Fmealie-"><tbody><tr><th>Image</th><td>`ghcr.io/mealie-recipes/mealie:latest`</td></tr><tr><th>Version</th><td>v3.16.0</td></tr><tr><th>Etat</th><td><span style="color:#008000;">Up 9 hours (healthy)</span></td></tr><tr><th>Compose project</th><td>mealie2</td></tr><tr><th>Reseau</th><td>mealie2\_default</td></tr><tr><th>URL</th><td>[https://mealie.juxjux.ovh](https://mealie.juxjux.ovh)</td></tr><tr><th>Source</th><td>[https://github.com/mealie-recipes/mealie](https://github.com/mealie-recipes/mealie)</td></tr></tbody></table>

### Ports

<table id="bkmrk-hotecontainerip99259"><thead><tr><th>Hote</th><th>Container</th><th>IP</th></tr></thead><tbody><tr><td>9925</td><td>9000/tcp</td><td>0.0.0.0</td></tr><tr><td>9925</td><td>9000/tcp</td><td>::</td></tr></tbody></table>

### Volumes

<table id="bkmrk-source-%28hote%29destina"><thead><tr><th>Source (hote)</th><th>Destination</th><th>Type</th><th>Mode</th></tr></thead><tbody><tr><td>`/home/debian/docker/mealie/backups`</td><td>`/app/backups`</td><td>bind</td><td>rw</td></tr><tr><td>`/home/debian/docker/mealie/config`</td><td>`/app/config`</td><td>bind</td><td>rw</td></tr><tr><td>`/home/debian/docker/mealie/data`</td><td>`/app/data`</td><td>bind</td><td>rw</td></tr></tbody></table>

---

## Integration Claude Code — MCP

<table id="bkmrk-statut-mcpmcp-actifo"><tbody><tr><th>Statut MCP</th><td><span style="color:#008000;">MCP actif</span></td></tr><tr><th>Outils (prefix)</th><td>`mcp__mealie__`</td></tr><tr><th>Configuration</th><td>Script Python : C:\\Users\\eliob\\.claude\\mcp\_mealie.py | Auth : OAuth2 Bearer Token via POST /api/auth/token</td></tr></tbody></table>

### Outils disponibles

- `get_recipes`
- `get_recipe`
- `create_recipe`
- `create_recipe_from_url`
- `delete_recipe`
- `get_categories`
- `get_tags`
- `get_cookbooks`
- `get_cookbook`
- `get_meal_plan`
- `add_meal_plan_entry`
- `get_shopping_lists`
- `get_shopping_list`
- `add_shopping_item`

### Ce que nous pouvons faire ensemble

- Parcourir et rechercher des recettes par catégorie ou tag
- Importer automatiquement une recette depuis une URL
- Planifier les repas de la semaine
- Gérer les listes de courses (ajout d'ingrédients)
- Créer une recette depuis une description ou un texte fourni

---

## Sauvegarde de la base de données

Sauvegarde automatique quotidienne de la base SQLite de Mealie vers kDrive Infomaniak. Mise en place le 2026-06-01.

### Paramètres

<table id="bkmrk-script%2Fopt%2Fbackups%2Fv"><tbody><tr><th>Script</th><td>`/opt/backups/vps_backup.sh`</td></tr><tr><th>Cron</th><td>Tous les jours à 2h du matin (`0 2 * * *`)</td></tr><tr><th>Type base</th><td>SQLite — `/app/data/mealie.db` (dans le container)</td></tr><tr><th>Méthode</th><td>`docker cp mealie:/app/data/mealie.db`</td></tr><tr><th>Taille base</th><td>~2.9 Mo</td></tr><tr><th>Format archive</th><td>.7z (compression niveau 5)</td></tr><tr><th>Destination</th><td>kDrive Infomaniak — `TOOJUX/jux_vps/mealie` (dossier ID 1427921)</td></tr><tr><th>Rétention</th><td>7 jours glissants</td></tr><tr><th>Nommage fichier</th><td>`mealie_db_YYYY-MM-DD.7z`</td></tr></tbody></table>