SuperAPIAI Directory

mcp-marmiton

github.com · AI developer platforms

Search Marmiton recipes, read ingredients and steps, and rescale quantities to any number of servings.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

mcp-marmiton is an MCP (Model Context Protocol) server that connects conversational clients to Marmiton, France's largest cooking website. It is used to search for recipes by dish or ingredient, fully read the ingredients and steps of a recipe, and convert ingredient quantities to any number of servings. The server only reads data, does not publish anything to Marmiton, and does not require an API key or account.

Main capabilities

  • search_recipes: Search for recipes by dish or ingredient. Marmiton matches by the first letter of a word, so the results returned are the ones the site ranks for that query; a notice is given when the query term does not appear in the title. The returned rows include id (for use with get_recipe), title, url, and image_url (this field is null for recipes without an image), as well as result_count and total_available. Because Marmiton's robots.txt does not allow paging through search results, a search reads only one page, and other recipes must be viewed by narrowing the query.
  • get_recipe: Fully read a recipe and convert ingredient quantities when a number of servings is given. Returns title, url, ingredients, steps, prep_minutes, cook_minutes, total_minutes, category, author, rating, and nutrition; the corresponding field is null when the page does not provide it. The yield field describes the recipe's original number of servings and the converted number of servings, and includes original_count, original_text, requested, unit, and factor. Each ingredient includes original, text, amount, amountMax (for ranges), unit, and scaling (with values scaled, rounded, or unscaled). nutrition describes the recipe's nutritional information as published for the original number of servings.
  • scale_ingredients: Applies the same conversion to any ingredient list without requesting the website, so it can be used for recipes copied from books or family notes. Pass factor, or pass the combination of from_servings and to_servings. Returns the factor used, the converted ingredients in the same format as get_recipe, and scaled_count, rounded_count, and unscaled_count.

How to use

One-click installation works for Claude Desktop, Cursor, and any client that uses the standard configuration format. Node 24 or later is required, and no environment variables need to be set. In the installation command, -i is used to keep standard input open (the protocol transport channel); -t is omitted because a TTY rewrites the data stream. The container needs outbound HTTPS to www.marmiton.org; beyond that, no volumes, ports, or credentials are needed.

npm can also be skipped: download mcp-marmiton-2.1.0.mcpb from the latest release and open it; clients that support MCP bundles will install it automatically, with no npm and no configuration file, since the bundle includes its dependencies and downloads nothing during installation.

All configuration variables are optional and are set in the env block of the client configuration. Values outside the allowed range fall back to the default, and the reason is written to stderr. Every failure carries one of six error codes, a message, and, when helpful, a next-step hint.

It can also be used as a library: the Marmiton-reading layer is released separately, with its own throttling, caching, and error handling, and without the protocol. search and getRecipe each return { data, cached }, and throws an error with one of six error codes.

Example requests you can make to it include: "find a recipe for apple pie", "read this four-person recipe as six servings", "what can I make with zucchini and goat cheese", "this is a recipe I copied, help me multiply it by 1.5", "how long does the second dish need to bake". Marmiton is a French site, and the recipes are in French, for example tarte aux pommes, poulet curry coco. The usual flow is from search to reading: search_recipes gives an id, and get_recipe uses that id.

Notes on quantity conversion

Every ingredient carries a scaling flag that explains what the conversion did to its quantity. Quantities are expressed in suitable units, so after conversion the same line may use a different unit from the original recipe, for example 200 g multiplied by twenty is displayed as 4 kg. How finely an ingredient can be divided depends on its nature: a baguette can be cut into two, three, or four portions, while an egg cannot be split. Quantities falling between the two are rounded, the converted recipe will deviate slightly from the original ratio, that line is marked rounded, and a note explains the handling that was done. The conversion result is the arithmetic result of this server, and when displayed it should be stated that it has been recalculated.

Throttling and attribution

Requests are issued one by one with a minimum interval maintained, regardless of how the server configures that lower bound. The User-Agent always ends with a project identifier and an address where a person can be contacted. All data is read from the schema.org JSON-LD that Marmiton publishes for machines, and paths forbidden by robots.txt are not accessed. Every result carries the recipe title and address; get_recipe includes the author when the page credits one, along with attribution (title and address written as one line).

Restrictions

The recipes belong to Marmiton and their authors; this project is unofficial and is not affiliated with Marmiton. The server does not collect any information about you locally, nor does it send anything to its authors: it runs locally, contacts only www.marmiton.org, and keeps answers in memory while running, without writing to disk. Tests run against generated fixed data and make no network requests; the live test suite npm run test:live makes one request per route and runs against the website every night. The project uses the MIT license, and the recipe copyrights belong to Marmiton and their authors.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools