Mealie MCP Server
v0.6.0MCP server for Mealie, the self-hosted recipe manager and meal planner
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_about About this Mealie instance
Reports the Mealie version and the identity the API token acts as: user, group, household and the permission flags that decide which write tools will actually succeed. Start here when a call fails with a 403.
search_recipes Search recipes
Searches the recipe collection. Returns summaries — name, slug, id, times, rating, tags and categories — without ingredients or steps; use get_recipe for those. search, the organizer filters and the date range combine with AND; within one filter the entries are OR unless the matching require_all_* flag is set. cookbook is the exception: Mealie applies a cookbook instead of the tag, category, tool and food filters, so combining them is rejected here rather than silently ignored.
| Parameter | Type | Description |
|---|---|---|
categories | array | Restrict the result to recipes carrying these categories — names, slugs or UUIDs. Each entry is resolved to an id before the search runs, and an entry that matches nothing is an error: Mealie itself… |
cookbook | string | Restrict the result to a cookbook, by slug or UUID. Cannot be combined with the tag, category, tool or food filters. |
foods | array | Restrict the result to recipes using these foods, by UUID from list_foods. Mealie resolves no other form here and answers a name or a slug with HTTP 500. |
order_by | string | Sort field, default created_at. "random" shuffles the collection; each call draws a new shuffle, so paging through a random order is not meaningful. |
order_direction | string | Sort direction, default desc |
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 25, max 100 |
require_all_categories | boolean | |
require_all_foods | boolean | |
require_all_tags | boolean | Require every listed tag instead of any of them |
require_all_tools | boolean | |
search | string | Full-text search over names, descriptions and ingredients |
tags | array | Restrict the result to recipes carrying these tags — names, slugs or UUIDs. Each entry is resolved to an id before the search runs, and an entry that matches nothing is an error: Mealie itself would… |
tools | array | Restrict the result to recipes carrying these tools — names, slugs or UUIDs. Each entry is resolved to an id before the search runs, and an entry that matches nothing is an error: Mealie itself woul… |
unparsed_only | boolean | Only recipes with at least one ingredient line that has no food yet — the ones Mealie flags as not parsed. Recipes without any ingredients count as well. Use it to page through a collection with par… |
get_recipe Get recipe
Fetches one recipe with everything needed to cook it: ingredients, steps, times, yield, notes and nutrition. Accepts the slug or the UUID.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
detail | string | "default" returns the cleaned-up recipe; "raw" returns Mealie's untouched object including settings, assets, extras and inline comments |
suggest_recipes Suggest recipes
Suggests recipes that can be cooked from the foods and tools marked as "on hand" in Mealie, ranked by how little is missing. This only produces anything on an instance that actually maintains structured foods, units and an on-hand pantry — on a collection of plain text ingredients it returns nothing. Use search_recipes there.
| Parameter | Type | Description |
|---|---|---|
foods | array | Food UUIDs to treat as available, from list_foods |
limit | integer | Number of suggestions, default 10 |
max_missing_foods | integer | How many ingredients a suggestion may be missing, default 5 |
max_missing_tools | integer | |
tools | array | Tool UUIDs to treat as available, from list_organizers |
list_recipe_comments List recipe comments
Lists the comments other users of the instance left on a recipe.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes |
list_recipe_timeline List recipe timeline
Lists the timeline of a recipe: when it was created, updated and each time it was cooked, with the notes attached to those events.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 50, max 100 |
list_organizers List tags, categories or tools
Lists the tags, categories or tools defined in the group, with their ids and slugs. These are the values search_recipes filters on.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which organizer: "tag" (free-form labels), "category" (the primary classification, one recipe usually has few) or "tool" (equipment a recipe needs) |
order_direction | string | Sort direction, default desc |
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 100, max 100 |
search | string | Filter by name |
list_foods List foods
Lists the structured foods of the group — the ingredient vocabulary Mealie matches ingredient lines against. Many instances leave this empty and keep ingredients as plain text; an empty result means exactly that, not a failure.
| Parameter | Type | Description |
|---|---|---|
order_direction | string | Sort direction, default desc |
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 100, max 100 |
search | string |
list_units List units
Lists the measurement units of the group, with their abbreviations. Like foods, this is empty on an instance that never seeded them.
| Parameter | Type | Description |
|---|---|---|
order_direction | string | Sort direction, default desc |
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 100, max 100 |
search | string |
parse_ingredients Parse ingredient lines
Splits free-text ingredient lines into quantity, unit, food and note, and reports how confident Mealie is about each part. Nothing is saved. Use it to check how a line will be understood before writing it to a recipe or a shopping list.
| Parameter | Type | Description |
|---|---|---|
ingredients * | array | Ingredient lines, e.g. "2 tbsp olive oil" |
parser | string | "nlp" (default) uses the trained model, "brute" a rule-based split. Mealie also offers an "openai" parser; it is not exposed here because it sends every line to an external provider. |
list_mealplans List meal plan entries
Lists the meal plan of the household in a date range. Each entry is either a recipe reference or a free-text note.
| Parameter | Type | Description |
|---|---|---|
end_date | string | Last day to include, YYYY-MM-DD |
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 50, max 100 |
start_date | string | First day to include, YYYY-MM-DD |
get_todays_meals Get today's meals
Returns the recipes planned for today, as Mealie computes "today" for the household. Answers with a bare list, not a paginated envelope.
list_shopping_lists List shopping lists
Lists the shopping lists of the household, without their items.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 50, max 100 |
get_shopping_list Get shopping list
Fetches one shopping list with all of its items, checked and unchecked.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Shopping list UUID, from list_shopping_lists |
include_checked | boolean | Include items already ticked off, default true |
list_cookbooks List cookbooks
Lists the cookbooks of the household. A cookbook is a saved filter over the recipe collection, not a fixed set of recipes.
| Parameter | Type | Description |
|---|---|---|
page | integer | 1-based page number, default 1 |
per_page | integer | Number of entries to return, default 50, max 100 |
get_cookbook Get cookbook
Fetches a cookbook and the recipes it currently matches. Accepts the slug or the UUID.
| Parameter | Type | Description |
|---|---|---|
cookbook * | string | Cookbook slug or UUID, from list_cookbooks |
per_page | integer | Number of entries to return, default 50, max 100 |
preview_recipe_url Preview a recipe URL
Fetches a URL and reports what Mealie would extract from it, WITHOUT saving anything. Use this to check a page before importing it, or to find out why an import came out empty.
| Parameter | Type | Description |
|---|---|---|
url * | string | Address of the recipe page to test |
create_recipe Create recipe
Creates a recipe from the given fields. To add one from a website use import_recipe_from_url instead — it fills in far more.
| Parameter | Type | Description |
|---|---|---|
name * | string | Recipe name. Mealie derives the slug from it and rejects a duplicate. |
categories | array | Category names. They replace the existing categories. |
cook_time | string | |
description | string | |
ingredients | array | Ingredient lines. They replace the existing list. Each is either free text ("500 g quark"), which Mealie shows as unparsed, or an object {quantity, unit, food, note, title, original_text} with unit an… |
instructions | array | Preparation steps, in order. They replace the existing list. Each step is either plain text or an object {title, text} when the step has its own heading (e.g. "Prep", "Bake"); a bare string is equival… |
notes | array | |
prep_time | string | |
recipe_yield | string | |
servings | number | |
source_url | string | Original source of the recipe, an http:// or https:// address, stored as orgURL |
tags | array | Tag names. They replace the existing tags; unknown names are created. |
total_time | string |
update_recipe Update recipe
Changes individual fields of a recipe. Only the fields given are touched; everything else keeps its value. Passing an empty array for ingredients, instructions, tags or categories clears that list. Replacing written content — name, description, ingredients, instructions, tags, categories or notes — requires confirmation: call once to receive a token, then again with that token. Changing only times, servings, yield or the source link does not.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
categories | array | Category names. They replace the existing categories. |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
cook_time | string | |
description | string | |
ingredients | array | Ingredient lines. They replace the existing list. Each is either free text ("500 g quark"), which Mealie shows as unparsed, or an object {quantity, unit, food, note, title, original_text} with unit an… |
instructions | array | Preparation steps, in order. They replace the existing list. Each step is either plain text or an object {title, text} when the step has its own heading (e.g. "Prep", "Bake"); a bare string is equival… |
name | string | |
notes | array | |
prep_time | string | |
recipe_yield | string | |
servings | number | |
source_url | string | Original source of the recipe, an http:// or https:// address, stored as orgURL |
tags | array | Tag names. They replace the existing tags; unknown names are created. |
total_time | string |
parse_recipe_ingredients Parse recipe ingredients
Structures a recipe's unparsed ingredient lines in place: Mealie's parser splits each line into quantity, unit, food and note, and the lines whose food and unit exist in Mealie and whose confidence is high enough are written back. Lines that already have a food are left alone. Everything else comes back under needs_decision with the reason — ask the user there, then create the food with create_food and run this again, or pass the existing food they chose in overrides. Runs as a dry run unless dry_run is false; writing requires confirmation: call once to receive a token, then again with that…
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
dry_run | boolean | Default true: report what would be written, write nothing and ask nothing. Pass false to write. |
min_confidence | number | Lowest average parser confidence that is written without asking, default 0.9. Lines below it go to needs_decision. |
overrides | array | The user's answers for lines from needs_decision. An override replaces the parser's food or unit for that line and settles its confidence; the parser's quantity and note are kept. |
parser | string | "nlp" (default) uses the trained model and reports a real confidence. "brute" is rule-based and reports 1.0 for whatever it splits, so min_confidence does not protect anything there. The "openai" pars… |
duplicate_recipe Duplicate recipe
Creates a copy of a recipe under a new name, leaving the original untouched. Useful as a starting point for a variation.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
name | string | Name of the copy; Mealie appends a counter when omitted |
set_recipe_image Set recipe image
Replaces a recipe's cover image.
| Parameter | Type | Description |
|---|---|---|
format * | string | Image format, used for the upload filename, extension field and content type |
image_base64 * | string | The image, base64-encoded, without a data: URI prefix |
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes |
set_recipe_last_made Set last made
Records when a recipe was last cooked. Mealie shows this on the recipe and sorts by it.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
timestamp * | string | When it was made, e.g. 2026-08-18 or 2026-08-18T19:30:00Z |
delete_recipe Delete recipe
Deletes a recipe permanently, together with its comments, timeline and images. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
import_recipe_from_url Import recipe from URL
Has Mealie fetch a recipe page and save it as a new recipe. The fetch happens on the Mealie server, not here. Everything the page contains — name, description, ingredients, steps — ends up in the collection as written by whoever controls that site.
| Parameter | Type | Description |
|---|---|---|
url * | string | Address of the recipe to import |
include_categories | boolean | |
include_tags | boolean | Adopt the page's keywords as tags, default false |
import_recipe_from_html_or_json Import recipe from HTML or JSON
Creates a recipe from HTML or schema.org recipe JSON supplied directly, so Mealie does not fetch the page. Useful for a page that needs a login, or one that import_recipe_from_url could not parse. It does not fetch the *page*, but it is not fetch-free: Mealie reads the image address out of the document and retrieves that. Every such address this server can find is checked before the document is handed over, and an internal one is refused — but a document can hide an address in ways a scan does not see, so do not paste one from a source you would not let Mealie make a request for.
| Parameter | Type | Description |
|---|---|---|
data * | string | The page HTML, or a schema.org Recipe JSON document |
import_recipe_from_image Import recipe from image
Creates a recipe from a photo of one — a cookbook page, a handwritten card — by having Mealie run it through its configured AI provider. Requires an AI provider set up in Mealie; without one the call fails, and the setting itself is only visible to a group manager or admin.
| Parameter | Type | Description |
|---|---|---|
format * | string | Image format, used for the upload filename and content type |
image_base64 * | string | The image, base64-encoded, without a data: URI prefix |
translate_language | string | Translate the extracted recipe into this language, e.g. "de" or "German" |
create_organizer Create a tag, category or tool
Creates a tag, category or recipe tool. Assigning one to a recipe with update_recipe already creates it on the fly — this tool is for defining one up front.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which organizer: "tag" (free-form labels), "category" (the primary classification, one recipe usually has few) or "tool" (equipment a recipe needs) |
name * | string |
update_organizer Rename a tag, category or tool
Renames a tag, category or tool. Mealie regenerates the slug from the new name, so anything referring to the old slug stops matching. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID from list_organizers |
kind * | string | Which organizer: "tag" (free-form labels), "category" (the primary classification, one recipe usually has few) or "tool" (equipment a recipe needs) |
name * | string | The new name |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
delete_organizer Delete a tag, category or tool
Deletes a tag, category or tool. The recipes themselves are kept, but they lose the assignment. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID from list_organizers |
kind * | string | Which organizer: "tag" (free-form labels), "category" (the primary classification, one recipe usually has few) or "tool" (equipment a recipe needs) |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
create_food Create food
Adds a food to the group vocabulary so ingredient lines can be matched against it.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
description | string | |
label_id | string | Shopping-list label to file this food under |
plural_name | string |
create_unit Create unit
Adds a measurement unit to the group vocabulary.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
abbreviation | string | |
description | string | |
fraction | boolean | Show quantities as fractions (½ cup) rather than decimals |
plural_name | string | |
use_abbreviation | boolean | Render the abbreviation instead of the name |
merge_foods Merge foods
Points every ingredient that uses one food at another one and deletes the source food. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
from_id * | string | UUID of the food to merge away — this one is deleted |
to_id * | string | UUID of the food to keep — references end up here |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
merge_units Merge units
Points every ingredient that uses one unit at another one and deletes the source unit. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
from_id * | string | UUID of the unit to merge away — this one is deleted |
to_id * | string | UUID of the unit to keep — references end up here |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
create_mealplan_entry Add to the meal plan
Puts a recipe or a free-text note on the meal plan for one day. Give either a recipe or a title, not both — Mealie stores a plan entry as one or the other.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day of the meal, YYYY-MM-DD |
entry_type * | string | Which meal of the day this entry belongs to |
recipe | Recipe slug or UUID to plan | |
text | string | Additional note shown under the title |
title | string | Free-text entry, for a meal that is not a stored recipe |
create_random_meal Add a random meal
Lets Mealie pick a recipe for a day and slot, honouring the meal plan rules configured in the household.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day of the meal, YYYY-MM-DD |
entry_type * | string | Which meal of the day this entry belongs to |
update_mealplan_entry Change a meal plan entry
Moves an entry to another day or slot, or replaces the recipe behind it. Replacing the written title or note of an entry requires confirmation: call once to receive a token, then again with that token. Moving the entry or swapping the recipe does not.
| Parameter | Type | Description |
|---|---|---|
entry_id * | integer | Plan entry id from list_mealplans — an integer, not a UUID |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
date | string | |
entry_type | string | Which meal of the day this entry belongs to |
recipe | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
text | string | |
title | string |
delete_mealplan_entry Remove a meal plan entry
Removes one entry from the meal plan. The recipe itself is not touched. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
entry_id * | integer | Plan entry id from list_mealplans — an integer, not a UUID |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
create_shopping_list Create shopping list
Creates an empty shopping list in the household.
| Parameter | Type | Description |
|---|---|---|
name * | string |
delete_shopping_list Delete shopping list
Deletes a shopping list and everything on it. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Shopping list UUID, from list_shopping_lists |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
add_shopping_list_items Add items to a shopping list
Adds items to a shopping list as free text ("2 tbsp olive oil"). Mealie does not split these into food and unit automatically — run parse_ingredients first if that matters.
| Parameter | Type | Description |
|---|---|---|
items * | array | The lines to add, one item each |
list_id * | string | Shopping list UUID, from list_shopping_lists |
update_shopping_list_items Tick off or change shopping list items
Changes items on a shopping list — most often ticking them off. Only the given fields are changed; the rest of each item is preserved. Ticking off and changing quantities is immediate; replacing the text of the items with note requires confirmation, because that text is overwritten on every item named and Mealie keeps no copy.
| Parameter | Type | Description |
|---|---|---|
item_ids * | array | Item UUIDs from get_shopping_list |
list_id * | string | Shopping list UUID, from list_shopping_lists |
checked | boolean | Tick the items off (true) or put them back (false) |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
note | string | Replace the text of every listed item |
quantity | number | Set the quantity of every listed item |
delete_shopping_list_items Remove shopping list items
Removes items from a shopping list for good. To merely tick something off, use update_shopping_list_items with checked=true. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
item_ids * | array | Item UUIDs from get_shopping_list |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
add_recipe_to_shopping_list Add a recipe to a shopping list
Adds a recipe's ingredients to a shopping list, merging them with what is already there. Mealie remembers the recipe on the list, so remove_recipe_from_shopping_list can take exactly these ingredients back off again.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Shopping list UUID, from list_shopping_lists |
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
servings_multiplier | number | Scale the ingredient quantities, default 1 |
remove_recipe_from_shopping_list Remove a recipe from a shopping list
Takes a recipe's ingredients back off a shopping list. Items that were also needed by another recipe on the list stay, with their quantity reduced.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | Shopping list UUID, from list_shopping_lists |
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
servings_multiplier | number | How much of the recipe to remove, default 1 |
create_cookbook Create cookbook
Creates a cookbook — a named, saved view of the recipe collection. Without a filter it matches every recipe; the filter itself is written in Mealie's own query language and is easiest to build in the web UI. A private cookbook is created straight away; is_public requires confirmation, because it is a publishing step.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
description | string | |
is_public | boolean | Make the cookbook readable without a login, default false. Requires confirmation: call once to receive a token, then again with that token. |
query_filter | string | Mealie query filter, e.g. tags.name IN ["Dessert"]. Passed through verbatim; an invalid expression is rejected by Mealie with a 422. |
delete_cookbook Delete cookbook
Deletes a cookbook. The recipes it matched are not touched — a cookbook is only a saved filter. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
cookbook_id * | string | Cookbook UUID, from list_cookbooks |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
set_recipe_rating Rate a recipe
Sets the personal rating of a recipe and/or marks it as a favourite. Ratings in Mealie are per user, not per recipe.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
is_favorite | boolean | |
rating | number | Stars from 0 to 5; 0 clears the rating |
add_recipe_comment Comment on a recipe
Adds a comment to a recipe. Comments are visible to everyone in the group and are attributed to the user the API token belongs to.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
text * | string |
delete_recipe_comment Delete a recipe comment
Deletes a comment. Requires confirmation: call once to receive a token, then again with that token.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | Comment UUID, from list_recipe_comments |
confirm_token | string | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call. |
create_timeline_event Add a timeline entry
Adds an entry to a recipe's timeline — typically a note about having cooked it and how it turned out. Pair it with set_recipe_last_made, which is what the recipe view sorts on.
| Parameter | Type | Description |
|---|---|---|
recipe * | Recipe slug (e.g. "quark-bowl") or recipe UUID — both are returned by search_recipes | |
subject * | string | Short headline, e.g. "Cooked it" |
message | string | The note itself |
timestamp | string | When it happened; defaults to now |