random_fact

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

Get a random useless (but interesting) fact.

Example call

Arguments

{}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('random_fact', {});

Response shape

Always returns: id, fact, source, source_url, permalink

FieldTypeDescription
idstringUnique identifier for the fact
factstringThe useless fact text
sourcestringSource of the fact
source_urlstringURL to the source
permalinkstringPermanent link to the fact
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the fact"
    },
    "fact": {
      "type": "string",
      "description": "The useless fact text"
    },
    "source": {
      "type": "string",
      "description": "Source of the fact"
    },
    "source_url": {
      "type": "string",
      "description": "URL to the source"
    },
    "permalink": {
      "type": "string",
      "description": "Permanent link to the fact"
    }
  },
  "required": [
    "id",
    "fact",
    "source",
    "source_url",
    "permalink"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026