- WINNER
- LOSERS
- TYPE
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How do I calculate Mahjong scores using AI?
Give your agent the Han and Fu values along with the win type, either Tsumo or Ron. Your agent calculates the exact point distribution for all players. You'll get a clear breakdown of who owes what.
The scoring outcomes
What you get from each hand
Your agent processes your input into these specific results.
WINNER
Total points earned
Your agent calculates the total score for the winning player based on the Han and Fu count.
LOSERS
Individual payouts
The engine determines exactly how many points each non-winning player must pay out.
TYPE
Win style distinction
The math changes depending on whether the win was a Tsumo or a Ron, and your agent handles that logic.
HUMAN
Final verification
You check the calculated distribution against your house rules to ensure everything is correct before settling.
The workflow
What your agent does when the hand data arrives.
Your agent takes your raw hand descriptions and runs them through the scoring logic.
Parse hand details
Your agent reads the Han and Fu values you provide in the chat.
calculate_final_scoreApply scoring logic
The engine applies the standard rules to the provided values to find the base score.
calculate_final_scoreDistribute points
Your agent splits the total score among the players based on the win type.
calculate_final_scorePresent results
Your agent gives you a clear list of points for the winner and the payers.
calculate_final_score
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Mahjong Scoring Engine tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to trigger the scoring engine.
Starting points
Swap out the Han, Fu, and win type values for your actual hand.
Mahjong Scoring Engine Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_EgD8tQIDqKqZ74Q7lIdtbQ7ddWf34rwNsbrXBt5G/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Mahjong Scoring Engine capabilities are ready to use.
{
"mcpServers": {
"mahjong-scoring-engine-mcp": {
"url": "https://edge.vinkius.com/vk_preview_EgD8tQIDqKqZ74Q7lIdtbQ7ddWf34rwNsbrXBt5G/mcp"
}
}
}- 01
Calculate the score for a Tsumo win with 4 Han and 30 Fu.
- 02
What is the point distribution for a Ron win with 2 Han and 40 Fu?
- 03
Settle this hand: Tsumo, 5 Han, 25 Fu.
- 04
Calculate scores for a 3 Han, 35 Fu Ron win.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Mahjong Scoring Engine once, then ask.
Click the link to connect the MCP to your preferred AI client. Once it's active, you can start pasting hand details directly into your chat.
Connect Mahjong Scoring Engine to your agentFAQ
How this task behaves
- 01
Can your agent handle custom house rules?
No. Your agent only calculates scores based on the Han and Fu values provided to the tool.
- 02
Does your agent keep track of the running score throughout a game?
No. Your agent calculates individual hands. You must provide the context for each new calculation.
- 03
Can your agent automatically deduct points from a digital wallet?
No. Your agent only calculates the math. You are responsible for the actual movement of points or money.
- 04
What happens if I give it the wrong Fu value?
Your agent will calculate the score based exactly on the numbers you provide, even if they are incorrect.
- 05
Can it distinguish between Tsumo and Ron?
Yes, as long as you specify the win type in your prompt.
More questions about Mahjong Scoring Engine? The Connector page answers them. See everything the Mahjong Scoring Engine Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Mahjong Scoring Engine to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Mahjong Scoring Engine plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Mahjong Scoring Engine to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









