Skip to content
CookDex docs
You're reading the docs for CookDex v2026.10.5, an earlier release. See this page in the latest docs.

Taxonomy tasks

Tags, categories, tools and cookbooks. Most taxonomy editing happens in Organize, which works on Mealie directly; tag-categorize assigns them to recipes. Duplicate tags and categories are merged by cleanup-duplicates.

Organize edits what your recipes are grouped by (Tags, Categories, Tools, Cookbooks) and what their ingredients use (Foods, Units, Labels), right in Mealie. You rename, merge, delete and add entries; nothing changes until you apply. Each list has Suggested merges and Unused filters, with Merge all suggested and Delete all unused buttons. Starter sets add a suggested set of entries, and Export and Import move them as a JSON file.

Organize on the Tags tab: 67 tags with recipe counts, Rename, Merge and Delete on each row, and the All, Suggested merges, Unused and Starter sets filters.

Staged changes collect in a tray at the bottom of the page. Click Review and apply to see them all before anything changes.

  • Changes that could lose something (renames, merges, edits, and deleting entries that are in use) offer Back up Mealie first (recommended), ticked by default. If you’ve just made a backup, untick it to skip the wait. The sheet shows when CookDex last made one, for example “Last backup CookDex made: 2 hours ago”, read from CookDex’s own records, so showing it doesn’t ask Mealie anything. Backups made in Mealie itself aren’t in those records.
  • Changes that only add entries or remove ones nothing uses don’t need a backup, and the sheet says so. Just before an unused entry is deleted, CookDex asks Mealie again and leaves it alone if something started using it, for example “3 foods use it now”.

Quick changes run beside a long job such as Link ingredients, unless they touch what that job is changing; changes with a backup first wait their turn. A waiting change says what it’s waiting for, and its Cancel button stops it before it starts: nothing changes, and your changes stay staged. Once changes are running, Stop ends them; changes already made stay. See When jobs wait.

If Mealie stops answering partway through, Organize stops there instead of trying each remaining change and waiting out its timeout. The changes it didn’t try stay staged, marked “Not tried: Mealie wasn’t answering”, so you can apply them again once Mealie answers.

An entry is unused when no recipe uses it, or for labels, when no food has it. Unused (N) lists them and Delete all unused stages them all. While nothing uses any label yet, for example on a fresh library or right after adding a starter set, no labels are offered for removal.

Entries named in a cookbook’s filter are kept until that cookbook’s filter is edited.

Organize uses what Mealie 3.29 can do itself. Mealie 3.21 to 3.28 work as before.

  • Faster Tools and Foods: it reads how many recipes use each tool and food straight from Mealie instead of counting them one by one, so Foods shows recipe counts and the Unused filter even on libraries with thousands of foods.
  • Shopping lists count as use: the Unused filters for foods, labels and tools follow Mealie’s own list of what’s unused. A food or label that’s only on a shopping list shows Only on a shopping list and isn’t offered for removal, since Mealie won’t delete it.
  • Native merges: label merges use Mealie’s own merge, which also moves shopping list items to the kept label, and tool merges use Mealie’s merge route. On older Mealie, recipes are moved one by one, as before.

Each cookbook shows its rules as sentences with pills, such as “Category is any of Dinner Quick”, joined by “and”. A filter that isn’t only category, tag and tool rules, such as one with a rating, a total time or “has no value”, is shown as written and left unchanged.

Option Type Default Description
dry_run boolean true Preview changes without writing anything.
backup_first boolean true Create a Mealie backup before a live run. Hidden while dry_run=true.
method string both both runs rules first then AI, rules uses rules only, ai skips rules.
recat boolean false Re-process every recipe, including recipes that already have organization data. Hidden for rules.
provider string configured default Override AI provider for this run. Hidden for rules.
missing_targets string skip skip missing taxonomy targets or create them automatically. Hidden for ai.

Each cookbook’s queryFilterString is a list of clauses joined with AND. CookDex accepts these clauses:

Filter Fields Operators Example
Categories recipeCategory.name, recipe_category.id IN, NOT IN, CONTAINS ALL recipeCategory.name IN ["Dinner"]
Tags tags.name, tags.id IN, NOT IN, CONTAINS ALL tags.name NOT IN ["Dessert"]
Tools tools.name, tools.id IN, NOT IN, CONTAINS ALL tools.name IN ["Air Fryer"]
Foods recipeIngredient.food.name, recipeIngredient.food.id IN, NOT IN, CONTAINS ALL recipeIngredient.food.name IN ["Chicken"]
Food labels recipeIngredient.food.label.name, recipe_ingredient.food.label_id IN, NOT IN, CONTAINS ALL recipeIngredient.food.label.name IN ["Seafood"]
Rating rating =, <>, >, >=, <, <= rating >= 4
Total time total_time_seconds =, <>, >, >=, <, <= total_time_seconds <= 1800
Has a value any field IS NULL, IS NOT NULL tags.id IS NULL
  • Filters in an imported taxonomy file can use names. Organize resolves category, tag, tool and food-label names to Mealie ids when the change is applied, after any tags or categories created in the same batch. A name that can’t be found fails that cookbook with a message.
  • rating is the recipe’s average rating across all users, from 0 to 5. Unrated recipes never match a rating clause, including rating < 3.
  • total_time_seconds is in seconds. Mealie 3.29’s cookbook editor writes total-time and “has no value” / “has a value” filters; CookDex reads them, so they no longer stop unused entries from being deleted (“A cookbook filter couldn’t be checked”).
  • Rating filters need Mealie v3.25 or later, food-label filters v3.28 or later, and total-time and “has a value” filters v3.29 or later. When an older Mealie rejects one of these filters, Mealie’s error is shown for that cookbook.

Example: rating >= 4 AND recipeIngredient.food.label.name IN ["Seafood"].

Retired: taxonomy-refresh and cookbook-sync

Section titled “Retired: taxonomy-refresh and cookbook-sync”

Both pushed CookDex’s own copy of the taxonomy to Mealie. Organize now edits Mealie directly, so they were removed along with the Taxonomy Editor. On upgrade, CookDex saves whatever the old copy held (and any unpublished editor draft) to reports/retired-managed-taxonomy-<time>.json, which you can import in Organize, and turns off schedules that used either task with a note saying why.