talira

Claude Code Trace

Claude Code session log viewer for JSONL files in ~/.claude/projects: browse conversations, tool calls, tokens, and live tail sessions on desktop, web, and TUI

open sourceMITself-hostablefree

Claude Code Trace is a viewer for the session logs Claude Code keeps on your machine (~/.claude/projects/*.jsonl). It shows each session as a conversation with expandable tool calls, thinking, tool results, sub-agents, token counts and word-level diffs for edits, follows live sessions as Claude Code writes them, and groups sessions by date and project with search by what you asked. One Rust backend parses, indexes and watches the logs, with three front ends on top: a desktop app built with Tauri, a web app and a terminal UI, plus a local HTTP API with per-client tokens for your own scripts. Optional source plugins read Codex sessions (with estimated API-equivalent costs) and Google Antigravity conversations, and an optional efficiency analysis sends a redacted session summary to Jev after you've checked the payload. Nothing leaves the machine otherwise.

Problems it solves

  • read my Claude Code session logs as a conversation instead of raw JSONL
  • follow a running Claude Code session live in a separate window
  • see which of my Claude Code sessions are still running
  • find a past Claude Code session by what I asked in it
  • inspect every tool call, tool result and sub-agent in a long agent session
  • check how many tokens each message in a Claude Code session used
  • find out whether my coding agent wasted effort repeating work or thrashing
  • browse my Codex sessions and their estimated costs next to my Claude Code sessions
  • a desktop app for viewing Claude Code transcripts that keeps everything on my machine
  • query my Claude Code sessions from my own scripts over a local API

Features

  • conversation view with expandable tool calls, thinking, tool results and sub-agents
  • word-level diffs for Edit tool calls
  • live tailing of open sessions, with running sessions marked in the picker
  • session picker grouped by date and project, searchable by prompt
  • readable names for MCP tool calls
  • Claude Code debug log and team task board views
  • optional efficiency analysis through Jev, with a redacted payload you confirm first
  • optional Codex and Google Antigravity source plugins
  • Codex token totals and estimated API-equivalent costs
  • desktop (Tauri), web and terminal (Textual) front ends on one Rust backend
View 3 more
  • local HTTP API and server-sent events stream with revocable per-client JWTs
  • API keys kept in the OS credential store
  • Docker Compose setup for web mode

Limitations

  • Doesn't run on Intel Macs: its macOS build is for Apple Silicon only1

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Claude Code Trace does.

  1. Claude Code Viewer A full-featured web-based Claude Code client that provides complete interactive functionality for managing Claude Code projects
  2. claude-code-log A Python CLI tool that converts Claude Code transcript JSONL files into readable HTML and Markdown
  3. cc-viewer A request monitoring system for Claude Code that captures and visualizes all API requests and responses in real time
  4. claude-code-transcripts Tools for publishing transcripts for Claude Code sessions
  5. cass (coding-agent-search) Index and search your local coding agent session history across 30+ agents in one timeline

Compare Claude Code Trace with the top 3