Content
-summary
Use Claude Code to read the chat records of LINE PC version on your local machine and summarize them into The entire process runs on your own computer, with your own logged-in LINE, and the key does not leave the ground or connect to the network.
## Need
- Windows. Key extraction relies on Windows' ReadProcessMemory, which is not available on Mac and Linux PC version, open and logged in. The key only exists in LINE's memory, and if it's closed, it read.
- Python 3.11 or higher.
- Claude Code.
## Installation
```
git clone https/yung13yubabie/line-summary.git
cd line-summary
pip install -r requirements.txt
```
## Register with Claude Code
There is already a `.mcp.json` file in the project. Open Claude Code in this folder, and it will load the `line` MCP server. The first time, you will be asked if you want to trust it, select agree.
To register globally so that you can call it from any folder, change the path to the actual location of the cloned project:
aude mcp add line --scope user -- python C:\path\to\line-summary\line_mcp_server.py
```
Global registration requires an absolute path because the working directory at startup may not the project. The attached `.mcp.json` file uses a relative path not need to be changed.
## How to Use
Open Claude project speak in English:
- Summarize the conversation of group" today.
- Help me see what "XXX" has been chatting about in the past.
Claude will call three tools to retrieve the messages them into a summary in the format of `skills/line-summaryILL.md`.
The first call takes80 seconds, as it searches memory for the decryption key. it, it will remember, and session will be very fast.
a New Session
No need to do anything special. With LINE open, Code in the project folder, `line` server will load again. Just say a sentence as above.
The key is not saved, so the each new session will take 80 seconds to re-find it. intentional, and in return, the key will not remain on the hard drive.
## Where is the Summary Stored
It is stored in the `output/` which is already written in `.`. The folder contains real conversation content, including others' posts, so do not put it in a public place.
## Security and Discretion
- Only own computer, your own logged-in LINE. The key is in memory discarded after use, without writing to files, logs, or the internet Group and open chat rooms contain others' messages. It's okay to organize and yourself, but think before making- Currently, it has only on LINE PC version 3 (which uses wxSQLite128cbc encryption). updates, the encryption method may need to be re-confirmed.
## When It Doesn't Work
- "LINE is not running": LINE is not open or in.
- Cannot scan for or decrypt any candidate: Mostly, LINE has been updated, and the has changed, requiring re-confirm the decryption method.
- Using the terminal as an administrator may allow reading more memory segments.