Tarot MCP Server
Provides tarot card reading capabilities with a complete 78-card deck, multiple spread layouts (Celtic Cross, Past-Present-Future, etc.), and detailed card interpretations for divination and daily guidance.
README
Tarot MCP Server
A Model Context Protocol (MCP) server that provides tarot card reading capabilities to AI assistants like Claude, Cursor, and other MCP-compatible tools.
Features
- Complete 78-card Tarot deck with Major and Minor Arcana
- Multiple spread layouts including Celtic Cross, Past-Present-Future, and more
- Card interpretations with upright and reversed meanings
- Intelligent readings with contextual interpretation
- Search functionality to find cards by keywords
- Daily card draws for daily guidance
Installation
From npm
npm install -g tarot-mcp
From source
git clone https://github.com/yourusername/tarot-mcp.git
cd tarot-mcp
npm install
npm run build
Configuration
Claude Desktop
Add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"tarot": {
"command": "npx",
"args": ["tarot-mcp"]
}
}
}
If installed locally from source:
{
"mcpServers": {
"tarot": {
"command": "node",
"args": ["/path/to/tarot-mcp/dist/index.js"]
}
}
}
Cursor
Add to your Cursor settings:
- Open Cursor Settings (
Cmd+,on macOS,Ctrl+,on Windows/Linux) - Navigate to the "Features" tab
- Look for "Model Context Protocol" or "MCP" section
- Add the tarot server configuration:
{
"mcpServers": {
"tarot": {
"command": "npx",
"args": ["tarot-mcp"]
}
}
}
VSCode with Continue Extension
If using the Continue extension for VSCode:
- Open Continue settings (
~/.continue/config.json) - Add the MCP server to the
mcpServerssection:
{
"mcpServers": [
{
"name": "tarot",
"command": "npx",
"args": ["tarot-mcp"]
}
]
}
Other MCP-Compatible Tools
For any tool that supports MCP servers, you generally need:
- Command:
npx tarot-mcp(if installed from npm) ornode /path/to/dist/index.js(if local) - Transport: stdio (standard input/output)
- Server Name: tarot
Check your tool's documentation for specific configuration format.
Available Tools
1. draw_cards
Draw a specified number of tarot cards.
- Parameters:
count(number): Number of cards to draw (1-78)
2. perform_reading
Perform a complete tarot reading with a specific spread.
- Parameters:
spreadId(string): ID of the spread to usequestion(string, optional): Question for the reading
3. interpret_reading
Get a detailed interpretation of a tarot reading.
- Parameters:
reading(object): The reading object fromperform_reading
4. get_card_meaning
Get detailed information about a specific tarot card.
- Parameters:
cardName(string): Name of the card (e.g., "The Fool", "Three of Cups")
5. list_spreads
List all available tarot spreads with descriptions.
6. get_spread_info
Get detailed information about a specific spread.
- Parameters:
spreadId(string): ID of the spread
7. daily_card
Draw a single card for daily guidance.
8. search_cards
Search for tarot cards by keyword.
- Parameters:
query(string): Search query
9. list_all_cards
List all 78 tarot cards.
- Parameters:
arcana(string, optional): Filter by "major", "minor", or "all"
Available Spreads
single-card: Single Card - Quick insight or daily guidancepast-present-future: Past, Present, Future - Temporal progressionsituation-action-outcome: Situation, Action, Outcome - Decision makingmind-body-spirit: Mind, Body, Spirit - Holistic self-reflectionceltic-cross: Celtic Cross - Comprehensive 10-card analysisrelationship-spread: Relationship Spread - 7-card relationship dynamicscareer-spread: Career Path - 5-card career guidancehorseshoe: Horseshoe - 7-card general guidanceyear-ahead: Year Ahead - 12 cards for each monthdecision-making: Decision Making - 5-card decision analysis
Example Usage
In Claude Desktop
Once configured, you can ask Claude to use the tarot tools:
"Draw three tarot cards for me"
"Perform a Celtic Cross reading about my career"
"What does The Fool card mean?"
"Show me all available tarot spreads"
"Do a past-present-future reading about my relationship"
"Search for cards related to 'love'"
"Give me a daily tarot card"
In Cursor
The tarot tools will be available to the AI assistant. You can use them in:
- Chat Panel: Ask the AI to perform readings or explain cards
- Inline Code Generation: Request tarot-related functionality
- Terminal Commands: Use the AI to help interpret readings
Example prompts:
- "Use the tarot MCP server to draw a card for today"
- "Perform a relationship spread reading"
- "List all available tarot spreads"
In VSCode with Continue
After configuration, use commands like:
- Type
@tarotto specifically use the tarot server - Ask questions like "Draw a Celtic Cross spread"
- Request interpretations: "What does the Three of Swords mean?"
Programmatic Usage
You can also interact with the MCP server programmatically:
// Example of calling the MCP server from your application
const reading = await mcp.call('tarot', 'perform_reading', {
spreadId: 'celtic-cross',
question: 'What should I focus on this month?'
});
const interpretation = await mcp.call('tarot', 'interpret_reading', {
reading: reading
});
Development
Building
npm run build
Testing locally
npm run dev
Project Structure
tarot-mcp/
├── src/
│ ├── index.ts # MCP server implementation
│ ├── types/ # TypeScript type definitions
│ │ └── tarot.ts
│ ├── data/ # Tarot card and spread data
│ │ ├── cards.ts
│ │ └── spreads.ts
│ └── tools/ # Tool implementations
│ └── tarot-tools.ts
├── package.json
├── tsconfig.json
└── README.md
Troubleshooting
Common Issues
-
Server not connecting
- Ensure the path to the server is correct
- Check that Node.js is installed and accessible
- Verify the configuration file is properly formatted JSON
-
Commands not working
- Restart your AI tool after adding the configuration
- Check the tool's logs for MCP connection errors
- Ensure you've built the project if running from source
-
"Tool not found" errors
- The AI tool might need explicit prompting to use the MCP server
- Try prefixing requests with "Use the tarot MCP server to..."
Getting Help
- Check the GitHub Issues
- Verify your configuration matches the examples above
- Ensure you're using the latest version
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Ideas for Contribution
- Add more tarot spreads
- Enhance card interpretations
- Add support for different tarot deck traditions
- Implement card combination meanings
- Add journaling features
- Create visualization tools
License
MIT
Author
Abdul Hamid Achik
Acknowledgments
- Tarot card meanings based on traditional Rider-Waite-Smith interpretations
- Built with the Model Context Protocol SDK
- Inspired by centuries of tarot tradition and modern digital divination tools
Resources
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。