在 Windows 上用 Claude Code 讀本機 LINE 電腦版聊天記錄、產生每日摘要的 MCP server(wxSQLite3/aes128cbc 解密)
用 Claude Code 讀本機 LINE 電腦版的聊天記錄,整理成每日摘要。整個過程只在你自己的電腦、你自己登入的 LINE 上跑,金鑰不落地、不連網。
- Windows。金鑰提取靠 Windows 的 ReadProcessMemory,Mac 和 Linux 用不了。 - LINE 電腦版,開著而且已登入。金鑰只存在 LINE 的記憶體裡,關掉就讀不到了。 - Python 3.11 以上。 - Claude Code。
專案裡已經有一份 .mcp.json。在這個資料夾裡開 Claude Code,它就會載入名叫 line 的 MCP server,第一次會問你要不要信任,選同意。
全域註冊要寫絕對路徑,因為啟動時的工作目錄不一定在專案裡。專案內附的 .mcp.json 用相對路徑,不需要改。
Claude 會呼叫三個工具把訊息撈出來,照 skills/line-summary/SKILL.md 的格式整理成摘要。
第一次呼叫要等大概 80 秒,它在掃 LINE 的記憶體找解密金鑰。找到之後會記住,同一個 session 後面都很快。
不用特別做什麼。LINE 開著、在專案資料夾重開 Claude Code,line server 會再載入一次,照上面講一句話就好。
金鑰不存檔,所以每個新 session 的第一次呼叫會再花那 80 秒重找一次。這是刻意的,換來的是金鑰不會留在硬碟上。
存在 output/ 底下,這個資料夾已經寫進 .gitignore。裡面是真實對話內容,包含別人的發言,別放到公開的地方。
- 只讀你自己電腦、你自己登入的 LINE。金鑰在記憶體裡用完就算了,不寫檔、不寫 log、不上網。 - 群組和開放聊天室裡有別人的訊息。自己整理來看沒問題,要公開之前先想一下。 - 目前只在 LINE 電腦版 26.3 上試過(它用 wxSQLite3 的 aes128cbc 加密)。LINE 改版可能就要重新對加密方式,過程記在 spike/FINDINGS.md。
- 「LINE is not running」:LINE 沒開或沒登入。 - 掃不到金鑰、或每個候選都解不開:多半是 LINE 更新過,加密方式變了。先看 spike/FINDINGS.md 裡怎麼查的。 - 用系統管理員開 terminal 有時能讀到更多記憶體區段。
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/yung13yubabie--line-summary.html)
Connect any AI agent to your personal Telegram via the official Business API — no userbot, no ban risk, no Premium. Agent reads & searches full history, drafts replies; every reply waits for your ✅. M
bybit-exchange/kaasTurn scattered notes, docs and transcripts into a queryable Markdown wiki — an LLM knowledge-base compiler with MCP access, no embeddings, self-hosted.
aka-kika/hig-mcpMCP server serving Apple Human Interface Guidelines as structured design tokens for AI coding agents — post-WWDC25 system colors, Liquid Glass constraints, SwiftUI mappings.
ozankasikci/global-agent-memoryLocal-first, project-aware memory MCP server for Claude Code, Codex, and other AI agents, with Obsidian and an owner dashboard.
chris-asmussen/wardenOne MCP server that fronts many MCP servers + Skills behind a small tool set and routes to the best one, keeping an agent's context tiny. Migrate your Claude Code MCPs/skills behind it.
KernelLord/pickysteveSkill router and context picker for Claude Code, Cursor, and Aider. Auto-picks the right skill for every prompt, with prompt-injection filtering for MCP.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.