Reduces any integer to a single digit by repeatedly summing its digits until only one remains. Access via MCP in Cursor or Windsurf, or call GET /v1/number/digital-root with your number. For 789, it calculates 7+8+9=24, then 2+4=6. Digital roots have applications in numerology, checksum validation, and mathematical analysis patterns.
curl "https://tinyfn.io/v1/number/digital-root" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/number/digital-root', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/number/digital-root',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's number tools:
{
"mcpServers": {
"tinyfn-number": {
"url": "https://tinyfn.io/mcp/number",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
The digital root is the single digit obtained by repeatedly summing all digits of a number until only one digit remains. For example, 456 becomes 4+5+6=15, then 1+5=6.
Yes, the digital root tool works in any MCP-compatible editor like Cursor, Claude Code, or Windsurf. Your AI agent can calculate digital roots during code analysis or mathematical operations.
Zero returns 0 as its digital root. Negative numbers use the absolute value for calculation, so -123 processes as 123 and returns 6.
Send a GET request to /v1/number/digital-root with the number parameter. The response includes the original number, digital root result, and calculation steps.
Digital roots help in checksum algorithms, divisibility testing (digital root of 9 indicates divisibility by 9), and pattern recognition in mathematical sequences and data validation.
Get your free API key and start using Digital Root in seconds.
Get Free API Key