mcpField
M
MahjongHandbook — American NMJL, MCR & Riichi Mahjong Scoring Rules Engine

MahjongHandbook — American NMJL, MCR & Riichi Mahjong Scoring Rules Engine

Remote
mahjonghandbook.comGames & Entertainment0Updated 1d ago

About MahjongHandbook — American NMJL, MCR & Riichi Mahjong Scoring Rules Engine

MahjongHandbook is a read-only MCP server for scoring rules and play procedures across American NMJL, Chinese MCR, Japanese Riichi, and Hong Kong Mahjong. It is for players and developers checking regional rules, tile legality, or win conditions.

Key features

  1. 01Compare regional scoring-rule structures
  2. 02Retrieve American Charleston passing steps
  3. 03Check NMJL Joker meld legality
  4. 04Evaluate Riichi Furiten and Yaku conditions

Use cases

  1. 01Compare tile counts and scoring thresholds
  2. 02Review tile passing before an American Mahjong game
  3. 03Check whether a Joker substitution is legal
  4. 04Verify Furiten restrictions and the 1-Yaku win condition

MCP support

It provides four read-only tools to MCP clients through a remote streamable HTTP endpoint. No API key is required.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mahjonghandbook.com/api/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

MahjongHandbook — American NMJL, MCR & Riichi Mahjong Scoring Rules Engine

Official Website MCP Registry Glama Connector

Query American NMJL, Chinese Official MCR (81 Fan) & Japanese Riichi Mahjong scoring rules.

Tools Provided (4 Read-Only Tools)

Tool NameSummary
lookup_mahjong_scoring_rulesCompare high-level regional ruleset structures (tile deck size 136 vs 144 vs 152, hand length, and minimum Fan/point entry thresholds) across American, Chinese MCR, Japanese Riichi, and Hong Kong Mahjong. Do not use for Charleston passing steps, NMJL Joker meld legality, or Riichi Furiten checks.
lookup_american_charleston_sequenceRetrieve exact pre-game tile passing directions (Right, Across, Left), blind pass rules, and Courtesy Pass negotiation steps prior to the first discard in American Mahjong.
check_nmjl_joker_legalityValidate whether an American Mahjong Joker tile can legally substitute inside a specific meld size (1 to 6 tiles) and retrieve exposed Joker live-turn swap rules.
check_riichi_furiten_and_yakuEvaluate Japanese Riichi Mahjong discard/temporary Furiten Ron restrictions and verify whether a hand satisfies the mandatory 1-Yaku win condition independent of Dora.

Connect in 10 Seconds

Claude Code
claude mcp add --transport http mahjonghandbook https://mahjonghandbook.com/api/mcp
Cursor / Claude Desktop / Windsurf (mcp.json)
{
  "mcpServers": {
    "mahjonghandbook": {
      "type": "streamable-http",
      "url": "https://mahjonghandbook.com/api/mcp"
    }
  }
}
Agent Skill (skills.sh)
npx -y skills@latest add AbigailDavised/mahjonghandbook-mcp -y

License

MIT © MahjongHandbook

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.