A command-line tool for dumping Claude API sessions, including raw tool calls and LLM requests/responses.
This is mostly intended for people who are curious in "opening up the hood" of Claude and seeing the queries it issues internally.
Prerequisites: Rust, Claude Code. This has not been tested on Windows; PRs welcome if it doesn't work.
You can install Claude Viewer using Cargo:
# Install the binary to your PATH
cargo install --path .After installation, you can use the claude-viewer command to view your conversation history:
# List all conversations
claude-viewer
# View a specific conversation by ID
claude-viewer CONVERSATION_IDAlternatively, you can run without installing:
# Run directly with Cargo
cargo run
cargo run CONVERSATION_IDShamelessly vibecoded with Claude Code.