joke_by_category

Pack: chucknorris · Endpoint: https://gateway.pipeworx.io/chucknorris/mcp

Get a random Chuck Norris joke from a specific category. Returns joke text and ID.

Parameters

NameTypeRequiredDescription
categorystringyesCategory to fetch a joke from. Use list_categories to see valid values.

Example call

Arguments

{
  "category": "nerdy"
}

curl

curl -X POST https://gateway.pipeworx.io/chucknorris/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"joke_by_category","arguments":{"category":"nerdy"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('joke_by_category', {
  "category": "nerdy"
});

More examples

{
  "category": "sport"
}

Response shape

Always returns: id, joke, categories, url

FieldTypeDescription
idstringUnique joke identifier
jokestringThe joke text
categoriesarrayList of categories
urlstringURL to the joke on chucknorris.io
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique joke identifier"
    },
    "joke": {
      "type": "string",
      "description": "The joke text"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of categories"
    },
    "url": {
      "type": "string",
      "description": "URL to the joke on chucknorris.io"
    }
  },
  "required": [
    "id",
    "joke",
    "categories",
    "url"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "chucknorris": {
      "url": "https://gateway.pipeworx.io/chucknorris/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026