Tarot MCP Server

Open-source Rider-Waite tarot MCP server with a complete 78-card factual dataset, cryptographically fair card draws, yes/no leanings, and card lookups. Maintained by Tarot Fortune Cards (https://tarotfortunecards.art).

Documentation

Tarot MCP Server

An open-source Model Context Protocol (MCP) server and factual 78-card Rider-Waite tarot dataset for AI assistants (Claude Desktop, Cursor, Windsurf, Claude Code, and any MCP-compatible client).

Maintained by Tarot Fortune Cards — a free, no-signup online tarot reading experience.

Features

  • 100% Local & Zero API Keys: Runs locally over stdio using Node.js with no external API dependency.
  • Complete 78-Card Factual Dataset (data/tarot-cards-78.json): Every Major and Minor Arcana card with suit, element, astrology correspondence, upright & reversed keywords, concise meanings, yes/no leanings, and reference guide links.
  • Cryptographically Fair Card Draws: Uses Node's crypto.randomInt (Fisher-Yates shuffle) for fair, duplicate-free spreads.
  • 4 MCP Tools + 2 MCP Resources: Ready out of the box for card lookups, spreads, keyword filtering, and raw JSON dataset access.

Available Tools

ToolDescription
lookup_tarot_cardLook up any of the 78 Rider-Waite cards by name, slug, or ID (supports fuzzy matching like "moon" or "king of swords").
draw_tarot_cardsDraw 1–10 unique cards using crypto.randomInt with preset spreads (single, yes_no, three_card, love_three_card, decision_five_card, custom), reversal control, and Major/Minor filtering.
search_tarot_cardsSearch and filter cards by free-text keyword, arcana, suit, element (fire, water, air, earth), or upright yes/no leaning.
list_tarot_spreadsList classic spread definitions, position labels, and recommended use cases.

Available Resources

  • tarot://cards/all — Full 78-card Rider-Waite factual reference dataset (application/json).
  • tarot://spreads/all — Classic tarot spread layouts and position definitions (application/json).

Quick Start

1. Clone and install

git clone https://github.com/mazycc/tarot-mcp-server.git
cd tarot-mcp-server
npm install
npm test

2. Configure in Claude Desktop / Cursor / Claude Code

Add to your MCP configuration (claude_desktop_config.json or .cursor/mcp.json):

{
  "mcpServers": {
    "tarot": {
      "command": "node",
      "args": ["/absolute/path/to/tarot-mcp-server/src/index.js"]
    }
  }
}

3. Run with Docker

docker build -t tarot-mcp-server .
docker run -i --rm tarot-mcp-server

Example Prompts

  • "Draw a 3-card love spread using the tarot tool and explain how the cards interact."
  • "Look up The Moon tarot card and give me its upright vs. reversed yes/no leaning."
  • "Search for all upright Swords cards with a 'yes' leaning."

Reference Guides

Want an interactive browser pull with full card artwork? Try the free web reader on Tarot Fortune Cards:

Dataset Schema (data/tarot-cards-78.json)

Each entry contains strictly factual Rider-Waite reference metadata:

{
  "id": "major-18",
  "slug": "the-moon",
  "name": "The Moon",
  "arcana": "major",
  "suit": null,
  "number": 18,
  "element": "water",
  "astrology": "Pisces",
  "yes_no_upright": "maybe",
  "yes_no_reversed": "no",
  "keywords_upright": ["illusion", "fear", "anxiety", "intuition", "subconscious"],
  "keywords_reversed": ["release of fear", "clarity", "truth revealed", "repression"],
  "meaning_upright": "Illusion, fear, and the subconscious. Not everything is as it appears; navigate carefully by intuition.",
  "meaning_reversed": "Release of fear, clarity emerging, or repressed emotions surfacing. The fog is lifting.",
  "guide_url": "https://tarotfortunecards.art/the-moon-yes-or-no"
}

License

MIT — free to use, fork, and integrate in your own projects with attribution to Tarot Fortune Cards.