Gcd Calculate

Calculators REST API MCP

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 →

View as Markdown

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

Interactive docs · OpenAPI 3.1 spec · All REST tools

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/
Open the MCP reference for Gcd Calculate →

More Calculators tools