Koskamo

Cups to Grams MCP

An MCP server that converts volume measurements to grams for 271 ingredients using precise USDA and King Arthur Baking densities. It supports fuzzy ingredient search, recipe scaling, and oven temperature conversion without requiring authentication.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Cups to Grams MCP logo, by lipmichalCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-01Published by lipmichal
MCP endpoint (Streamable HTTP)
https://cups-to-grams-mcp.lipmichal.workers.dev/mcp
Vendor documentation

What you can do with it

  • Convert cups, spoons, mL, and fl oz to grams and ounces for specific ingredients
  • Fuzzy search the sourced density table to find grams per cup and tablespoon
  • Scale ingredient lines by a factor or servings with optional gram conversion
  • Convert oven temperatures between Fahrenheit, Celsius, and gas marks

Source and maintenance

Community listingRegistry 1.0.0
Maintenance checked

Protocol and capabilities

Server
cups-to-grams-mcp 1.0.0
MCP protocol
2025-06-18
Tools
4 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

4 advertised

convert_ingredient — Convert cups to grams for a named ingredient
Advertised by the server during the last successful anonymous check.
Advertised read-only

Converts a kitchen amount between volume and weight for a specific ingredient, using measured grams-per-cup values (USDA FoodData Central portion weights with FDC ids, and the King Arthur Baking ingredient weight chart) instead of guessed densities. 271 ingredients. Units: US cup (236.5882365 mL), metric cup (250 mL), imperial cup, US legal cup (240 mL), Japanese cup, US/metric/Australian tablespoons, teaspoons, US and imperial fl oz, pints, quarts, gallons, mL, dL, L, g, mg, kg, oz, lb and sticks of butter. Volume to volume and weight to weight need no ingredient. States which cup definition it used and cites the density source.

convert_ingredient input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "amount",
    "from_unit",
    "to_unit"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0,
      "description": "Quantity to convert, e.g. 1.5. Use decimals for fractions (3/4 = 0.75)."
    },
    "to_unit": {
      "type": "string",
      "maxLength": 30,
      "minLength": 1,
      "description": "Unit to convert to, e.g. g, oz, cup, ml."
    },
    "from_unit": {
      "type": "string",
      "maxLength": 30,
      "minLength": 1,
      "description": "Unit to convert from, e.g. cup, us_cup, metric_cup, tbsp, tsp, fl oz, ml, l, g, oz, lb, stick."
    },
    "cup_system": {
      "enum": [
        "us",
        "metric",
        "imperial"
      ],
      "type": "string",
      "description": "Which cup and spoon family the bare words cup, tbsp, tsp, fl oz and pint mean. us = 236.588 mL cup (default), metric = 250 mL cup with 15/5 mL spoons, imperial = 284.13 mL cup with UK pints. Explicit units such as metric_cup always win."
    },
    "ingredient": {
      "type": "string",
      "maxLength": 80,
      "description": "Ingredient name, e.g. \"all-purpose flour\", \"brown sugar\", \"honey\". Required when converting between volume and weight."
    }
  }
}
convert_ingredient annotations
{
  "title": "Convert ingredient",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_ingredients — Search the measured ingredient density table
Advertised by the server during the last successful anonymous check.
Advertised read-only

Fuzzy search over the ingredient table (flours, sugars, fats, dairy, liquids, nuts, grains, fruit, produce). Returns canonical names, grams per US cup and per tablespoon, and the source (USDA FDC id or King Arthur Baking chart). Use it to pick the exact ingredient before converting.

search_ingredients input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 25,
      "minimum": 1,
      "description": "Maximum results. Default 10."
    },
    "query": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "Ingredient name or part of it, e.g. \"flour\", \"confectioners sugar\", \"oats\"."
    }
  }
}
search_ingredients annotations
{
  "title": "Search ingredients",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
scale_recipe — Scale a recipe and convert it to grams
Advertised by the server during the last successful anonymous check.
Advertised read-only

Scales a list of recipe ingredient lines ("1 1/2 cups all-purpose flour", "2 tbsp honey", "3 eggs") by a factor or from original to target servings. Parses mixed numbers and fraction characters. With to_metric_weights, converts cup and spoon amounts to grams with the measured density table and weights to grams, and reports lines it could not match.

scale_recipe input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "lines"
  ],
  "properties": {
    "lines": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200,
        "minLength": 1
      },
      "maxItems": 60,
      "minItems": 1,
      "description": "Ingredient lines, one per item, quantity first."
    },
    "factor": {
      "type": "number",
      "maximum": 100,
      "description": "Multiply every quantity by this, e.g. 2 or 0.5. Or give servings instead.",
      "exclusiveMinimum": 0
    },
    "cup_system": {
      "enum": [
        "us",
        "metric",
        "imperial"
      ],
      "type": "string",
      "description": "Which cup and spoon family the bare words cup, tbsp, tsp, fl oz and pint mean. us = 236.588 mL cup (default), metric = 250 mL cup with 15/5 mL spoons, imperial = 284.13 mL cup with UK pints. Explicit units such as metric_cup always win."
    },
    "target_servings": {
      "type": "number",
      "maximum": 1000,
      "description": "Servings you want.",
      "exclusiveMinimum": 0
    },
    "original_servings": {
      "type": "number",
      "maximum": 1000,
      "description": "Servings the recipe makes now.",
      "exclusiveMinimum": 0
    },
    "to_metric_weights": {
      "type": "boolean",
      "description": "Also give grams for each line. Default false."
    }
  }
}
scale_recipe annotations
{
  "title": "Scale recipe",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
convert_oven_temperature — Convert oven temperature between F, C and gas mark
Advertised by the server during the last successful anonymous check.
Advertised read-only

Converts an oven setting between Fahrenheit, Celsius and UK gas mark (1/4 to 10, from the standard recipe table) and optionally adjusts for a fan (convection) oven by 20 C, the manufacturer guidance. Returns the nearest gas mark and whether it is an exact table value.

convert_oven_temperature input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "value",
    "from_scale"
  ],
  "properties": {
    "fan": {
      "enum": [
        "none",
        "conventional_to_fan",
        "fan_to_conventional"
      ],
      "type": "string",
      "description": "Fan oven adjustment. Default none."
    },
    "value": {
      "type": "number",
      "description": "Temperature or gas mark, e.g. 350, 180 or 4."
    },
    "from_scale": {
      "enum": [
        "F",
        "C",
        "gas"
      ],
      "type": "string",
      "description": "Scale of value: F, C or gas (gas mark)."
    }
  }
}
convert_oven_temperature annotations
{
  "title": "Convert oven temperature",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
451 ms
95th percentile latency
451 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 451 ms · metadata changed · 4 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http cups-to-grams-mcp https://cups-to-grams-mcp.lipmichal.workers.dev/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add cups-to-grams-mcp --url https://cups-to-grams-mcp.lipmichal.workers.dev/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable cups-to-grams-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "cups-to-grams-mcp": {
      "url": "https://cups-to-grams-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "cups-to-grams-mcp": {
      "type": "streamableHttp",
      "url": "https://cups-to-grams-mcp.lipmichal.workers.dev/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start cups-to-grams-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "cups-to-grams-mcp": {
      "type": "http",
      "url": "https://cups-to-grams-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http cups-to-grams-mcp https://cups-to-grams-mcp.lipmichal.workers.dev/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "cups-to-grams-mcp": {
      "url": "https://cups-to-grams-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "cups-to-grams-mcp": {
      "serverUrl": "https://cups-to-grams-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Cups to Grams MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.