Converts liters to UK imperial gallons with precise calculations. Access via MCP in Cursor or Windsurf, or REST at `/v1/convert/volume/l-to-gal-uk`. Example: 10 liters = 2.1997 UK gallons. UK gallons are 20% larger than US gallons (4.546 vs 3.785 liters), making this distinction crucial for international applications.
curl "https://tinyfn.io/v1/convert/volume/l-to-gal-uk" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/convert/volume/l-to-gal-uk', {
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/l-to-gal-uk',
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"
}
}
}
}
UK imperial gallons are 4.546 liters while US gallons are 3.785 liters. This means UK gallons are about 20% larger, making conversion accuracy critical for fuel calculations and recipes.
Use the liters-to-gallons-uk function in Cursor, Claude Code, or other MCP clients. Pass the liter value and get the precise UK gallon equivalent without manual calculation errors.
Yes, it provides accurate decimal results. Essential for fuel efficiency calculations, shipping volumes, and scientific measurements where precision matters more than rounded estimates.
The tool processes single values per call. For batch operations, make multiple API calls or use the MCP function iteratively within your AI agent workflow.
Eliminates human calculation errors and provides consistent precision. When building applications or automating conversions, deterministic results from a reliable endpoint beat manual math.
Get your free API key and start using Liters To Gallons Uk in seconds.
Get Free API Key