tryluck-0.2.0 is not a library.
tryluck
Try your luck with AI: randomized tarot, dice, and coin results for creative storytelling and TRPG adventures via CLI and MCP.
Installation
Linux / macOS:
|
Windows (PowerShell):
irm https://raw.githubusercontent.com/fluo10/tryluck/main/install.ps1 | iex
From source:
CLI
Coin flip
Example output:
heads
tails
heads
Dice roll
Example output:
4
2
6
Total: 12
Tarot draw
Example output:
The Fool
ecitsuJ
The Star
(Reversed cards are displayed as reversed text)
MCP Server
Start the MCP server using stdio transport. Compatible with Claude Desktop and other MCP clients.
Tools
| Tool | Description |
|---|---|
coin |
Flip a coin one or more times. Accepts count and boolean. Returns a JSON array of strings. |
dice |
Roll dice. Accepts notation (e.g. "3d6+2"), count, sides, modifier, sum. Returns a JSON array or {rolls, total} object. |
tarot |
Draw Major Arcana tarot cards. Accepts count and case ("snake" or "proper"). Returns a JSON array of {card, orientation} objects. |
License
MIT OR Apache-2.0