git404hub

what is majsoul-analysis-suite fr?

whong09/majsoul-analysis-suite — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · generalComplexity · 3/5LicenseSetup · moderate

tl;dr

A toolkit that pulls your Mahjong Soul game replays from the browser and analyzes your luck, efficiency, and playstyle against the field.

vibe map

mindmap
  root((majsoul analysis suite))
    Extract
      Chrome replay scrape
      Bulk extraction
      MAKA AI review
    Analyze
      Efficiency stats
      Luck stats
      Style stats
    Advanced review
      Mortal AI comparison
      Shareable packs
    Tech
      Python scripts
      TypeScript MCP server
      CDP automation
    Audience
      Mahjong Soul players
      Stat curious gamers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Extract a finished Mahjong Soul replay from your browser and convert it into a shareable JSON log.

VIBE 2

Compare your discard efficiency and luck stats against the average player in your games.

VIBE 3

Run bulk extraction across your entire replay history in one pass.

VIBE 4

Get an AI-based review of your discards using the Mortal model without needing to install the model yourself.

what's the stack?

PythonTypeScriptChrome DevTools ProtocolNode.js

how it stacks up fr

whong09/majsoul-analysis-suite0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires launching Chrome with remote debugging enabled on a separate profile before extraction works.

MIT license: use, copy, modify, and distribute freely, including for commercial purposes, as long as the copyright notice is kept.

in plain english

This project is a toolkit for people who play Mahjong Soul, an online mahjong game, and want to study their own games afterward. Mahjong Soul runs in a browser, and this suite pulls a finished game replay straight out of that browser session, converts it into a standard JSON format used by another mahjong tool called tenhou, and then runs several scripts over that JSON to break down how you played. The analysis side looks at three things: luck (how good your starting tiles and draws were compared to everyone else at the table), efficiency (whether your discards were the mathematically best choice at each turn), and style (things like how often you called riichi or opened your hand). One script produces a side by side table comparing your numbers to the field average, so you can see, for example, whether your reach rate is unusually low or your useful draw rate is unusually high. A separate script folds in game value and hand context, so plays made for placement or scoring reasons are not mistakenly counted as pure errors. There is also a bulk mode that can work through an entire replay list automatically by driving the on screen interface, and it can read an in game AI review feature called MAKA straight from the browser's memory. For deeper review, the project can hook into a separate, locally run mahjong AI called Mortal to compare your discards against what a strong policy model would have played, and it can package logs into a shareable bundle that a machine without the AI model installed can still read. A small companion tool, written in TypeScript, handles the browser automation piece by connecting to Chrome over its remote debugging protocol. The project only reads your own replay data from your own browser session and does not interact with Mahjong Soul's servers directly. It is released under the MIT license.

prompts (copy fr)

prompt 1
Walk me through setting up Chrome remote debugging so I can extract a Mahjong Soul replay with this tool.
prompt 2
Explain what the efficiency, luck, and style metrics in mjsoul_analyze.py mean for someone new to mahjong stats.
prompt 3
Help me write a script that summarizes my riichi rate and call rate across multiple extracted game logs.
prompt 4
Show me how to build and register the chrome-mcp server with an MCP client.

Frequently asked questions

what is majsoul-analysis-suite fr?

A toolkit that pulls your Mahjong Soul game replays from the browser and analyzes your luck, efficiency, and playstyle against the field.

What language is majsoul-analysis-suite written in?

Mainly Python. The stack also includes Python, TypeScript, Chrome DevTools Protocol.

What license does majsoul-analysis-suite use?

MIT license: use, copy, modify, and distribute freely, including for commercial purposes, as long as the copyright notice is kept.

How hard is majsoul-analysis-suite to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is majsoul-analysis-suite for?

Mainly general.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.