Conversion Utilities

Cups To Milliliters

Converts US cups to milliliters with precise calculations for cooking and baking. Access via MCP in Cursor or Windsurf for recipe conversions, or call GET /v1/convert/volume/cups-to-ml directly. Returns exact milliliter values using the standard 236.588237 ml per cup conversion factor.

API Endpoint

GET /v1/convert/volume/cups-to-ml

Code Examples

curl "https://tinyfn.io/v1/convert/volume/cups-to-ml" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/volume/cups-to-ml', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/convert/volume/cups-to-ml',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's conversion tools:

{
  "mcpServers": {
    "tinyfn-conversion": {
      "url": "https://tinyfn.io/mcp/conversion",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I convert cups to milliliters in my AI coding assistant?

Use the MCP tool in Cursor, Windsurf, or other supported editors. The AI agent will call the conversion function and return precise milliliter values.

What's the exact conversion factor from cups to milliliters?

1 US cup equals 236.588237 milliliters. This tool uses the official NIST standard conversion factor for accuracy.

Can I convert fractional cups like 1.5 or 2/3 cups?

Yes, the tool accepts decimal inputs. For example, 1.5 cups converts to 354.882 ml, and 0.667 cups (≈2/3) converts to 157.824 ml.

Is this US cups or metric cups?

This converts US customary cups (236.588 ml). Metric cups are 250 ml, so use a different conversion if working with international recipes.

What format does the REST API return for volume conversions?

Returns JSON with the original cups value and converted milliliters as a decimal number, typically rounded to 3 decimal places for practical use.

Try Cups To Milliliters Now

Get your free API key and start using Cups To Milliliters in seconds.

Get Free API Key