draw_cards

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

Draw a spread of 1–78 random tarot cards (pass count). Returns each card’s name, short ID, suit, type, upright meaning, reversed meaning, and description.

Parameters

NameTypeRequiredDescription
countnumberyesNumber of cards to draw (1–78).

Example call

Arguments

{
  "count": 3
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('draw_cards', {
  "count": 3
});

More examples

{
  "count": 10
}

Response shape

Always returns: count, cards

FieldTypeDescription
countnumberNumber of cards drawn
cardsarrayArray of drawn tarot cards
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Number of cards drawn"
    },
    "cards": {
      "type": "array",
      "description": "Array of drawn tarot cards",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Full name of the tarot card"
          },
          "name_short": {
            "type": "string",
            "description": "Short identifier for the card"
          },
          "value": {
            "type": "string",
            "description": "Card value or number"
          },
          "value_int": {
            "type": "number",
            "description": "Integer representation of card value"
          },
          "type": {
            "type": "string",
            "description": "Card type (e.g. Major Arcana, Minor Arcana)"
          },
          "suit": {
            "type": [
              "string",
              "null"
            ],
            "description": "Suit of the card (null for Major Arcana)"
          },
          "meaning_up": {
            "type": "string",
            "description": "Upright meaning of the card"
          },
          "meaning_rev": {
            "type": "string",
            "description": "Reversed meaning of the card"
          },
          "desc": {
            "type": "string",
            "description": "Detailed description of the card"
          }
        },
        "required": [
          "name",
          "name_short",
          "value",
          "value_int",
          "type",
          "suit",
          "meaning_up",
          "meaning_rev",
          "desc"
        ]
      }
    }
  },
  "required": [
    "count",
    "cards"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 22, 2026