# Gcd Calculate — REST API endpoint `gcd-calculate`

Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two non-negative integers. Uses the Euclidean algorithm.

- Category: calculators
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/gcd-calculate/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/gcd-calculate/
- Same tool on the other surface: https://findutils.com/mcp/gcd-calculate/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/gcd-calculate/execute \
  -H "Content-Type: application/json" \
  -d '{
    "a": 12,
    "b": 18
  }'

# Parameter schema
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):

```json
{
  "a": 12,
  "b": 18
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:gcd_calculate`. Full MCP reference: https://findutils.com/mcp/gcd-calculate/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
