mcp-bbc-goodfood

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

Search BBC Good Food recipes, read one, and scale its ingredients.

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

list_filters List the ways a search can be narrowed

List the axes a recipe search can be narrowed along on BBC Good Food, with the values each one takes and how many recipes carry them. Pass 'query' to measure the counts inside one search, or leave it out for the site's whole listing. Read this before narrowing a search: the site accepts any value on a facet and answers one it does not know with a total of zero, so a guessed spelling comes back as a confident absence. The values listed are an excerpt of the most frequent ones, and the site accepts others that are not shown.

ParameterTypeDescription
querystringA search to measure the counts inside. The site counts its facets over the rows a search returns, so a count without a query describes the whole listing instead.

search_recipes Search recipes

Search recipes on BBC Good Food and return a listing. Narrow it with 'diet', 'cuisine', 'meal_type', 'difficulty' or a bound such as 'max_total_minutes'; call list_filters first for the values each one takes, since the site answers a value it does not know with a count of zero. The site ranks rather than filters: it answers a term it holds nothing for with rows all the same, so read the titles rather than trusting the count. Each row carries the page to read the recipe on.

ParameterTypeDescription
query *stringA dish, an ingredient, a technique.
cuisinestringA value list_filters publishes.
dietstringA value list_filters publishes.
difficultystringA value list_filters publishes.
exclude_premiumbooleanDrop the rows that sit behind the site's subscription. The site offers no such restriction, so the rows are removed from the page after it arrives: a page comes back shorter than the limit asked for,…
limitintegerRows to return. Default 30.
max_caloriesintegerPer serving.
max_total_minutesintegerWhole recipe, minutes.
meal_typestringA value list_filters publishes.
min_ratingnumberAt least this many stars, 1 to 5.
min_servingsintegerAt least this many servings.
pageintegerWhich page of rows. Default 1.
sortstringHow the site orders the rows. Default 'relevant'.

get_recipe Read a recipe

Read one recipe on BBC Good Food: its ingredients, its steps, its times, its rating and its nutrition. Pass the 'id' a search_recipes row carries, which is the page's own path. A recipe behind the site's subscription comes back with everything except its ingredients and steps, and says so: its page on the site is where a subscriber reads it. The site writes many of its recipes twice, once for its own readers and once restated for readers in the United States, and 'unit_system' chooses which of the two to read.

ParameterTypeDescription
id *stringThe page's own path, as a search_recipes row carries it.
servingsintegerPut the ingredients to this many people. Quantities are then recomputed by this server, not published by the site, and each line says so under 'scaling'.
unit_systemstringWhich of the site's own two renditions to read: 'metric' as it writes for its own readers, 'us' as it restates for readers in the United States. Both are the site's words. A recipe it restated nowhere…

scale_ingredients Scale a list of ingredients

Put a list of ingredient lines to a different number of people. Pass 'factor', or else the pair 'from_servings' and 'to_servings'. Quantities are recomputed by this server and not by the site, and every line says under 'scaling' whether the arithmetic landed exactly, whether the figure was moved to stay usable in a kitchen, or whether the line carried nothing to multiply.

ParameterTypeDescription
ingredients *arrayThe lines to scale, as a recipe writes them, such as '200g plain flour'.
factornumberWhat to multiply every quantity by. Pass this or the servings pair, never both.
from_servingsintegerHow many people the list feeds as written.
to_servingsintegerHow many people it should feed.