Creates cryptographically secure UUID4 identifiers on demand. Access via MCP in Cursor or Windsurf for instant UUID generation, or call GET /v1/generate/uuid directly. Returns standard 36-character format like "550e8400-e29b-41d4-a716-446655440000". Supports bulk generation and guarantees uniqueness through proper randomization.
curl "https://tinyfn.io/v1/generate/uuid" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/generate/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/generate/uuid',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's generator tools:
{
"mcpServers": {
"tinyfn-generator": {
"url": "https://tinyfn.io/mcp/generator",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Add a count parameter to the request. The API supports bulk generation up to reasonable limits, returning an array of UUIDs instead of a single string.
Generates UUID4 (random) identifiers using cryptographically secure randomization. These are the most common type for unique identifiers in applications.
Yes, invoke the generate_uuid tool directly in Cursor, Windsurf, or other MCP clients. Perfect for generating database IDs, API keys, or session tokens during development.
UUID4 has astronomical collision probability (1 in 2^122). While not mathematically guaranteed, the chance of duplicates is negligible for practical purposes.
Standard hyphenated format: 8-4-4-4-12 characters (36 total). Example: "f47ac10b-58cc-4372-a567-0e02b2c3d479". No brackets or URN prefixes.
Get your free API key and start using Generate Uuid in seconds.
Get Free API Key