Connects to the icanhazdadjoke.com API and wraps three simple operations: pull random dad jokes, search the joke database by keyword with configurable result limits, or fetch specific jokes by ID. You'd reach for this when building conversational AI that needs levity on demand, whether that's breaking tension in a support chat, filling dead air, or responding to user requests for humor. The search tool is the most practical bit since you can match jokes to context (search "pizza" when discussing food orders, for instance). No auth required, runs on FastMCP, and deploys to Smithery with zero configuration. It's a single purpose tool that does exactly what the tin says.
A lightweight Model Context Protocol (MCP) server that provides dad jokes from icanhazdadjoke.com.
get_random_joke_toolGet a random dad joke.
Example:
{}
search_jokes_toolSearch for dad jokes containing a specific term.
Parameters:
term (string, required): Search term to find jokeslimit (integer, optional): Number of jokes to return (default: 5, max: 30)Example:
{
"term": "pizza",
"limit": 3
}
get_joke_by_id_toolRetrieve a specific joke by its ID.
Parameters:
joke_id (string, required): The ID of the joke to retrieveExample:
{
"joke_id": "R7UfaahVfFd"
}
git clone https://github.com/aamangeldi/dad-jokes-mcp.git
cd dad-jokes-mcp
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install fastmcp smithery httpx
fastmcp run server.py
The server uses:
runtime: python in smithery.yaml@smithery.server() decorator for configurationThe server requires no authentication or configuration. It uses the free icanhazdadjoke.com API with the following defaults:
https://icanhazdadjoke.comDad jokes provided by icanhazdadjoke.com
MIT License - see LICENSE file for details
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp