
Memocall
io.github.baodq06由 GitHub 帳號 baodq06 發布v0.1.0更新於 Oct 24, 2026
Recall past Claude Code conversations from any project as clean, compact Markdown.
概覽
讓 Claude Code 以精簡 Markdown 形式回顧並搜尋任何專案的過往對話紀錄。
- 可以做什麼
- MemoCall 會讀取 ~/.claude/projects/ 下 Claude Code 的本機會話紀錄,提供五個唯讀工具:list_sessions 依目錄分組列出近期對話,search_sessions 依關鍵字尋找過往對話,load_session 依 id 或 query 以精簡 Markdown 回傳某個對話,session_outline 提供提示詞的編號地圖,search_in_session 回傳單一對話內符合的輪次。工具呼叫輸出會被省略、捨棄的分支會被丟棄,並以中間截斷控制在輸出上限內。
- 適用情境
- 當你需要引用先前 Claude Code 工作階段的上下文,尤其是來自其他專案的工作階段,而不想複製匯出檔或手動翻找原始紀錄時很適用。也方便透過大綱與輪次範圍瀏覽超大的工作階段。
- 執行需求
- 以 npm 套件(memocall)透過 npx 以 stdio 在本機執行;需要 Claude Code CLI 與 Node 18+。未宣告驗證、環境變數、標頭或網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Memocall,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MemoCall
An MCP server that lets Claude Code recall the context of your past conversations — from any project — on demand.
Claude Code can resume a session, but getting another conversation's context into the one you're in is a chore — copy-pasting exports or digging through raw transcript files by hand — and resume only sees the current directory anyway. MemoCall turns it into a single ask: "what was I working on?" or "load the session where we set up X", and it pulls that transcript in as clean, compact Markdown — even from a totally different project.
It's read-only. Claude Code already records every session to ~/.claude/projects/<project>/<id>.jsonl; this server just reads those files, strips the noise, collapses tool calls, and hands back a readable transcript. It never writes, hooks, or touches a live session.
What you get
Five tools, available in every session once installed. Claude picks the right one from the request:
You don't call these directly — you talk normally and Claude reaches for them:
How the transcript is rendered
Raw transcripts are a verbose event log (one big file hit 11 MB). memocall reduces each turn to the essentials, Conductor-style:
Tool-call outputs are elided (the big token win, and a privacy win — see below). Abandoned/edited message branches are dropped so you get the conversation as it actually played out. A token budget keeps even an 11 MB session well under Claude Code's MCP output cap via middle-out truncation.
Navigating large sessions
A single response can't hold a 1,000-turn session, so for big ones you don't dump — you navigate:
session_outline→ a numbered map of every prompt (tiny, fits any session).search_in_session→ jump straight to the turns about a topic, orload_sessionwithturns: "300-340"to pull an exact window (turn numbers come from the outline).
So you never lose access to the middle of a huge conversation — load_session alone would middle-out-truncate it, but the outline + range/search tools let Claude reach any part on demand.
Install
Requires the Claude Code CLI (and Node 18+). One line — npx fetches and runs the published package:
--scope user makes it available in every session, in every directory. Restart Claude Code (or open a new session) and ask it to list your sessions. Verify with claude mcp list — you should see memocall: … ✔ Connected.
Or run from source (for development)
Privacy & security
- Local only. No network, no auth, no telemetry. It reads files under
~/.claude/projects/and nothing else. - Compact mode elides tool outputs, which is where secrets (tokens, keys, env) usually live — so the default output is much safer than the raw transcript.
format: "full"includes brief tool inputs and may surface sensitive strings. Use it deliberately.- Transcripts can contain secrets regardless; treat loaded context as you would the original conversation.
Limitations
- Recall is best-effort: Claude Code deletes transcripts after
cleanupPeriodDays(default 30). - Forked sessions may only contain post-fork turns.
- The transcript format is undocumented and can change between Claude Code versions; all format knowledge is isolated in
src/jsonl.tsso it's a one-file patch if it does.
Development
Layout:
src/jsonl.ts— all knowledge of the transcript format (helpers, ordering, classification).src/parser.ts— JSONL → compact Markdown (the core transform).src/locator.ts— session enumeration + cached metadata index.src/index.ts— the MCP server wiring the three tools.
License
MIT
來源:README.md,提交 53276bd
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分