cc-sessions-viewer
support cc/codex/grok build/kimicode/pi/antigravity cli/opencode sessions viewer, skills manage, token usage statistics, global search, resume, and export to html
Links
README
From the repo.
Sessions Viewer
English · 中文 · 日本語 · Documentation · CHANGELOG
A native desktop browser for Claude Code, Codex, Grok Build, Kimi Code, Pi, Antigravity CLI, and opencode.
Read, search, and manage local session transcripts from all seven in one place.
Plus a tool management page — round up the skills scattered across your agents (duplicates, dead links, the same one stored three times),
and take over MCP servers, hooks, and instruction files. Guide →
https://github.com/user-attachments/assets/9bcb92a8-e5b8-40e5-b492-af252162309b
What it does
Sessions Viewer turns local agent transcripts into a searchable workspace. Open a project, inspect exactly what happened, then continue the work from the same place without manually hunting through JSONL files.
[!TIP] New — Tool management. Skills, MCP servers, hooks, and instruction files for all seven agents in one place. Find the duplicate skills and broken links on your machine and repair them, see what your MCP servers cost in context before you type, and dry-run a hook before you trust it. Every change previews the exact file edits first.
Read and find context
- Faithful replay — preserve thinking chains, tool-call pairings, structured diffs, and inline screenshots.
- Global search — search across projects and jump to the exact matching message with
⌘⇧F. - Jump to prompt — scan every user prompt in a compact list, then scroll and flash the selected message.
- Views history — revisit recent read and chat views, with per-project search and favorites.
Continue the work
- Built-in chat — start or resume Claude Code and Codex sessions with model, reasoning-effort (including Opus Ultracode), and permission-mode controls.
- One-click resume — open a session in an embedded terminal or in Terminal.app, cmux, iTerm2, Ghostty, or Warp.
- Shell tabs — run regular shell commands beside agent sessions; tabs persist across restarts.
- Launch arguments — configure per-agent CLI flags such as
--dangerously-skip-permissionsfor new and resumed sessions.
Keep projects organized
- Split panes — arrange side-by-side or stacked panes, drag tabs between panes, and keep each project's layout across restarts.
- cmux integration — reuse workspaces by working directory, find running sessions, choose smart split directions, and name tabs after directories.
- Bookmarks — pin frequently used folders to the sidebar for quick access.
- Rename and trash — sync session renames back to the CLI and soft-delete sessions with restore support.
Understand usage and share results
- Stats and pricing — inspect token spend and cost by project, model, or tool using live pricing from models.dev; macOS menu bar stats show Today / 7d / 30d totals per agent.
- Flexible export — export one session or a batch as offline-readable Markdown, HTML, or lossless JSON.
- Read-only safety — source JSONL files are never modified or removed.
Supported session sources
Claude Code, Codex, Grok Build, Kimi Code, Pi, Antigravity CLI, and opencode. Grok Build, Kimi Code, and Pi provide history, terminal, export, analysis, and resume workflows; their GUI chat is intentionally not included.
Where each one stores its sessions on disk, with commands for reading a transcript by hand, is documented at sessions-viewer.js-bridge.com/agents/.
Screenshots
Open the visual tour
Main view — sidebar, sessions, chat |
Faithful replay — thinking, tool calls, structured diffs |
Split panes — multiple sessions side by side, drag tabs between panes |
In-app chat — Mermaid & tables, @-mention files, attach images |
Embedded terminal — one-click resume or new session |
Global search (⌘⇧F) jumps to the message |
Token & cost analytics by project, model, tool |
Menu bar stats — per-agent cost & token overview |
Live model pricing |
Shared trash — soft-delete with one-click restore |
Settings — terminal picker & launch arguments |
Exported HTML — fully offline, opens in any browser |
Install
Grab the latest installer from Releases, or follow the installation guide:
| Platform | File |
|---|---|
| macOS (Apple Silicon + Intel) | .dmg |
| Windows x64 | -setup.exe / .msi |
| Linux x86_64 | .deb / .AppImage |
[!IMPORTANT] macOS: this build is not notarized. It is ad-hoc signed, so Gatekeeper blocks the first launch with "Apple could not verify 'Sessions Viewer' is free of malware." That is what an unsigned open-source build looks like, not a sign something is wrong.
macOS 15 Sequoia and later — Control-click → Open no longer works, Apple removed that bypass:
- Double-click the app once and dismiss the warning.
- Open System Settings → Privacy & Security and scroll to the bottom.
- Next to "Sessions Viewer" was blocked, click Open Anyway and authenticate.
- Launch the app again and click Open.
macOS 14 Sonoma and earlier — Control-click (right-click) the app in Finder → Open → Open in the dialog. Once is enough.
Either version, from Terminal:
xattr -dr com.apple.quarantine "/Applications/Sessions Viewer.app"Prefix with
sudoif it reportsOperation not permitted.
On Linux the .AppImage is portable — chmod +x and run. The .deb installs with:
sudo apt install ./cc-sessions-viewer_<ver>_amd64.deb
Development
git clone https://github.com/jerrywu001/cc-sessions-viewer.git
cd cc-sessions-viewer
npm install
npm run tauri dev # dev mode
npm run tauri build # bundle
Prereqs: Node 20+, Rust stable. See CLAUDE.md for architecture notes.
Contributing
PRs welcome. Please use Conventional Commits (feat:, fix:, docs:, ...).
Star History
Sponsorship Support
This project is maintained in my spare time. Sponsorship helps cover ongoing development, bug fixes, and documentation.
-
🛠️ Continuous development and updates
-
🐛 Swift bug fixes and issue resolution
-
📚 Documentation improvements and expanded examples
For custom work or other special requests, contact me through one of the sponsorship options below. Requests start at US$50 and depend on current availability.
Ways to contribute:
- GitHub Sponsors
GitHub Sponsors (Recommended · Zero fees)
- Alipay/Wechat
|
|
License
MIT © jerrywu001 · @jerrywu185
Friend link: linux.do
Collected info
- ★ 383 stars
- ⎇ 25 forks
- Language: Rust
- Source updated: 9/20/2026
Config for your environment
Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.
Tool
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "{MCP_ENDPOINT_URL}"
}
}
}Paste into mcpServers in the config file. Restart Cursor after saving.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.