The Fortuneteller's Hand
The Fortuneteller's Hand — RPG MCPサーバー
The Fortuneteller's Hand のルールを使ったロールプレイングゲーム兼GMとして動作するMCPサーバーです。これは現在制作中のオリジナルテーブルトークRPGです。Claudeがカードを読み、兆しを占い、テーブルを進行します。プレイヤーとClaudeは交代で物語を語り合います。
プレイの雰囲気
インストールする前に、簡単に説明します。まず占い師と対面します。占い師と出会う場所が、カードを引く前に唯一選ぶことです。4つのスートがあなたの4つの側面になります。占い師は各スートから1枚ずつカードを引き、それが示すものを語ります。あなたはその4つのフレーズからキャラクターを作り上げます。 キャラクターができたら、出発する前にゴールカードを解釈しなければなりません。
そこから先は、すべてのシーンが同じように進行します。場所を決め、カードをめくって何が起こっているかを確認し、物語を進めます。物語が別の心臓部に到達した瞬間、何か隠されたものに触れたとき、または運の好転が必要になったとき、あなたは立ち止まり、オーメンを呼び出して運命に直接問いかけます。運命があなたに逆らうこともあります。そのときは、それに抗うことができます。
これは本質的に、創造的なジャーナリングゲームです。本当の楽しみは、あなたと占い師が一緒に紡ぐ語りにあり、何かに勝つことではありません。動機、目的、探求、携行品は守るべきルールではなく、種のようなものです。キャラクターの心理と、これからの物語の形のための4つの出発点です。それらが導くままに進んでもいいし、物語を別の場所へさまよわせてもかまいません。あなたが多くを語るほど、物語は多くを返してくれます。
これが全体の形です。完全なメカニクスは RULES.md に、より丁寧で詳しいウォークスルーは HOW_TO_PLAY.md に、実際のセッションの完全な記録は 08-2026-Play-Example.md にあります。物語の途中でゴールや4つの側面を見失ったら、占い師に思い出してもらうよう頼んでください。
Related MCP server: mcp-tarot-draw
実行方法
クイックインストール
fortunetellers-hand-0.1.1.mcpbをわかりやすい場所にダウンロードします。ダブルクリックします(チャットウィンドウにドラッグしないでください。ファイル自体をダブルクリックするだけです)。Claude Desktopにインストールプロンプトが表示されます。
インストールを確認します。
Claude Desktopを完全に終了して再起動します。
新しいチャットを開始し、
start_gameプロンプトを呼び出します。キャラクター名を求められるので、入力すれば準備完了です。
ソースから実行
Python と uv が必要です。
このディレクトリ内で
uv syncを実行します。Claude Desktopで: 設定 → 開発者 → 設定を編集 を開き、以下を追加します:
{ "mcpServers": { "fortuneteller": { "command": "uv", "args": ["run", "--directory", "/absolute/path/to/learnMCP", "main.py"] } } }Claude Desktopを完全に終了して再起動します。
メッセージボックス近くの
+アイコンをクリック → コネクタ → "fortuneteller" を有効にします。新しいチャットを開始し、
start_gameプロンプトを呼び出します。キャラクター名(
player_name)を求められたら、それを入力します。プロンプトがメッセージボックス上部のチップとして添付されたら、送信をクリックするかEnterキーを押します。添付しただけでは自動的に送信されません。
影響を受けたもの
このプロジェクトはいくつかの作品から影響を受けています。オーメンの2ダイス読み(合計ではなく比較する方式)は、Shawn Tomkin の Ironsworn に大きな負債があります。私はこのゲームが大好きです。反抗の儀式「Not Like This」は、5ダイス・3ロール・好きなものを保持するという形をヤッツィー(プエルトリコのゲーム「Jenerala」から盗まれたもの)から借りています。ジャーナリングゲームとして、これはTim Hutchings の Thousand Year Old Vampire に多くを負っています。これは、ソロでプロンプト駆動のプレイが本当の重みを持ち得ることを証明したゲームの一つです。素晴らしいゲームです! そして最後に、Max Moon はこのプロジェクト全体のトーンを形作ってきました。私はMax Moonが作るすべてのものを愛しています。
制作の背景に興味がありますか?
これは、Model Context Protocol を自分が興味を持てる方法で学ぶための出発点でした。ツール/リソース/プロンプトの選択、状態設計、途中で見つけて修正した実際のバグなどは、すべて DESIGN.md に書かれています。質問がある場合や、修正・追加を希望される場合は、ご連絡ください。
プライバシーポリシー
データ収集: このMCPは何も収集しません。
使用と保存: 何も保存されません。すべてのゲーム状態(キャラクター、引いたカード、負債)はセッションの間だけメモリ内に存在し、セッション終了時に破棄されます。
第三者への共有: 第三者と共有されるものはありません。そもそも何も収集していないからです。
データ保持: 何も保持されません。
連絡先: maria@mariasaha.com
Available Tools
11 toolscall_the_handCall the HandA
Trigger the Called Hand: an omen rolled doubles, so fate intrudes on the scene instead of answering the question.
Call immediately whenever cast_omen returns doubles=True — this isn't
the player's to invoke, Claude always calls it. Plays the oldest
outstanding debt card if any are owed (owed debt always comes due
first), otherwise deals a fresh card from the Fortuneteller's Hand
deck. Either way the landing must intrude on the scene — it costs
something, and the original question the omen asked stays unanswered.
If the player wants to fight the landed fortune, that's when they call
defiance (see defy_roll).
Takes no parameters. Not idempotent: mutates the shared debt row
(pops the oldest card) or the shared Hand deck (deals a fresh card).
Returns a dict with source ("debt_row" or "fresh_deal"), card (the
landed card's rank/suit/phrase/etc.), and a fixed note reminding you
the landing must intrude and the question stays unanswered.
Inputs: no named parameters.
cast_omenCast OmenA
Cast an omen: roll two ten-sided dice (light vs dark, compared not summed) to answer a real yes/no question with real stakes.
Call whenever a scene reaches something no one can know in advance —
other hearts, hidden things, or the turn of luck — or when a player
claims an uncertain, high-stakes action simply succeeded. At least one
omen must be asked before a scene can close. Not for material that just
needs new story content rather than a yes/no answer — use
draw_unclaimed_card for that instead.
hope: a plain sentence naming the real stakes being asked about — what
the asker hopes is true (e.g. "I hope the guard doesn't notice me").
Not idempotent: each call rolls fresh dice and increments an internal
counter that alternates who narrates the result. Doesn't mutate any
other game state. Returns a dict describing the roll: on doubles,
{hope, light, dark, doubles: True, reading} — no answer, the Hand is
called instead (see call_the_hand). Otherwise {hope, light, dark,
doubles: False, direction, gap, texture, complication_rank,
complication_meaning, grounds_by} — direction and gap give the answer's
shape, grounds_by says whether the player or Claude narrates the
complication.
Inputs: hope (required).
complete_goalComplete GoalA
Mark the current Sitting's Goal as completed, once the story has actually resolved it.
Call at most once per Sitting, only after an Omen's grounding has landed
and, checked against the Goal's saved interpretation (get_sheet's 'goal'
field), genuinely resolves what the Goal meant — never call this
preemptively, ahead of the grounding that earns it. Distinct from
draw_goal_card, which deals the Goal at the start of the Sitting;
complete_goal only marks it finished later in play.
Takes no parameters. Idempotent in effect (repeated calls leave the flag
True) but should only be invoked the one time the resolution actually
happens. Sets and returns goal_completed as True.
Inputs: no named parameters.
defy_resolveResolve DefianceA
Lock in the current defiance dice as final, deal debt, and reset the ritual.
Call once, after defy_roll has been called at least once and the
player is done rolling (whether by choice or because three rolls were
taken). Ends the current defiance ritual — a subsequent defy_roll call
starts a fresh one from scratch.
Takes no parameters. Raises ValueError if called before any defy_roll
in this ritual. Not idempotent: mutates the shared debt row, adding
one debt card per roll taken during the ritual (more rolls, more debt,
win or lose), and clears the ritual's dice/roll-count state. Returns a
dict with final_dice, rolls_taken, pattern and bend (None if no
scoring pattern was hit — otherwise three of a kind/"turn the blade",
small straight/"stay the hand", full house/"take the cup", or five of
a kind/"seize the pen"), and debt_dealt (the cards just added to the
debt row).
Inputs: no named parameters.
defy_rollRoll Defiance DiceA
Roll (or re-roll) the five defiance dice, Yahtzee-style, when a player wants to fight a landed fortune from call_the_hand.
Call once to make the first roll (keep=None or []), then optionally
call again up to two more times to re-roll, keeping whichever dice the
player wants to hold between rolls. Up to three rolls total; call
defy_resolve once the player is satisfied with the dice (or after the
third roll) to lock in the result and deal debt.
keep: the die face values (1-6) to hold onto from the current dice
before rolling the rest fresh — e.g. keep=[6, 6] to hold two sixes.
Must be a subset of what's actually currently showing (raises
ValueError otherwise), and must be empty/None on the very first roll of
a ritual (there are no dice to keep yet).
Not idempotent: mutates shared dice/roll-count state across calls
within one defiance ritual; each extra roll taken also means more debt
dealt later at defy_resolve. Returns a dict with dice (sorted current
values), rolls_taken, rolls_remaining, and current_pattern/current_bend
if the dice already match a scoring pattern (three of a kind, small
straight, full house, or five of a kind — see defy_resolve).
Inputs: keep.
draw_cross_cardDraw Cross CardA
Draw one card, blind, into a position on the Sitting's cross — the four-drive character-creation spread built once at the start of every campaign.
Call once per drive during the Sitting, after the player has chosen a
suit for that drive: Motivation, then Seek, then Carry, then Ends, in
that order. Each of the four positions and each of the four suits can
only be used once each — calling this with a position or suit already
used raises ValueError. "Blind" means the card is drawn face-down from
the matching suit's own 13-card pile without looking; don't reveal its
phrase to the player until all four drives have a card.
suit: which of the four card suits (♥ Hearts, ♦ Diamonds, ♣ Clubs,
♠ Spades) the player chose for this drive — each suit represents a
different domain of meaning (love/loyalty, wealth/ambition,
labor/growth, death/conflict).
position: which of the four drives this card fills — Motivation, Seek,
Carry, or Ends.
Not idempotent: mutates the shared cross and removes a card from the
suit's pile. Returns the drawn card as a dict with rank, suit,
suit_name, domain, rank_meaning, and phrase.
Inputs: suit (required), position (required).
draw_goal_cardDraw Goal CardA
Deal the Goal: draw one card face-up from whatever's left across all four suit piles, once all four drives have been drawn.
Call once, during the Sitting, right after all four calls to
draw_cross_card are done (one per drive: Motivation, Seek, Carry, Ends)
and the player has described their character. Unlike draw_cross_card,
this draws from the combined remainder of all four suit piles at once,
not one specific suit — and it's revealed to the player immediately,
not held back. After dealing it and asking what it means, pass the
player's answer to record_goal_interpretation.
Takes no parameters. Raises ValueError if called before all four cross
positions are filled, or if a Goal has already been dealt this Sitting.
Not idempotent: mutates the shared Goal and the relevant suit pile.
Returns the drawn card as a dict with rank, suit, suit_name, domain,
rank_meaning, and phrase.
Inputs: no named parameters.
draw_unclaimed_cardDraw Unclaimed CardA
Draw one card from the Fortuneteller's Hand deck to open or refuel a scene with new story material.
Call at the start of every new scene, and again mid-scene any time the
story genuinely needs new material rather than a yes/no answer — for a
yes/no question, use cast_omen instead. Read the returned phrase cold,
before narrating anything else; only afterward do you narrate the scene
forward and let its meaning land in the fiction.
Takes no parameters. Not idempotent: each call removes and returns a
different card from the shared, shuffled deck (auto-reshuffles when the
deck runs out). Returns a dict with rank, suit, suit_name, domain,
rank_meaning, and phrase.
Inputs: no named parameters.
get_sheetGet Character SheetARead-only
Read the current character sheet: the Sitting's cross, Goal, debt row, and whether the Goal is completed.
Call any time you need to check saved state rather than re-deriving
it — for example, checking the Goal's saved interpretation before
calling complete_goal, or checking goal_completed before deciding
whether to close the campaign at a scene's end. Read-only: never
mutates game state.
player_name: must exactly match the name already set via
name_character for the character currently in play; raises ValueError
if no character has been named yet, or if the name doesn't match the
current character.
Returns a dict with cross (the four drive-to-card mapping), goal (the
dealt Goal card plus its recorded interpretation, or None if not yet
dealt), debt_row (list of outstanding debt cards), and goal_completed
(bool).
Inputs: player_name (required).
name_characterName CharacterA
Set the name of the character being created for a new Sitting.
Already called automatically, once, when the start_game prompt runs —
you typically won't need to call this tool yourself. It exists as a
standalone tool mainly so get_sheet and other tools have a name to
validate against. Call it directly only if you need to (re)name a
character outside the normal start_game flow.
player_name: the player-chosen name for their character. No format
constraints.
Not idempotent: overwrites the shared character name each time it's
called, with no confirmation or uniqueness check. Returns
{"player_name": player_name}.
Inputs: player_name (required).
record_goal_interpretationRecord Goal InterpretationA
Save the player-and-Claude-agreed meaning of the Goal card onto the Goal, for later reference.
Call once, during the Sitting, right after the player has answered what
the Goal means and Claude has reflected that answer back in a sentence
or two — pass that reflected sentence in. This becomes the saved
reference that complete_goal later checks against (via get_sheet's
'goal' field) to judge whether a moment in play genuinely resolves the
Goal.
interpretation: a plain-language sentence or two capturing what the
Goal means for this character — Claude's own reflected summary, not a
verbatim quote of the player's answer.
Raises ValueError if called before draw_goal_card has dealt a Goal.
Not idempotent: overwrites any existing interpretation on the shared
Goal. Returns the full updated Goal card dict, including the new
'interpretation' field.
Inputs: interpretation (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool occupies a distinct step in the game flow—character creation, omen resolution, defiance, or state reading—and the descriptions explicitly state when to call each. Even though several tools draw cards or roll dice, their triggers and parameters are clearly separated, so an agent would not confuse them.
All tools follow a consistent verb_noun pattern with lowercase and underscores, using clear action words like draw, cast, call, defy, get, complete. The only slight variation is 'call_the_hand' which includes an article, but it's still a verb-phrase pattern, so the naming is highly predictable.
Eleven tools is appropriate for this game system, covering character building, scene resolution, and state management without being excessive. Each tool serves a concrete purpose, and the count falls squarely in the recommended 3-15 range.
The tool set covers the full lifecycle of a Sitting: naming, cross and goal drawing, interpretation recording, scene omen and hand mechanics, defiance rituals, unclaimed cards, state inspection, and goal completion. There are no obvious missing operations that would force an agent to work around gaps.
Maintenance
Related MCP Connectors
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
An MCP server for deep research or task groups
Hosted X Ads MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseAqualityBmaintenanceAn immersive Role-Playing Game server built on the Model Context Protocol for interactive storytelling with AI assistants like Claude.2717MIT
- AlicenseNot gradedqualityCmaintenanceAn 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.13 npmMIT
- AlicenseAqualityDmaintenanceMCP server providing true randomness capabilities to Claude, enabling cryptographically secure random number generation for games, decision-making, sampling, simulations, and any operation requiring genuine randomness.132MIT
- FlicenseBqualityDmaintenanceAn MCP server that provides 18 tools for dice rolling, luck tests, character management, world state, combat, and save/load, enabling an AI game master to run a solo-play gamebook entirely through deterministic game logic.181-