Calculate calories burned during physical activities based on body weight, activity type, and duration. Use via MCP in AI coding tools or REST API at `/v1/health/calories-burned`. Input your weight (70kg), activity ("running"), and time (30 minutes) to get precise calorie estimates. Uses metabolic equivalent (MET) values for accuracy across 100+ activities.
curl "https://tinyfn.io/v1/health/calories-burned" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/health/calories-burned', {
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/calories-burned',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
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"
}
}
}
}
Uses standardized MET (Metabolic Equivalent of Task) values from exercise physiology research. Accuracy depends on correct weight input and activity matching, typically within 10-15% for most people.
Supports 100+ activities including running, cycling, swimming, weightlifting, yoga, household chores, and sports. Each activity has specific MET values for different intensities.
Yes, MCP integration lets Claude Code and Cursor automatically calculate calories in fitness tracking apps. Perfect for workout logs, daily summaries, and activity comparisons.
Some activities like "running" require pace specification (e.g., "running 6 mph"), while others like "yoga" use average intensity. The API will indicate when more specificity is needed.
Uses pure MET calculations without heart rate or personal metabolic variations. More consistent for planning and comparisons, though individual devices may be more personalized.
Get your free API key and start using Calories Burned in seconds.
Get Free API Key