Skip to main content
Glama
tarot-mcp-server

tarot-mcp-server

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.

Related MCP server: mcp-tarot-draw

Available Tools

Tool

Description

lookup_tarot_card

Look up any of the 78 Rider-Waite cards by name, slug, or ID (supports fuzzy matching like "moon" or "king of swords").

draw_tarot_cards

Draw 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_cards

Search and filter cards by free-text keyword, arcana, suit, element (fire, water, air, earth), or upright yes/no leaning.

list_tarot_spreads

List 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.

Available Tools

4 tools
draw_tarot_cardsB

Perform a cryptographically fair random draw of unique tarot cards from the 78-card Rider-Waite deck with optional reversed orientations and standard spread positions.

Inputs: count, arcana, spread, allow_reversed.

list_tarot_spreadsA

List classic tarot spread layouts with their card counts, position labels, use cases, and interactive reading links.

Inputs: no named parameters.

lookup_tarot_cardA

Look up factual reference data for any of the 78 Rider-Waite tarot cards by name, slug, or ID (including upright/reversed keywords, short meanings, element, astrology, yes/no leaning, and guide URL).

Inputs: card (required).

search_tarot_cardsB

Search and filter the 78-card Rider-Waite factual tarot dataset by keyword, suit, arcana, element, or upright yes/no leaning.

Inputs: suit, limit, query, arcana, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool has a distinct role: draw (random selection), list spreads (spread metadata), lookup (exact identifier retrieval), and search (filtered discovery). Lookup vs. search could be momentarily confused, but the descriptions clarify that one is keyed retrieval and the other is keyword/filter search.

    Naming Consistency5/5

    All four tools follow a clean verb_tarot_noun(s) snake_case pattern (draw_tarot_cards, list_tarot_spreads, lookup_tarot_card, search_tarot_cards). The singular/plural variation tracks the object being returned, so it remains predictable.

    Tool Count4/5

    Four tools is a tight, well-scoped surface for a focused tarot domain, and each tool earns its place. It is on the lean side—no tool for composing a full reading—but nothing is redundant.

    Completeness4/5

    Core workflows are covered: draw cards with orientations and spread positions, discover spreads, and look up or search the card dataset for interpretations. Minor gaps exist around fetching a single spread by ID or assembling/recording a completed reading, but agents can work around these by combining draw with lookup.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Provides professional-grade Rider-Waite tarot readings and 11 specialized spreads through a comprehensive interpretation engine featuring elemental and context-aware analysis. It enables users to perform cryptographically secure card draws, create custom spreads, and explore detailed card symbolism via MCP or HTTP protocols.
      14
      15
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that draws tarot cards from the 78-card deck and interprets them for your situation, using StupidAPIs with an X-API-Key required.
      31 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides tarot card meanings, spreads (three-card, yes/no), and random draws for any MCP-compatible client.
      5
      15 npm
      3
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that calculates saju (four pillars) from birth date/time and provides entertaining interpretations of daily fortune, yearly luck, compatibility, name analysis, and tarot using MIT-licensed manseryeok-js.
      -