Converts miles per hour to kilometers per hour using the precise conversion factor 1.609344. Available through MCP in Cursor and other AI editors at `/v1/convert/speed/mph-to-kph`, or as a REST API. Input 65 mph, get 104.6074 kph. Essential for international applications handling speed data from different measurement systems.
curl "https://tinyfn.io/v1/convert/speed/mph-to-kph" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/speed/mph-to-kph', {
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/speed/mph-to-kph',
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"
}
}
}
}
Multiply mph by 1.609344. This uses the precise statutory mile definition (5,280 feet) and maintains accuracy for engineering calculations.
Call the mph-to-kph tool with your speed value. Works in Cursor, Windsurf, and other MCP clients for instant conversions without manual calculation.
Yes, accepts any numeric mph value including decimals. Returns precise kph results maintaining full floating-point precision for scientific applications.
No, processes one mph value per API call. For bulk conversions, make multiple requests or implement client-side batching.
Provides deterministic, programmatic access through MCP and REST API. No web scraping, consistent results, and integrates directly into development workflows.