Health Utilities

Daily Water Intake

Calculate personalized daily water intake recommendations based on weight, activity level, and climate factors. Access via MCP in Cursor/Claude Code or REST API at `/v1/health/water-intake`. Returns precise fluid ounce amounts — no more guessing at hydration needs. Perfect for health apps and fitness tracking integrations.

API Endpoint

GET /v1/health/water-intake

Code Examples

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

response = requests.get('https://tinyfn.io/v1/health/water-intake',
    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 health tools:

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

Learn more about MCP setup →

FAQ

How does the water intake calculator determine recommendations?

Uses body weight as baseline (typically 0.5-1 oz per pound), then adjusts for activity level, climate conditions, and other factors like pregnancy or breastfeeding.

What parameters does the MCP tool accept for water intake calculations?

Requires weight and accepts optional parameters for activity level, climate (hot/humid), pregnancy status, and age to provide personalized recommendations.

Can I get water intake recommendations in different units?

Returns values in fluid ounces by default. Convert to liters, cups, or milliliters using TinyFn's unit conversion tools for your preferred measurement system.

Does the calculator account for increased needs during exercise?

Yes, specify activity level (sedentary, moderate, active, very active) to get adjusted recommendations that account for fluid loss through perspiration.

What's the difference between basic and personalized water intake calculations?

Basic uses simple weight-based formulas, while personalized factors in individual variables like climate, pregnancy, and activity patterns for more accurate hydration guidance.

Try Daily Water Intake Now

Get your free API key and start using Daily Water Intake in seconds.

Get Free API Key