Fun Utilities

Random Compliment

Generates random compliments for applications, games, or user engagement features. Access via MCP in Cursor or Windsurf, or call GET /v1/fun/compliment directly. Returns JSON with a genuine compliment like "Your creativity knows no bounds!" Perfect for adding positive reinforcement to apps without hardcoding praise messages.

API Endpoint

GET /v1/fun/compliment

Code Examples

curl "https://tinyfn.io/v1/fun/compliment" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/fun/compliment', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/fun/compliment',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's fun tools:

{
  "mcpServers": {
    "tinyfn-fun": {
      "url": "https://tinyfn.io/mcp/fun",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I get a random compliment using MCP in Cursor?

Use the random_compliment tool directly in your MCP-enabled editor. It returns a JSON object with a compliment string you can display to users.

What format does the compliment API return?

Returns JSON with a compliment field containing the random praise message. The compliments are family-friendly and suitable for professional applications.

Can I use this for user onboarding or gamification?

Yes, it's perfect for adding positive reinforcement to apps, congratulating users on achievements, or brightening interfaces with encouraging messages.

Are the compliments appropriate for business applications?

All compliments are professional, positive, and suitable for workplace or consumer apps. They focus on qualities like creativity, determination, and accomplishments.

How many different compliments are available?

The tool draws from a curated collection of genuine, varied compliments to ensure users don't see repetitive messages frequently.

Try Random Compliment Now

Get your free API key and start using Random Compliment in seconds.

Get Free API Key