random_quote

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

Return a random quote from the corpus, optionally filtered by author, fame, verification status, or tag. Each result includes citation: work, year, speaker (for plays/fiction), and source URL.

Parameters

NameTypeRequiredDescription
author_idstringnoOptional author id (e.g., “oscar-wilde”, “william-shakespeare”, “mark-twain”). Use list_authors to discover ids.
famous_onlybooleannoIf true, only return famous/canonical quotes.
verified_onlybooleannoIf true, exclude misattributed quotes.
tagstringnoFilter by tag (e.g., “wit”, “love”, “misattributed”, “commonly-misquoted”).

Example call

Arguments

{
  "famous_only": true,
  "verified_only": true
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('random_quote', {
  "famous_only": true,
  "verified_only": true
});

More examples

{
  "author_id": "oscar-wilde",
  "tag": "wit"
}
{
  "author_id": "william-shakespeare",
  "famous_only": true
}

Response shape

Full JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "error": {
          "type": "string",
          "description": "Error message when no quotes match filters"
        }
      },
      "required": [
        "error"
      ]
    },
    {
      "type": "object",
      "description": "Random quote with full citation details"
    }
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026