
Claude Replay
io.github.constripacity由 GitHub 账号 constripacity 发布v0.4.3更新于 Oct 24, 2026
Session checkpoint & recovery for Claude Code: resume, search, tag, and export recorded sessions.
发布方自己的服务:Claude Platform Docs
概览
将 Claude Code 会话记录到本地 SQLite 存储,让助手搜索、比较、打标签、恢复和导出历史会话。
- 可以做什么
- 按内容、工具、结束原因、日期或项目搜索和浏览已记录会话,并列出近期会话的状态与时长指标。查看单个会话的摘要、结束方式、错误率、涉及文件和常用工具,以及跨会话和按项目的统计。为某个会话生成结构化的恢复简报,或带备注强制创建检查点。比较两个会话的指标差异和涉及文件,并为会话命名或添加标签以便日后查找。将会话导出为自包含的 HTML、JSON 或 Markdown 记录并返回路径。
- 适用场景
- 适合在多个 Claude Code 项目间工作、需要超出内置恢复与回退能力的历史记录时使用:查清过去某次会话做了什么、为何结束、对比两次运行,或把中断会话的进展整理成简报交给新会话。
- 运行要求
- 以本地 Python 包形式运行(claude-replay,可用 uvx 启动或用 pip 安装)。记录功能需要把钩子安装到 Claude Code 的设置文件,并确保 claude-replay 命令在 PATH 中。可选的仪表盘和终端界面需要本地服务器在 8766 端口运行。CLAUDE_REPLAY_DB 变量指定 SQLite 路径;未声明任何身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Claude Replay,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Claude Replay
The observability layer for Claude Code sessions — search, analytics, and visualization across every project.
[PyPI] [CI] [Python] [License] [MCP]
Claude Code's --resume/--continue and /rewind recover the session you're in. Claude Replay does the part they don't: it hooks passively into every session, records what happened to a local SQLite store, and makes every past session — across every project — searchable, comparable, measurable, and exportable. Full-text search, per-session insight metrics, death-cause classification (why a session ended), session diffing, a web dashboard, and a terminal UI — none of which Claude Code has natively.
Passive hooks write. MCP tools, the web dashboard, and the terminal UI read. Nothing leaves your machine.
How this complements native Claude Code
Claude Replay is additive — it layers on top of the built-ins, it doesn't replace them.
Think of native resume/rewind as recovery, and Replay as observability over your whole history.
Architecture
Passive hooks write to SQLite. MCP tools read from SQLite. Dashboard + TUI visualize SQLite. That's the whole system.
Port 8766 deliberately one above Claude Bridge's 8765, so the two siblings can run side by side without colliding.
Quickstart
1. Install
Or from a clone if you'd like to hack on it:
If
pip install -efails on your environment (a known hatchling editable-install quirk on some setups), install the deps directly instead:pip install mcp starlette uvicorn anyio textual httpx.
2. Install the hooks
This wires Replay into Claude Code by merging three hooks into ~/.claude/settings.json. It's idempotent and leaves any other tools' hooks untouched.
From now on, every Claude Code session is recorded automatically. Remove the hooks any time with claude-replay uninstall (it removes only Replay's hooks).
Confirm it's actually wired up — the one check that matters:
If doctor warns that claude-replay isn't on PATH, the hooks can't run and nothing is recorded — put your install directory on PATH and re-run it.
3. Start the server (dashboard + MCP tools)
4. (Optional) Register the MCP tools with Claude Code
So a running Claude Code session can call replay_resume, replay_checkpoint, etc. directly. Two ways:
SSE (alongside the dashboard — needs claude-replay serve running):
stdio (no server process — the client launches Replay on demand):
Verify with claude mcp list claude-replay should show ✓ Connected. Inside an already-running session, type /mcp to re-handshake.
When a session dies
Paste the resume output into a fresh Claude Code session and it picks up where the dead one left off objective, what was done, what's next, and which files were touched.
MCP Tools
Every connected Claude Code session gets these ten tools:
CLI Reference
Dashboard & TUI
Web dashboard (claude-replay serve, then open http://localhost:8766/) a vanilla-JS view that polls every 2 s: session list (with how-it-ended badge + tags), a live search box, per-session timeline, and one-click "Copy Resume Brief" / "Export HTML". No CDN, no build step.
Terminal UI (claude-replay tui) a Textual browser in the same dark theme. A session sidebar, a live event feed, and a detail inspector showing how the session ended, its tags, the latest checkpoint, and files touched. Keys:
The TUI talks to the server over HTTP start claude-replay serve first (defaults to http://127.0.0.1:8766; point elsewhere with --url).
Configuration
The hook path is offline-first by design: it makes no network calls and completes in well under 50 ms just the one SQLite write. Large tool payloads are truncated at 8 KB per event so the DB stays lean.
Development
Tests use an isolated tmp_path SQLite database (the fresh_db fixture) — they never touch your real ~/.claude-replay/sessions.db. See CONTRIBUTING.md for the scope and the coding rules.
License
MIT see LICENSE.
Sibling to Claude Bridge. Built under the Constripacity banner.
来源:README.md,提交 46558c9
工具
0版本历史
1- v0.4.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Claude 集成
Claude Platform Docs
com.claude.platform官方发布者
远程 MCP 服务器,让助手搜索并阅读 Claude 平台文档与 API 参考。

Insta Edits for Claude
由 GitHub 账号 faisalkhanzemi 发布
让 Claude 驱动 Mac 版 Instagram Edits 完整 274 个工具编辑器的桥接服务,并随项目打开同步工具列表。

Claude Checkpoint Mcp
由 GitHub 账号 daniel-munoz 发布
本地 MCP 服务器,把 Claude Code 会话状态保存为项目内的检查点文件,并可重新加载为精简的续接摘要。

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
由 GitHub 账号 spk-c 发布
通过 GDB、LLDB 和 MCP 为 Claude Code、Codex 和 Qwen 提供 C/C++ 崩溃、挂起和转储调试AI 翻译

AVE for Claude Code — Local Video Editing
由 GitHub 账号 lemberalla 发布
仅适用于 Claude Code 的本地 AVE 时间线编辑与导出。需要现有 AVE 连接。AI 翻译