Skip to main content
Glama
takada-at

Fortune MCP Server

by takada-at
README.md
# Fortune MCP Server

ホロスコープとタロット占いを提供するMCP(Model Context Protocol)サーバーです。

## 機能

- **タロット占い**: 指定した枚数のタロットカードを引いて占い結果を返します
- **ホロスコープ**: 指定した日時(または現在時刻)のホロスコープを計算して返します

## インストール
**uvx**

```shell
uvx --from git+https://github.com/takada-at/fortune_mcp fortune-mcp-server
```

**local install**

```shell
git clone https://github.com/takada-at/fortune_mcp.git
cd fortune_mcp
uv sync
uv run --directory /abs/path/to/fortune_mcp fortune-mcp-server
```

## 使用方法

### MCP設定

#### Claude Code

```shell
claude mcp add fortune -- uvx --from git+https://github.com/takada-at/fortune_mcp fortune-mcp-server
```

#### JSON
Claude Desktopなどの設定ファイル(`claude_desktop_config.json`)に以下を追加:

```json
{
  "mcpServers": {
    "fortune": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/takada-at/fortune_mcp", "fortune-mcp-server"]
    }
  }
}
```

### MCP ツール

#### 1. draw_tarot
タロットカードを引いて占い結果を返します。

パラメータ:
- `count` (integer, optional): 引くカードの枚数(1-10、デフォルト: 3)

#### 2. get_horoscope
ホロスコープを計算して返します。

パラメータ:
- `datetime` (string, optional): 計算する日時(YYYY-MM-DD HH:MM:SS形式、省略時は現在時刻)
- `random` (boolean, optional): ランダムな日時でホロスコープを生成するか(デフォルト: false)
- `latitude` (number, optional): 緯度(デフォルト: 東京 35.6895)
- `longitude` (number, optional): 経度(デフォルト: 東京 139.6917)

## 依存関係

- mcp[cli]: MCP プロトコルの実装
- pyswisseph: ホロスコープ計算用ライブラリ
- pytz: タイムゾーン処理

## ライセンス

MIT

TDQS

B3.3/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have completely distinct purposes with no overlap. draw_tarot provides tarot card readings, while get_horoscope calculates astrological horoscopes. An agent would never confuse these tools as they serve different divination methods.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with clear, descriptive names. draw_tarot and get_horoscope use the same naming convention throughout, making them predictable and easy to understand.

Tool Count2/5

With only 2 tools, this server feels quite thin for a fortune-telling domain. While tarot and horoscope are distinct, other common divination methods (like numerology, palm reading, or I Ching) are missing. The scope feels incomplete with just these two offerings.

Completeness2/5

For a fortune-telling server, the surface is severely incomplete. While tarot and horoscope are covered, there are significant gaps in the domain - no general fortune-telling, no compatibility readings, no prediction tools, and no way to interpret or combine results from different methods.

Maintenance

ActivityInactive
ResponsivenessNo issues