Mahjong Scoring Engine

Mahjong Scoring Engine MCP Connector for Claude

A+

A deterministic Riichi Mahjong scoring calculator for Yaku, Fu, and final scores.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides precise, deterministic scoring for Riichi Mahjong. It connects AI agents to the complex logic of Japanese Mahjong scoring, including Yaku identification, Fu calculation, and final score distribution. Use calculate_hand_value to find the total Han and specific Yaku, calculate_fu_points to determine the point base, and calculate_final_score to get the final payment breakdown for both Tsumo and Ron wins.

mahjongriichiscoringjapanesegame-logic

3 tools expose this connector's capabilities to your AI agent.

calculate_final_score

Converts Han and Fu into the final score and payment breakdown

calculate_fu_points

Calculates the Fu (point base) of the winning hand

calculate_hand_value

Calculates the total Han count and lists applicable Yaku for a Mahjong hand

See how to talk to your AI agent using Mahjong Scoring Engine.

Calculate the hand value for these tiles: 123m 456p 789s 11z 234s, with no dora, no riichi, and it is a closed hand.

The total Han is 1 (Tanyao).

What is the final score for a 4 Han, 30 Fu hand where the winner is the dealer and it was a Ron win?

The final score is 8000 points, paid by a single player.

Calculate the Fu for a hand with tiles 123m 456p 789s 11z 234s, winning tile 1z, win type tsumo, and the hand is closed.

The total Fu is 30.

You can use the `calculate_hand_value` tool. Provide the 14 tiles, dora indicators, and whether the hand is open or closed.

Related Connectors