Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Wikibooks Cookbook

by smeet666version 2.2.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.smeet666/mcp-wikibooks-cookbook

How to install

What it does

Search the Wikibooks Cookbook, read a recipe and rescale it to any number of servings.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Games, sports, food & learning

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install MCP Wikibooks Cookbook. Follow https://mcp.popnx.com/i/smeet666-mcp-wikibooks-cookbook.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

No key, nothing to install · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Download the maker’s installer

    Download the maker’s .mcpb file

    The .mcpb file comes straight from the maker; we do not change it

  2. Double-click the file, then click Install in the Claude desktop app

  3. Try it

    Use MCP Wikibooks Cookbook and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using MCP Wikibooks Cookbook or shows a MCP Wikibooks Cookbook tool in the answer, you are connected

7 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WB_USER_AGENT Identify your own client. This project's identifier stays appended, so Wikimedia can always reach a human.
  • WB_MIN_INTERVAL_MS Minimum milliseconds between requests. Default 1000, floor 500, ceiling 60000.
  • WB_TIMEOUT_MS Deadline for one request, in milliseconds. Default 20000.
  • WB_MAX_RETRIES Retries on a busy or rate-limited gateway. Default 3.
  • WB_CACHE_TTL_MS In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
  • WB_CACHE_MAX_ENTRIES In-memory cache size. Default 200.
  • WB_LOG_LEVEL silent, error, info or debug. Default error. Logs go to stderr.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect MCP Wikibooks Cookbook yet

MCP Wikibooks Cookbook runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect MCP Wikibooks Cookbook

  • No key, nothing to install · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Games, sports, food & learning that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Wikibooks Cookbook for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user wikibooks-cookbook -- npx -y mcp-wikibooks-cookbook 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the MCP Wikibooks Cookbook tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user wikibooks-cookbook -- npx -y mcp-wikibooks-cookbook
  4. Type /mcp in Claude Code

    You should see MCP Wikibooks Cookbook listed as connected

  5. Try it

    Use MCP Wikibooks Cookbook and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using MCP Wikibooks Cookbook or shows a MCP Wikibooks Cookbook tool in the answer, you are connected

7 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WB_USER_AGENT Identify your own client. This project's identifier stays appended, so Wikimedia can always reach a human.
  • WB_MIN_INTERVAL_MS Minimum milliseconds between requests. Default 1000, floor 500, ceiling 60000.
  • WB_TIMEOUT_MS Deadline for one request, in milliseconds. Default 20000.
  • WB_MAX_RETRIES Retries on a busy or rate-limited gateway. Default 3.
  • WB_CACHE_TTL_MS In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
  • WB_CACHE_MAX_ENTRIES In-memory cache size. Default 200.
  • WB_LOG_LEVEL silent, error, info or debug. Default error. Logs go to stderr.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Wikibooks Cookbook for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "wikibooks-cookbook": { "command": "npx", "args": [ "-y", "mcp-wikibooks-cookbook" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the MCP Wikibooks Cookbook tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use MCP Wikibooks Cookbook and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using MCP Wikibooks Cookbook or shows a MCP Wikibooks Cookbook tool in the answer, you are connected

7 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WB_USER_AGENT Identify your own client. This project's identifier stays appended, so Wikimedia can always reach a human.
  • WB_MIN_INTERVAL_MS Minimum milliseconds between requests. Default 1000, floor 500, ceiling 60000.
  • WB_TIMEOUT_MS Deadline for one request, in milliseconds. Default 20000.
  • WB_MAX_RETRIES Retries on a busy or rate-limited gateway. Default 3.
  • WB_CACHE_TTL_MS In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
  • WB_CACHE_MAX_ENTRIES In-memory cache size. Default 200.
  • WB_LOG_LEVEL silent, error, info or debug. Default error. Logs go to stderr.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Wikibooks Cookbook for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "wikibooks-cookbook": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-wikibooks-cookbook" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the MCP Wikibooks Cookbook tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use MCP Wikibooks Cookbook and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using MCP Wikibooks Cookbook or shows a MCP Wikibooks Cookbook tool in the answer, you are connected

7 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WB_USER_AGENT Identify your own client. This project's identifier stays appended, so Wikimedia can always reach a human.
  • WB_MIN_INTERVAL_MS Minimum milliseconds between requests. Default 1000, floor 500, ceiling 60000.
  • WB_TIMEOUT_MS Deadline for one request, in milliseconds. Default 20000.
  • WB_MAX_RETRIES Retries on a busy or rate-limited gateway. Default 3.
  • WB_CACHE_TTL_MS In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
  • WB_CACHE_MAX_ENTRIES In-memory cache size. Default 200.
  • WB_LOG_LEVEL silent, error, info or debug. Default error. Logs go to stderr.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use MCP Wikibooks Cookbook💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user wikibooks-cookbook -- npx -y mcp-wikibooks-cookbook

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "wikibooks-cookbook": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-wikibooks-cookbook"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "wikibooks-cookbook": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-wikibooks-cookbook"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "wikibooks-cookbook": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-wikibooks-cookbook"
      ]
    }
  }
}

Values you fill in

  • WB_USER_AGENT env
    Identify your own client. This project's identifier stays appended, so Wikimedia can always reach a human.
  • WB_MIN_INTERVAL_MS env
    Minimum milliseconds between requests. Default 1000, floor 500, ceiling 60000.
  • WB_TIMEOUT_MS env
    Deadline for one request, in milliseconds. Default 20000.
  • WB_MAX_RETRIES env
    Retries on a busy or rate-limited gateway. Default 3.
  • WB_CACHE_TTL_MS env
    In-memory cache lifetime, in milliseconds. Default 900000. Set 0 to turn it off.
  • WB_CACHE_MAX_ENTRIES env
    In-memory cache size. Default 200.
  • WB_LOG_LEVEL env
    silent, error, info or debug. Default error. Logs go to stderr.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
280/wk
Connection
Runs on your computer
Latest versioni
2.2.0
Published to registryi
Oct 29, 2026
Code last changedi
Nov 19, 2026
Maker
smeet666
Packages
npm: mcp-wikibooks-cookbook
mcpb: …/mcp-wikibooks-cookbook-2.2.0.mcpb
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account smeet666, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for mcp-wikibooks-cookbook@2.2.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/smeet666-mcp-wikibooks-cookbook.svg)](https://mcp.popnx.com/en/servers/smeet666-mcp-wikibooks-cookbook)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Games, sports, food & learningi

  • More stars than 0% of the other 1619 servers in this category
  • Published to the registry more recently than 56% of the other 1619 servers in this category
  • Basic checks equal to or better than 99% of the other 1619 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Wikibooks Cookbook safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (2.2.0) reached the registry 21 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, MCPB on your computer.

What can I use instead?

In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

by aikarjalGrowing↓ 1.4K/wk★ 89 Stars for the whole repoUpdated 10 days ago

Runs on your computer✓ service owner · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

by joshsymondsEarly★ 13Updated 7 months ago

Runs in the cloudRepo archived✓ service owner · savecraft.gg

GoodWatch

Find movies and TV shows, track watches, and get suggestions based on your taste.

by alp82Early★ 50 Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · goodwatch.app
Compared with similar ones
This one
MCP Wikibooks Cookbook
Anime GardenWilmAILumify Sports IntelligenceSavecraftGoodWatch
Runs whereInstalls on your computerRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoYesNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/43/34/43/44/4
LicenseMITAGPL-3.0MITMITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mcp-wikibooks-cookbook

The Cookbook is the recipe collection of the English Wikibooks, a Wikimedia project. Thousands of recipes are written and maintained there in the open, each with its ingredients, the equipment it calls for, its steps, the tips and variations its authors added, and the categories it files itself under: a cuisine, a kind of dish, a main ingredient. The pages are published under Creative Commons Attribution-ShareAlike 4.0.

This server connects a chat client to that collection. You can search the recipes by dish or by ingredient, list them by cuisine, kind of dish or main ingredient, read one with its ingredients rescaled to the number of people at your table, and rescale any ingredient list of your own. It needs no API key and no account.

_Version française_


Install

One-click install

Claude Code

claude mcp add wikibooks-cookbook -- npx -y mcp-wikibooks-cookbook

Claude Desktop, Cursor, and any client using the standard config format

{

"mcpServers": { "wikibooks-cookbook": { "command": "npx", "args": ["-y", "mcp-wikibooks-cookbook"] } } }

Node 24 or later is required, and no environment variable has to be set.

With Docker
{

"mcpServers": { "wikibooks-cookbook": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-wikibooks-cookbook:2.2.0"] } } }

-i keeps stdin open, which is where the protocol travels, and -t is left out because a TTY rewrites the stream. The container needs outbound HTTPS to api.wikimedia.org, and nothing else: no volume, no port, no credential.

Bundle, without npm

Download mcp-wikibooks-cookbook-2.2.0.mcpb from the latest release and open it. A client that supports MCP bundles installs it on its own, with no npm and no configuration file to edit. The bundle carries its dependencies, so nothing is fetched at install time.

What you can ask

  • "Find me a carbonara recipe in the Cookbook."
  • "Read it for six people instead of four."
  • "What Thai soups does the collection hold?"
  • "Which recipes are built on lentils?"
  • "Scale this ingredient list by 2.5 for me."

The ordinary path runs from a search to a reading: a row carries an id, the page key, and get_recipe takes that key.

Tools

ToolWhat it does
search_recipesFinds recipes by dish or by ingredient.
get_recipeReads one recipe, rescaled to a number of servings on request.
scale_ingredientsRescales any ingredient list, with no request to the wiki.
list_recipesLists recipes by cuisine, kind of dish or main ingredient.
search_recipes

Searches the Cookbook, either across the whole text of its pages or across their titles alone.

ArgumentTypeRequiredWhat it does
querystring, 1 to 300 charactersyesA dish, such as carbonara, or an ingredient, such as guanciale.
searchtext or title, default textnotext reads the whole page; title matches the page name alone.
limitinteger, 1 to 50, default 10noRows to serve.

In return: rows carrying id, the page key get_recipe takes; title; url; image_url; description, the short gloss the wiki keeps for a page; and excerpt, the matching passage with the highlight markup taken off. Each of the last three is null where the search offered none. total_available is always null: the search route publishes no total and no paging, so result_count counts the rows this call returned.

get_recipe

Reads one recipe, and rescales its ingredients when a number of servings is given.

ArgumentTypeRequiredWhat it does
idstring, 1 to 300 charactersyesThe page key, such as Cookbook:Spaghetti_alla_Carbonara.
servingsinteger, 1 to 500noRescale the ingredients to this many servings.
max_description_charsinteger, 100 to 20000, default 1200noHow much of the page's prose to serve.

In return: title, url, ingredients, equipment, steps, tips for the notes and variations the page publishes, prep_minutes, cook_minutes, total_minutes, time_text in the page's own wording, time_phases, category and categories for every category the page files itself under. A figure the page states nothing for is null. id names the page that was read, which differs from the key asked for after a redirect, and redirected_from then names the key that led there. yield says what the recipe was written for and what it was rescaled to, and each ingredient carries scaling, reading scaled, rounded or unscaled.

scale_ingredients

Applies the same arithmetic to any list of ingredient lines, with no request to the wiki.

ArgumentTypeRequiredWhat it does
ingredientsarray of 1 to 100 strings, up to 300 charsyesThe lines to rescale.
factornumber, above 0 and up to 100one of twoThe multiplier to apply.
from_servingsnumber, above 0 and up to 500one of twoHow many servings the list is written for.
to_servingsnumber, above 0 and up to 500one of twoHow many servings are wanted.

Pass factor, or the from_servings and to_servings pair.

In return: the factor used, the rescaled ingredients in the shape get_recipe returns, and scaled_count, rounded_count and unscaled_count.

list_recipes

Lists recipes along the categories the Cookbook files them under. The arguments combine, and the answer says which search was built from them.

ArgumentTypeRequiredWhat it does
cuisinestring, up to 80 charactersnoA cuisine or a country, such as Italian or Thai.
dish_typestring, up to 80 charactersnoA kind of dish, such as soup, dessert or bread.
main_ingredientstring, up to 80 charactersnoThe ingredient a recipe is built on.
limitinteger, 1 to 50, default 15noRows to serve.

In return: the rows search_recipes returns, with query naming the search this server built from the arguments, and each argument echoed back or null where it was left out.

Rescaling the quantities

A quantity is stated in the unit that suits it, so a line can come back in a different unit from the one the recipe used: 200 g multiplied by twenty reads 4 kg.

How finely an ingredient can be divided depends on what it is. A loaf can be cut in two, in three or in four; an egg cannot be shared out. A quantity landing between the two is rounded, and the rescaled recipe then departs a little from the proportions of the original. The line carries rounded, and its note says what was done.

The figures are this server's arithmetic, so say they were recomputed when you show them. A recipe whose page states no number of servings cannot be put to a number of people, and the answer says so.

Licence and attribution

Cookbook pages are published under Creative Commons Attribution-ShareAlike 4.0. Repeating a recipe means crediting Wikibooks and the page it came from, and sharing what is built on it under the same licence. get_recipe returns both license and the page url, so an answer carries the credit with it.

Configuration

Every variable is optional. Set them in the env block of your client config.

VariableDefaultWhat it does
WB_USER_AGENTthe project identityNames your application to Wikimedia, with an address where a person can be reached.
WB_MIN_INTERVAL_MS1000Gap between two requests, from 500 to 60000.
WB_TIMEOUT_MS20000Deadline for one request, from 1000 to 120000.

| WB_MAX_RETRIES | 3 | Attempts after a transient failure, from 0 to 8.

Only the beginning is shown; read the rest in the repo