| --- |
| title: TarotDraw |
| app_file: app.py |
| sdk: gradio |
| sdk_version: 5.33.1 |
| --- |
| # 🔮 Tarot MCP Server |
|
|
| A simple Gradio-based MCP server that provides tarot readings using the Tarot API. |
|
|
| ## Features |
|
|
| - Interactive web interface for tarot readings |
| - Random card selection (1-5 cards) |
| - Upright and reversed card interpretations |
| - Detailed card meanings |
| - Clean and user-friendly interface |
|
|
| ## Installation |
|
|
| 1. Clone this repository |
| 2. Install the required dependencies: |
| ```bash |
| pip install -r requirements.txt |
| ``` |
|
|
| ## Usage |
|
|
| 1. Run the application: |
| ```bash |
| python app.py |
| ``` |
|
|
| 2. Open your web browser and navigate to: |
| - Local: http://127.0.0.1:7860 |
| - Public URL: (provided when you run the app) |
|
|
| 3. Enter your question and select the number of cards (1-5) |
|
|
| 4. Click "Submit" to get your tarot reading |
|
|
| ## API Integration |
|
|
| This application uses the Tarot API (https://tarotapi.dev/api/v1) to: |
| - Draw random cards |
| - Get card meanings |
| - Provide both upright and reversed interpretations |
|
|
| ## Note |
|
|
| This is a simple implementation for entertainment purposes. The readings should not be taken as professional advice. |