cast_i_ching

Pack: i-ching · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/cast_i_ching for the schema, then POST the same URL with its arguments for the data.

Cast an I Ching hexagram using the traditional three-coin method (default) or the classical yarrow-stalk method, per James Legge’s 1899 translation.

Parameters

NameTypeRequiredDescription
methodstringnoDivination method. “coins” (default): three-coin toss, six times. “yarrow”: classical yarrow-stalk division, with different (narrower) probabilities.
questionstringnoOptional question being asked of the oracle. Echoed back verbatim in the result; never interpreted by this tool.
seedstringnoOptional seed for a reproducible cast. Omit for real randomness; the seed used is always returned so the cast can be replayed.

Example call

Arguments

{
  "method": "coins",
  "question": "Should we ship the chance-pack family?",
  "seed": "pipeworx-iching-smoke-1"
}

curl

curl -X POST https://gateway.pipeworx.io/i-ching/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cast_i_ching","arguments":{"method":"coins","question":"Should we ship the chance-pack family?","seed":"pipeworx-iching-smoke-1"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('cast_i_ching', {
  "method": "coins",
  "question": "Should we ship the chance-pack family?",
  "seed": "pipeworx-iching-smoke-1"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the i-ching pack
{
  "mcpServers": {
    "i-ching": {
      "url": "https://gateway.pipeworx.io/i-ching/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026