360 Secure SkillHub
360 安全技能中心

Pipeworx dadjokes

该 Skill 通过 MCP 网关调用 icanhazdadjoke 笑话库,提供 random_joke、search_jokes、get_joke 三个工具,用于返回随机笑话、按关键词搜索或按 ID 获取指定笑话,适合聊天机器人和社群每日笑话场景。运行需 curl 与 Node 环境,通过 npx mcp-remote 连接远程 MCP 服务。

brucegutman
brucegutman
热度 39.74
最近更新 2026-05-11 17:41:04
分类:创作依赖:MCP 服务 / 第三方 API / 代码执行应用场景:故事创作 / 社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pipeworx-dadjokes
Metadata
name
pipeworx-dadjokes
description
The finest dad jokes on the internet — random, searchable, and groan-worthy from icanhazdadjoke.com
version
1.0.0
metadata
{"openclaw":{"requires":{"bins":["curl"]},"emoji":"😄","homepage":"https://pipeworx.io/packs/dadjokes"}}

Dad Jokes

Why did the scarecrow win an award? Because he was outstanding in his field. This pack serves up dad jokes from icanhazdadjoke.com — the internet's premier repository of wholesome, groan-inducing humor.

Tools

  • random_joke — A random dad joke, ready to deploy
  • search_jokes — Search the collection by keyword (e.g., "cat", "pizza", "coffee")
  • get_joke — Fetch a specific joke by its ID

Ideal for

  • Lightening the mood in a conversation
  • "Tell me a joke" requests in chatbots
  • Slack/Discord bots that post daily jokes
  • Teaching moments about search and APIs (everyone loves a good dad joke)

Example

curl -s -X POST https://gateway.pipeworx.io/dadjokes/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_jokes","arguments":{"term":"coffee","limit":3}}}'
{
  "results": [
    { "id": "71wsPKeF6h", "joke": "I just got my doctor's test results and I'm really upset. Turns out, I'm not a doctor." }
  ],
  "total_jokes": 1
}

Setup

{
  "mcpServers": {
    "pipeworx-dadjokes": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/dadjokes/mcp"]
    }
  }
}