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
Ass To Srt
Flatten an Advanced SubStation Alpha (.ass) or SubStation Alpha (.ssa) subtitle script to plain SubRip (.srt).
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
Images To Pdf
Combine JPG and PNG images into a single PDF, one image per page, in the order given.