Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tarot MCP Serverdo a Celtic Cross reading about my career path this year"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š® Tarot MCP Server
A professional-grade Model Context Protocol (MCP) server for Rider-Waite tarot card readings, built with Node.js and TypeScript. This server provides comprehensive tarot functionality through both MCP protocol and HTTP API endpoints, featuring research-based interpretations and advanced reading analysis.
Server config
š Current Implementation Status
ā FULLY IMPLEMENTED AND WORKING:
Complete 78-card Rider-Waite deck with detailed interpretations
11 professional tarot spreads (Single Card, Three Card, Celtic Cross, Horseshoe, Relationship Cross, Career Path, Decision Making, Spiritual Guidance, Year Ahead, Chakra Alignment, Shadow Work)
Custom Spread Creation: AI can create custom tarot spreads when existing ones don't fit
Multi-transport MCP server (stdio, HTTP, SSE)
Advanced interpretation engine with elemental analysis
Cryptographically secure card shuffling and drawing
Context-aware meaning selection
Professional-grade HTTP API with CORS support
Docker containerization with health checks
Comprehensive search and analytics tools
Session management and reading history
Full TypeScript implementation with strict typing
Jest testing framework setup
⨠Features
š Professional Tarot System
Research-Based Accuracy: Interpretations verified against professional tarot sources (Biddy Tarot, Labyrinthos, classical literature)
Complete Rider-Waite Deck: Comprehensive card database with detailed meanings, symbolism, astrology, and numerology
11 Professional Spreads: Celtic Cross, Relationship Cross, Career Path, Spiritual Guidance, Chakra Alignment, Year Ahead, and more
Custom Spread Creation: AI can create unlimited custom spreads (1-15 positions) when existing spreads don't fit the specific question or context
Specialized Reading Analysis: Tailored interpretations for relationships, career, spiritual growth, and energy balancing
Intelligent Card Combinations: Multi-dimensional analysis including elemental balance, suit patterns, and numerical progressions
š§ Advanced Interpretation Engine
Context-Aware Readings: Automatically selects relevant meanings based on question content (love, career, health, spiritual)
Elemental Analysis: Fire, Water, Air, Earth balance assessment and missing element identification
Archetypal Patterns: Major Arcana progression analysis and Fool's Journey insights
Position Dynamics: Celtic Cross relationship analysis (conscious vs subconscious, goal vs outcome)
Energy Flow Assessment: Three Card spread progression and overall reading energy analysis
š Technical Excellence
Multi-Transport Support: stdio (MCP), HTTP, and SSE protocols
Cryptographic Randomness: Fisher-Yates shuffle with crypto-secure random number generation
50/50 Fair Distribution: Equal probability for upright and reversed card orientations
Production Ready: Docker containerization, health checks, and comprehensive error handling
Session Management: Advanced context tracking and reading history
RESTful API: Direct HTTP endpoints for seamless integration
Type Safety: Full TypeScript implementation with strict typing
šÆ Live Reading Example
Here's what a professional Celtic Cross reading looks like:
Key Features Demonstrated:
ā Context-aware interpretations (career-focused meanings)
ā Position relationship analysis (conscious vs subconscious)
ā Elemental balance assessment (Fire energy dominance)
ā Professional guidance and actionable insights
š® Professional Tarot Spreads
Our server features 11 specialized tarot spreads designed for different life areas and spiritual practices:
š® General Guidance
Single Card: Daily guidance and quick insights
Three Card: Past/Present/Future analysis with energy flow
Celtic Cross: Comprehensive 10-card life analysis
Horseshoe: 7-card situation guidance with obstacles and advice
š Relationships & Personal
Relationship Cross: 7-card relationship dynamics analysis
š Career & Life Path
Career Path: 6-card professional development guidance
Decision Making: 5-card choice evaluation and guidance
Year Ahead: 13-card annual forecast with monthly insights
š§ Spiritual & Energy Work
Spiritual Guidance: 6-card spiritual development and higher self connection
Chakra Alignment: 7-card energy center analysis and healing
Shadow Work: 5-card psychological integration and growth
Each spread includes:
Specialized Analysis: Tailored interpretation methods for each spread type
Position Dynamics: Understanding relationships between card positions
Energy Assessment: Elemental balance and flow analysis
Professional Guidance: Actionable insights and spiritual wisdom
š Why Choose This Tarot Server?
Feature | This Server | Basic Tarot APIs | Generic Card Readers |
Research-Based Accuracy | ā Verified against professional sources | ā Generic meanings | ā Simplified interpretations |
Advanced Analysis | ā Elemental, numerical, archetypal | ā Basic card meanings | ā Single-layer interpretation |
Context Awareness | ā Question-specific meanings | ā One-size-fits-all | ā Generic responses |
Professional Spreads | ā Celtic Cross dynamics | ā Simple layouts | ā Basic positioning |
MCP Integration | ā Native MCP + HTTP/SSE | ā HTTP only | ā Limited protocols |
Production Ready | ā Docker, health checks, monitoring | ā Basic deployment | ā Development-focused |
Type Safety | ā Full TypeScript | ā JavaScript only | ā Minimal typing |
š Quick Start
Local Development
Clone and Install
git clone https://git.moraxcheng.me/Morax/tarot-mcp.git cd tarot-mcp npm installBuild the Project
npm run buildRun as MCP Server (stdio)
npm start # or node dist/index.jsRun as HTTP Server
npm run start:http # or node dist/index.js --transport http --port 3000Development Mode
npm run dev:http # HTTP server with hot reload npm run dev # stdio server with hot reload
Docker Deployment
Quick Deploy with Script
chmod +x deploy.sh ./deploy.shManual Docker Build
npm run docker:build npm run docker:runDocker Compose
npm run docker:compose # or docker-compose up -dWith Traefik (optional)
docker-compose --profile traefik up -d
š” API Endpoints
When running in HTTP mode, the following endpoints are available:
Health & Info
GET /health- Health check with service statusGET /api/info- Server information, capabilities, and available tools
Tarot Cards
GET /api/cards- List all cards with filtering options?category=all|major_arcana|minor_arcana|wands|cups|swords|pentacles
GET /api/cards/:cardName- Get detailed card information?orientation=upright|reversed(default: upright)
Professional Readings
POST /api/reading- Perform a comprehensive tarot reading{ "spreadType": "single_card|three_card|celtic_cross|horseshoe|relationship_cross|career_path|decision_making|spiritual_guidance|year_ahead|chakra_alignment|shadow_work", "question": "Your specific question here", "sessionId": "optional-session-id-for-tracking" }POST /api/custom-spread- Create and perform a custom tarot spread{ "spreadName": "Your Custom Spread Name", "description": "What this spread explores", "positions": [ { "name": "Position Name", "meaning": "What this position represents" } ], "question": "Your specific question", "sessionId": "optional-session-id" }GET /api/spreads- List all available spread types with descriptions
Advanced Features
Celtic Cross Analysis: 10-card comprehensive reading with position dynamics
Three Card Flow: Past/Present/Future with energy progression analysis
Elemental Balance: Automatic analysis of Fire, Water, Air, Earth energies
Context-Aware Interpretations: Meanings selected based on question content
Advanced Card Search: Multi-criteria search with keyword, suit, element, and arcana filtering
Similarity Analysis: Find cards with related meanings and themes
Database Analytics: Comprehensive statistics and quality metrics
Secure Randomization: Cryptographically secure card drawing and shuffling
MCP Protocol
GET /sse- Server-Sent Events endpoint for MCP clientsPOST /mcp- HTTP-based MCP endpoint for direct protocol communication
š ļø MCP Tools
The server provides 8 comprehensive MCP tools for professional tarot reading and analysis:
get_card_info
Get comprehensive information about a specific tarot card including symbolism, astrology, and numerology.
Returns: Detailed card meanings for general, love, career, health, and spiritual contexts.
list_all_cards
List all available tarot cards with filtering and categorization.
Returns: Organized card listings with keywords and brief descriptions.
perform_reading
Perform a professional tarot reading with advanced interpretation analysis.
Features:
Context-aware meaning selection based on question content
Elemental balance analysis (Fire, Water, Air, Earth)
Suit pattern recognition and interpretation
Position dynamics analysis (Celtic Cross)
Energy flow assessment (Three Card)
Relationship compatibility analysis (Relationship Cross)
Career readiness assessment (Career Path)
Chakra energy balance evaluation (Chakra Alignment)
Spiritual development guidance (Spiritual Guidance)
Annual forecasting (Year Ahead)
search_cards
Search for tarot cards using various criteria like keywords, suit, element, etc.
Features:
Keyword search across meanings, keywords, and symbolism
Filter by suit, arcana, element, number, and orientation
Flexible search criteria with customizable result limits
find_similar_cards
Find cards with similar meanings to a given card.
Features:
Semantic similarity analysis
Meaning-based card relationships
Customizable result limits
get_database_analytics
Get comprehensive analytics and statistics about the tarot card database.
Features:
Complete database statistics
Card distribution analysis
Quality metrics and recommendations
Database completeness assessment
get_random_cards
Get random cards with optional filtering for practice and exploration.
Features:
Cryptographically secure randomization
Optional filtering by suit, arcana, or element
Customizable card count
create_custom_spread
Create a custom tarot spread and draw cards for it. Perfect for AI when no existing spread fits the specific needs.
Features:
Create custom spreads with 1-15 positions
Define custom position names and meanings
Automatic card drawing with cryptographically secure randomization
Full interpretation with position-specific analysis
Session management support
Perfect for AI when existing spreads don't fit the specific question or context
š§ Configuration
Command Line Options
Environment Variables
NODE_ENV- Environment (development/production)PORT- Server port (default: 3000)
šÆ MCP Client Integration
Cursor IDE
Add to your Cursor mcp.json:
Or for local development:
HTTP-based MCP Clients
For clients supporting HTTP MCP:
SSE-based MCP Clients
For clients supporting Server-Sent Events:
š Usage Examples
Professional Reading Examples
Single Card Daily Guidance
Features: Elemental analysis, daily guidance, spiritual insights
Three Card Relationship Reading
Features: Past/Present/Future flow, energy progression analysis
Celtic Cross Career Reading
Features: 10-card comprehensive analysis, position dynamics, conscious vs subconscious insights
Relationship Cross Analysis
Features: 7-card relationship dynamics, compatibility assessment, unity/division analysis
Career Path Guidance
Features: 6-card professional analysis, skills assessment, opportunity identification
Chakra Energy Alignment
Features: 7-card chakra analysis, energy balance assessment, spiritual healing guidance
Custom Spread Creation
Features: Unlimited custom spread creation (1-15 positions), AI-driven card drawing, position-specific interpretations
Card Information Queries
Detailed Card Information
Browse Cards by Category
List Available Spreads
Advanced Search and Analytics
Search Cards by Keyword
Find Similar Cards
Get Database Analytics
Get Random Cards for Practice
šļø Architecture
Professional Tarot Engine
Key Components
Advanced Interpretation Engine
Multi-Dimensional Analysis: Individual cards + combinations + overall themes
Professional Methods: Based on research from Biddy Tarot, Labyrinthos, and classical sources
Context Awareness: Question-specific meaning selection (love, career, health, spiritual)
Elemental Analysis: Fire, Water, Air, Earth balance and missing element identification
Production-Ready Infrastructure
Multi-Transport Support: stdio (MCP), HTTP REST API, Server-Sent Events
Docker Containerization: Complete deployment with health checks and monitoring
Error Handling: Comprehensive error responses and logging
Type Safety: Full TypeScript implementation with strict mode
š§Ŗ Testing & Quality Assurance
Test Suite
Quality Metrics
Unit Tests: Card manager, reading logic, and interpretation engine
Integration Tests: API endpoints and MCP tool functionality
Type Safety: 100% TypeScript with strict mode enabled
Code Coverage: Comprehensive test coverage for core functionality
Professional Validation: Interpretations verified against established tarot sources
Research Validation
Accuracy Verification: Cross-referenced with Biddy Tarot, Labyrinthos, and classical literature
Traditional Compliance: Adherence to established Rider-Waite traditions
Professional Standards: Implementation of methods used by certified tarot readers
Symbolic Integrity: Proper interpretation of traditional symbols and imagery
š¢ Deployment
Production Deployment
Build for production
npm run buildRun with PM2 (recommended)
npm install -g pm2 pm2 start dist/index.js --name tarot-mcp -- --transport http --port 3000Or use Docker
docker run -d -p 3000:3000 --name tarot-mcp tarot-mcp
Reverse Proxy Setup
Example Nginx configuration:
š License
MIT License - see LICENSE file for details.
š¤ Contributing
We welcome contributions to improve the Tarot MCP Server! Here's how you can help:
šÆ Priority Areas
Enhanced Interpretations: Deeper psychological analysis and Jungian insights
Timing Predictions: Advanced timing predictions and seasonal influences
Internationalization: Support for multiple languages and cultural variations
Visual Integration: Card imagery and visual representation support
Mobile Integration: React Native or Flutter SDK development
š Contribution Process
Fork the repository and create a feature branch
Research thoroughly - All card meanings must be verified against professional sources
Maintain quality - Follow TypeScript best practices and include comprehensive tests
Document changes - Update README and add examples for new features
Submit pull request with detailed description and test coverage
š¬ Research Standards
Primary Sources: Biddy Tarot, Labyrinthos, classical tarot literature
Verification: Cross-reference meanings with multiple professional sources
Traditional Accuracy: Maintain adherence to established Rider-Waite traditions
Professional Language: Use authentic tarot terminology and phrasing
š§Ŗ Testing Requirements
Unit Tests: All new functionality must include comprehensive tests
Integration Tests: API endpoints and MCP tool validation
Type Safety: Maintain 100% TypeScript coverage with strict mode
Documentation: Include usage examples and API documentation
šŗļø Roadmap
š Version 2.0 (Planned)
Enhanced Interpretations: Deeper psychological analysis and Jungian insights
Timing Predictions: Seasonal influences and time-based guidance
Enhanced AI: Machine learning for pattern recognition in readings
Visual Integration: Card imagery and interactive visual representations
š Version 2.5 (Future)
Multi-Language Support: Internationalization for global accessibility
Cultural Variations: Support for different tarot traditions and interpretations
Advanced Analytics: Reading history analysis and personal growth tracking
Mobile SDK: Native mobile application support
š Version 3.0 (Vision)
Psychological Integration: Advanced Jungian analysis and psychological tarot methods
Real-Time Collaboration: Shared readings and collaborative interpretation
AI-Enhanced Insights: Advanced pattern recognition and personalized guidance
Blockchain Integration: Decentralized reading verification and authenticity
š® About This Professional Tarot Implementation
Research-Based Accuracy
This server implements the traditional Rider-Waite tarot deck with interpretations verified against multiple professional sources:
Biddy Tarot: Professional Celtic Cross methodology and advanced reading techniques
Labyrinthos: Traditional symbolism and classical interpretations
Classical Tarot Literature: Historical meanings and established correspondences
Professional Reader Methods: Advanced combination interpretation techniques
Comprehensive Card Database
ā COMPLETE: All 78 cards of the Rider-Waite deck are fully implemented with extensive information for each card:
Multi-Context Meanings: General, love, career, health, and spiritual interpretations
Orientation Specific: Detailed upright and reversed meanings beyond simple opposites
Symbolic Analysis: Comprehensive interpretation of traditional Rider-Waite imagery
Astrological Correspondences: Planetary and zodiacal associations
Numerological Significance: Spiritual and practical number meanings
Elemental Associations: Fire, Water, Air, Earth energies and their interactions
Advanced Reading Methods
Celtic Cross Dynamics: Professional 10-card analysis with position relationships
Three Card Flow: Energy progression and temporal analysis
Elemental Balance: Missing element identification and recommendations
Archetypal Patterns: Major Arcana progression and spiritual themes
Context Awareness: Question-specific meaning selection and relevance
Professional Quality
The interpretations maintain traditional tarot wisdom while providing:
Authentic Language: Professional tarot terminology and phrasing
Actionable Guidance: Practical advice combined with spiritual insights
Depth and Nuance: Multi-layered analysis beyond surface meanings
Accessibility: Clear explanations suitable for both beginners and experienced readers