mcp-marmiton

v2.2.0
io.github.smeet666/mcp-marmiton Checked 11 hours ago Published 1 month ago

Search Marmiton recipes, read ingredients and steps, and scale quantities to any servings.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_recipes Search recipes

Search Marmiton for recipes by free text: a dish, an ingredient, or both, for example 'tarte aux pommes' or 'poulet curry coco'. Marmiton is a French site, so French terms work best. Returns candidate recipes with the id and URL needed to read one with get_recipe. One call returns one page of results. Marmiton's robots.txt disallows paginating search results, so this server does not, and there is no page parameter: narrow the query instead of asking for more pages.

ParameterTypeDescription
query *stringWhat to search for, in French, for example 'tarte aux pommes'.
limitintegerMaximum recipes to return from this page of results.

get_recipe Get a recipe

Read one Marmiton recipe: ingredients, steps, times, category, rating and nutrition. Give the id returned by search_recipes, or a marmiton.org recipe URL. Set 'servings' to rescale the quantities. Each ingredient reports how it was handled: 'scaled' when the arithmetic came out exact, which a count of eggs, spoons or pinches reaches as readily as a mass in grams, 'rounded' when the value had to be moved to stay usable, and 'unscaled' for lines carrying no quantity at all. Trust that flag rather than recomputing: the point of scaling here is to avoid answers like '2.4 eggs'. Recipes yielding pi…

ParameterTypeDescription
idstringMarmiton recipe id, as returned by search_recipes. Preferred over 'url'.
servingsnumberRescale the ingredients to this many servings. Omit to get the recipe exactly as published.
urlstringFull marmiton.org recipe URL. Only marmiton.org is accepted. Ignored when 'id' is given.

scale_ingredients Scale an ingredient list

Rescale a list of ingredient lines to a different number of servings, without contacting any website. Give either 'factor' directly, or 'from_servings' and 'to_servings' and the factor is computed. Works on any French ingredient list, whatever its source, so it also serves a recipe the user pasted in. Quantities in grams or millilitres are multiplied and rounded to readable values; a countable thing lands on a half when half of one can be poured, weighed or cut, as a boîte, a sachet, a feuille de gélatine or a cuillère can, and on a whole one when it cannot, as an oeuf, a jaune or a blanc;…

ParameterTypeDescription
ingredients *arrayIngredient lines, for example ['200 g de farine', '3 oeufs', 'sel'].
factornumberMultiplier to apply. Use this or the from/to pair.
from_servingsnumberHow many servings the list is written for.
to_servingsnumberHow many servings are wanted.