mcp-supertoinette

v1.2.0
io.github.smeet666/mcp-supertoinette Checked 4 days ago Published 1 month ago

Read Supertoinette recipes and rescale their quantities honestly.

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

get_recipe Read one recipe

Read one recipe on Supertoinette by its identifier, which is the number in its address: 4210 in /recette/4210/veloute-de-gaverole.html. Returns the ingredients, the steps, the times, the difficulty and the cost the site publishes. A time the site does not publish comes back as null rather than as zero. Pass 'servings' to rescale the quantities: each line then says whether the arithmetic landed exactly, or had to move to stay an amount a kitchen can measure out.

ParameterTypeDescription
id *stringThe number in the recipe's address, such as '4210'. Search for a dish when you do not have one.
servingsintegerRescale the quantities to this many. Left out, they come back as the site published them. It is refused when the site's own wording carries no number to scale from.

search_recipes Search the recipes

Search Supertoinette by a dish or an ingredient. Each row carries the identifier to read the recipe with get_recipe. The site publishes no total, so 'total_available' is null and 'last_page' says how far the results run. The categories it counts beside a search are returned as 'facets': pass one back as 'category' to narrow the search, spelled exactly as the site spells it. A category the site does not know is answered like a search that matched nothing, so a filter that finds nothing is dropped and the answer says so.

ParameterTypeDescription
query *stringA dish or an ingredient to look for, in French.
categorystringNarrow the search to one category, taken from the 'facets' of a previous answer and spelled exactly as the site spells it. Never build one by hand: the site answers a wording it does not know with a p…
limitintegerRows to render, 20 by default. The site serves at most 39 to a page, and 'rows_published' always states what the page held.
pageintegerWhich page of results to read, 1 by default. 'last_page' says how far they run.

list_categories List the categories recipes are browsed by

List the categories Supertoinette browses its recipes by. Each entry carries the token that opens its listing with browse_recipes, and 'listed_in' says where the site printed it: its footer holds the kinds of dish, its menu holds the ways of cooking and the seasons. Never build a token by hand, because the site answers a number paired with the wrong name with a page it does not hold. These two lists are not every category the site files recipes under: a recipe's own tags open onto hundreds more that neither list publishes.

browse_recipes Read one category's recipes

Read the recipes of one Supertoinette category, page by page. The category is a number and a name together, taken from list_categories or from the 'tags' of a recipe, and never assembled by hand. Each row carries the identifier get_recipe reads a recipe with, plus the difficulty and the total time the site prints beside it. The site publishes no total, so 'last_page' says how far the listing runs.

ParameterTypeDescription
category *stringThe category to read, as a number and a name together, such as '107/recettes-desserts'. Take one from list_categories or from a recipe's tags.
limitintegerRows to render, 20 by default. The site serves at most 30 to a page, and 'rows_published' always states what the page held.
pageintegerWhich page to read, 1 by default. 'last_page' says how far the listing runs.

get_wine_pairings Read the wines ranked for a dish

Read the wines Supertoinette ranks for one dish, given the number in its address as 'id'. Each wine comes with the site's own wording for how well it goes, from 'Bon accord' to 'Accord parfait'. Called with 'page' instead, it reads one page of the alphabetical index of dishes, which is where the identifiers come from: the index runs alphabetically, so a dish beginning with a late letter sits on a late page.

ParameterTypeDescription
idstringThe number in a dish's address, such as '10'. Give this or 'page'.
pageintegerRead one page of the alphabetical index of dishes instead of one dish. Give this or 'id'.

scale_ingredients Rescale a list of ingredients

Rescale a list of French ingredient lines, offline. Give either 'factor', or 'from_servings' and 'to_servings' together. Each line comes back with what was done to it: 'scaled' when the arithmetic landed exactly, 'rounded' when the value had to move to stay something a kitchen can measure out, and 'unscaled' when the line carries no quantity at all. Nothing is converted between unit systems, and an approximate measure such as a pincée keeps its own size.

ParameterTypeDescription
ingredients *arrayThe lines to rescale, as the recipe wrote them.
factornumberWhat to multiply the quantities by. Give this, or the two servings counts.
from_servingsintegerHow many the list was written for.
to_servingsintegerHow many it should serve.