get_fact

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

Get a random cat fact. Returns the fact text and character length. Use get_facts to retrieve multiple facts at once.

Example call

Arguments

{}

curl

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

TypeScript (@pipeworx/sdk)

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

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

Response shape

Always returns: fact, length

FieldTypeDescription
factstringThe cat fact text
lengthnumberCharacter length of the fact
Full JSON Schema
{
  "type": "object",
  "properties": {
    "fact": {
      "type": "string",
      "description": "The cat fact text"
    },
    "length": {
      "type": "number",
      "description": "Character length of the fact"
    }
  },
  "required": [
    "fact",
    "length"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026