Claude connector
Mahjong Pair Desk
Mahjong Pair Desk lets Claude play compact Mahjong Solitaire layouts, inspect legal free pairs, replay exact tile removals and run a bounded completion search.
Claude cannot run a game you click, and it loses track of which tiles are free. The panel is a playable Mahjong Solitaire layout dealt from a seed, every removal is checked against the free-tile rule, and a bounded search says whether the shown position can still be cleared.
It does not use AI. Every tool is fixed code that runs on what you give it.
No chat needed: use Mahjong Pair Desk on this site.
Connect it to Claude
- In Claude, open Settings → Connectors, browse the directory for Mahjong Pair Desk and select Connect.
- No sign-in or API key is needed.
- In a conversation, give Claude your text or values and say what you want. Claude calls the tool for you.
To add it by URL instead, use https://nebulacafe.studio/claude/mahjong-pair-desk/mcp as a custom connector.
Tools
mahjong_pair_desk_deal
Prepare compact deal.
layoutShort row, Flat rows, Layered bridge- Compact layout
seedText, up to 32 characters- Reproducible ASCII seed, letters/digits/underscore/hyphen
Example input
{
"layout": "Layered bridge",
"seed": "demo"
}mahjong_pair_desk_replay
Replay and audit pairs.
sourceText, up to 12,000 characters- Supplied nebula-mahjong-replay JSON
shown_pairWhole number, -1 to 17- Pair to display, or -1 for the saved shown_pair
Example input
{
"source": "{\"format\": \"nebula-mahjong-replay\", \"version\": 1, \"layout\": \"Layered bridge\", \"seed\": \"demo\", \"moves\": [], \"shown_pair\": 0}",
"shown_pair": -1
}mahjong_pair_desk_search
Search shown position.
sourceText, up to 12,000 characters- Supplied nebula-mahjong-replay JSON
max_statesWhole number, 1 to 20000- Maximum explored search states; a limit is inconclusive
Example input
{
"source": "{\"format\": \"nebula-mahjong-replay\", \"version\": 1, \"layout\": \"Layered bridge\", \"seed\": \"demo\", \"moves\": [], \"shown_pair\": 0}",
"max_states": 2000
}mahjong_pair_desk_workspace
Opens an editable Mahjong Pair Desk panel in Claude apps that show interactive results. It runs nothing until you select Run.
Limits
- Compact deterministic6/12/34-tile solitaire layouts; exact B/D/C face labels, no flower/season wildcards or four-player Mahjong.
- A tile is free only when uncovered above and open on at least one lateral side.
- Initial deals have a construction solution; later choices can create dead ends.
- Seeded deals are reproducible, not cryptographic randomness.
- Imported replay state is regenerated from layout/seed and every move checked.
- Search is limited to20000states and reports inconclusive limits separately from exhaustive no-completion results.
- No betting, leaderboard, account or persistent storage.
- Tile actions stay local until explicit Audit.
Example prompts
- “Prepare compact deal with Mahjong Pair Desk: layout "Layered bridge", seed "demo".”
- “Replay and audit pairs with Mahjong Pair Desk: source "{\"format\": \"nebula-mahjong-replay\", \"version\": 1, \"layout\": \"Layered bridge\", \"seed\": \"…", shown pair -1.”
- “Search shown position with Mahjong Pair Desk: source "{\"format\": \"nebula-mahjong-replay\", \"version\": 1, \"layout\": \"Layered bridge\", \"seed\": \"…", max states 2000.”
- If something is missing, Claude asks for it. If a call returns an error, Claude tells you which input to fix and keeps the rest.
- Ask Claude to open the panel when you want to change the inputs yourself and run it again.
Results
Results come back in the conversation as figures, detail rows and files to download. In Claude apps that show interactive results, they open in the panel too.
Nothing is saved, so download anything you want to keep.
Cost
Free. No account or sign-in is needed.
Data and privacy
- Sent to us: the inputs for each call.
- Stored: nothing. Inputs, files and results are not kept after the reply.
- Not collected: your conversation, your prompts, or anything you did not pass to the tool.
Read the full privacy policy and terms.
Support
Visit support or email support@nebulacafe.studio. Include what you asked for and the error if a call failed.