@dennisk2025/random-dad-joke
v1.0.0
Published
Fetches a random dad joke, delivering a funny and lighthearted joke to amuse users.
Readme
random-dad-joke MCP Server
Fetches a random dad joke from the internet and delivers it to amuse users. This MCP server provides a simple tool to retrieve hilarious, family-friendly dad jokes on demand via Claude Desktop or any MCP-compatible client.
Installation
With npm
npm install -g @dennisk2025/random-dad-joke
Or run directly (no installation required)
npx @dennisk2025/random-dad-joke
Adding to Claude Desktop
Add this server to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Example configuration:
{
"mcpServers": {
"dadjoke": {
"command": "npx",
"args": ["@dennisk2025/random-dad-joke"]
}
}
}Add the above block under the "mcpServers" section. Restart Claude Desktop after saving.
Usage
Once configured, open Claude Desktop and bring up the MCP tool list (or use /tool). You will see one tool:
- get_random_dad_joke: Retrieves a random dad joke as plain text.
Example: Using the tool
- Tool name: get_random_dad_joke
- Parameters: (none required)
Example call (via Claude Desktop):
/tool get_random_dad_joke {}Example response:
{
"joke": "Why don't eggs tell jokes? They'd crack each other up."
}Available Tools
get_random_dad_joke
- Description: Retrieves a random dad joke as plain text.
- Parameters: none
- Returns: JSON object with a "joke" field containing the dad joke.
Have fun, and let the dad jokes brighten your day!
