Validates UUID strings against RFC 4122 standards, checking format and version compliance. Use via MCP in Cursor or Windsurf, or call GET /v1/validate/uuid with your UUID string. Returns boolean validation status plus detailed format analysis. Supports all UUID versions (1-5) and handles both hyphenated and compact formats.
curl "https://tinyfn.io/v1/validate/uuid" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/validate/uuid', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/validate/uuid',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's validation tools:
{
"mcpServers": {
"tinyfn-validation": {
"url": "https://tinyfn.io/mcp/validation",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Call the validate_uuid tool with your UUID string as the parameter. It returns true/false plus format details like version and variant.
Accepts standard hyphenated format (8-4-4-4-12) and compact format without hyphens. Validates all UUID versions 1-5 per RFC 4122.
Yes, it correctly identifies nil UUIDs (00000000-0000-0000-0000-000000000000) as valid UUID format while flagging them as nil variant.
Validation checks existing UUID strings for RFC compliance and extracts metadata. Generation creates new UUIDs with specific versions and entropy.
The endpoint validates one UUID per request. For batch validation in AI workflows, loop through your UUID array with multiple MCP calls.
Get your free API key and start using Validate Uuid in seconds.
Get Free API Key