Fun Utilities

Dad Joke

Fetches random dad jokes from a curated collection. Available via MCP in Cursor and other AI editors, or REST API at `/v1/fun/dad-joke`. Returns clean, family-friendly jokes perfect for lightening code reviews or breaking awkward Slack silences. Each call guarantees a different groan-worthy punchline.

API Endpoint

GET /v1/fun/dad-joke

Code Examples

curl "https://tinyfn.io/v1/fun/dad-joke" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/fun/dad-joke', {
  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/dad-joke',
    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 dad joke in my MCP-enabled editor?

Use the dad-joke tool in Cursor, Claude Code, or other MCP clients. It returns a random joke object with setup and punchline fields.

What's the REST API endpoint for dad jokes?

GET /v1/fun/dad-joke returns a JSON response with the joke text. No parameters needed—just call it whenever you need comedic relief.

Are the dad jokes actually appropriate for work environments?

Yes, all jokes are family-friendly and workplace-safe. They're curated to avoid offensive content while maximizing eye-roll potential.

Can I get multiple dad jokes in one API call?

No, each call returns one joke. Make multiple requests if you need several jokes for your comedy bot or team morale project.

Do I get the same joke if I call the endpoint repeatedly?

No, the service returns random jokes from a large collection. While repeats are possible over many calls, you'll typically get different jokes each time.

Try Dad Joke Now

Get your free API key and start using Dad Joke in seconds.

Get Free API Key