Converts Kelvin temperatures to Celsius using the precise formula C = K - 273.15. Access via MCP in Cursor or Windsurf for instant temperature calculations, or call GET /v1/convert/temperature/k-to-c with your Kelvin value. Returns exact decimal results — 300K becomes 26.85°C. Essential for scientific computing where precision matters.
curl "https://tinyfn.io/v1/convert/temperature/k-to-c" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/temperature/k-to-c', {
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/temperature/k-to-c',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
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"
}
}
}
}
Use the MCP tool in Cursor, Windsurf, or other supported editors — just ask to convert a Kelvin temperature and the AI will call the function automatically.
GET /v1/convert/temperature/k-to-c with the Kelvin value as a parameter. Returns JSON with the Celsius result.
Yes, 0K converts to -273.15°C as expected. Negative Kelvin inputs are processed mathematically but represent non-physical temperatures.
Uses the exact formula K - 273.15 with full floating-point precision — no rounding errors from approximations or lookup tables.
Each API call converts one temperature. For batch operations, make multiple calls or use the MCP tool in a loop within your AI assistant.
Get your free API key and start using Kelvin To Celsius in seconds.
Get Free API Key