Skip to content
MCPSTAMP

FiguresHosted URL

Cups to Grams

Cups to grams by ingredient, from measured weights, not guesses.

Free. No paid tier, no key. Source on GitHub

What you get

Convert a US recipe for a metric kitchen

Home baker in Krakow, Poland

Figures
Tool callWhat it did
scale_recipeParses each line and gives grams per ingredient
convert_oven_temperatureTurns 375 F into Celsius with the 20 C fan adjustment

Flour 270 g (120 g per cup), butter 227 g, sugar 150 g, and the fan-oven temperature in Celsius. Each line names its source.

Example from "Convert a US recipe for a metric kitchen". Invented names, real math from the tools.

Ask how many grams are in a cup of flour, sugar or honey and get the measured weight from USDA and King Arthur tables. It knows which cup a recipe uses (US, metric, imperial, Japanese) and can scale a whole recipe.

Made for Home bakers, Recipe writers, Food bloggers, Cooking teachers

3 requests, start to finish

Example chats. Each one uses real tools of this server, named as they run. The people and firms are made up.

Cups to Grams is free. Pro on the other 49 paid servers: $39 once. Free vs Pro

  1. Example 1 · Home baker in Krakow, PolandConvert a US recipe for a metric kitchen

    Convert this US cookie recipe to grams: 2 1/4 cups all-purpose flour, 1 cup butter, 3/4 cup granulated sugar. Oven is 375 F, my oven is fan.
    • scale_recipe Parses each line and gives grams per ingredient
    • convert_oven_temperature Turns 375 F into Celsius with the 20 C fan adjustment

    Flour 270 g (120 g per cup), butter 227 g, sugar 150 g, and the fan-oven temperature in Celsius. Each line names its source.

    Saves about 10 min (our estimate)

  2. Example 2 · Food blogger in Manchester, UKCheck which cup an Australian recipe means

    My Australian recipe says 1 cup of flour. How many grams is that, and is it the same as a US cup?
    • convert_ingredient Converts 1 Australian metric cup of flour to grams and states the cup it used
    • search_ingredients Shows grams per US cup and per tablespoon for flour

    About 127 g for the 250 mL cup against 120 g for a US cup, with both cup sizes stated.

    Saves about 5 min (our estimate)

  3. Example 3 · Cooking teacher in Austin, TexasHalve a bread recipe with the right numbers

    Scale this bread recipe from 12 servings to 6 and give grams for every line: 4 cups bread flour, 1 1/2 cups water, 2 tbsp honey.
    • scale_recipe Scales 12 servings to 6 and adds grams per line
    • search_ingredients Shows where USDA and King Arthur disagree on bread flour

    A halved recipe in cups and grams. Bread flour shows the value used and the other published value, so the class sees the spread.

    Saves about 8 min (our estimate)

Free, every tool

Free

$0 no key

All tools, no limit found in code
271 ingredients with a source on each row
Hosted URL needs no token and no sign-in (README)

Limits read from the code: satellites/cups-to-grams-mcp/src/tools.ts:25 (tool registry; /usr/bin/grep for license|isPro|MCP_LICENSE in src finds nothing)

Install

Works with Claude, Cursor, VS Code and other MCP clients. The hosted URL needs no install at all.

npm cups-to-grams-mcp

Paste this URL as a custom connector in your MCP client. No token, no sign-in.

Connector URL

https://cups-to-grams-mcp.lipmichal.workers.dev/mcp

Add this to your MCP client config (Claude Desktop, Cursor, VS Code). Needs Node.js.

{
  "mcpServers": {
    "cups-to-grams": {
      "command": "npx",
      "args": [
        "-y",
        "cups-to-grams-mcp"
      ]
    }
  }
}

One command in your terminal.

claude mcp add --transport http cups-to-grams https://cups-to-grams-mcp.lipmichal.workers.dev/mcp

# or run it locally
claude mcp add cups-to-grams -- npx -y cups-to-grams-mcp

All tools (4)

ToolWhat it does
convert_ingredientConverts an amount between volume and weight for a named ingredient (cup, tbsp, tsp, fl oz, mL, L to g, oz, lb and back).
search_ingredientsFuzzy search over 271 ingredients.
scale_recipeScales ingredient lines by a factor or from one servings count to another.
convert_oven_temperatureFahrenheit, Celsius and gas mark (1/4 to 10), with a 20 C fan oven adjustment.

Questions

Where do the weights come from?
USDA FoodData Central and the King Arthur Baking weight chart. Each of the 271 rows names its source.
Does it know a UK or Australian cup is different?
Yes. It supports US, metric, imperial, US legal and Japanese cups and states which cup it used.
Does it cost anything?
No. No license check exists in the code and the hosted URL needs no token.

More in Calculators

Cups to Grams is free

See bundle