Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two non-negative integers. Uses the Euclidean algorithm.
This page documents the HTTP endpoint POST /api/tools/gcd-calculate/execute. See the MCP reference →
Call it over REST
POST https://api.findutils.com/api/tools/gcd-calculate/execute · no API keys · 60 requests/min per IP
Execute — verified arguments
curl -X POST https://api.findutils.com/api/tools/gcd-calculate/execute \
-H "Content-Type: application/json" \
-d '{
"a": 12,
"b": 18
}' Parameter schema for this endpoint
curl https://api.findutils.com/api/tools/gcd-calculate Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| a | integer | yes | First integer. |
| b | integer | yes | Second integer. |
Example arguments (verified)
{
"a": 12,
"b": 18
} Also an MCP tool
Claude, Cursor, and any MCP client can call this tool as
findutils:gcd_calculate after one connect command.
Connect once
claude mcp add findutils --transport http https://mcp.findutils.com/ More Calculators tools
Bmi Calculate
Compute Body Mass Index (BMI) with metric (kg/cm) or imperial (lb/in) units.
Body Fat Calculator
Estimate body fat percentage, fat mass, lean mass, BMI, and a body-composition category.
Carbon Footprint Calculator
Estimate an annual personal carbon footprint in tonnes of CO2 from home energy, transportation, and lifestyle, with a per-category breakdown
Chmod Calculate
Convert between numeric (755) and symbolic (rwxr-xr-x) Unix file permissions.
Cloudflare Cost Calculate
Estimate monthly Cloudflare developer platform costs (Workers, D1, R2, KV, Durable Objects) under free or $5 Workers Paid plans.
Daily Habit Calculator
Calculate how a daily habit adds up over a week, a month (30 days), a year (365 days), or a custom date range: total units, total cost, and
Llm Requirements Calculator
Estimate the VRAM, system RAM, and disk space needed to run an open-weight LLM locally, and which common GPUs and Macs it fits on.
Macro Calculator
Calculate daily calorie needs and a macronutrient split (protein, carbs, fat in grams and kcal) for weight loss, maintenance, or muscle gain