X-ray your Claude Code context

ContextViz points at your local ~/.claude/projects and shows exactly what fills the context window — with cache economics, redundancy, and a file time machine. Everything runs on your machine; nothing leaves it.

Local-only · macOS · Windows · Linux
ContextViz — the Context X-ray of a Claude Code session

Context X-ray

See the system prompt, MCP, skills, CLAUDE.md, history, tool results, thinking, and images — reconciled to the exact per-turn total.

Redundancy Radar

Find content you paid to carry more than once, priced by its carry cost.

File Time Machine

Every version of every file a session touched — diff and restore states git never saw.

Subagent explorer

The hidden cost of spawned Agent/Task runs: model, peak context, dollars, tool count.

Cache economics

Cost, dollars saved by prompt caching, hit rate, and a per-turn waterfall.

Live-tail

Go live and watch the X-ray refresh as the active transcript grows.

See it

Cross-project file graph — every file Claude touched across all sessions, visualized as a network

NewCross-project file graph — every file Claude touched across all your sessions, visualized as a force-directed network.

Impact Ledger dashboard: spend, dollars saved, PRs shipped, and budget forecast

Impact Ledger — spend, dollars saved, PRs shipped, and a budget forecast.

Redundancy Radar listing content re-fetched more than once, priced by carry cost

Redundancy Radar — content you paid to carry more than once, priced by carry cost.

File Time Machine showing every saved version of a file with a diff

File Time Machine — every version a session saved, with diff and restore.

Ranked recommendations next to cache economics

Ranked recommendations alongside cache economics.

Tool timeline and the cost of spawned subagents

Tool timeline and the hidden cost of spawned subagents.

Project insights: Security & Secrets Radar, Error Intelligence, Memoization Advisor

Project insights — Security Radar, Error Intelligence, Memoization Advisor.

Install via terminal Higher Success

curl -fsSL https://raw.githubusercontent.com/last-brain-cell/ContextViz/main/install/install.sh | sh

Downloads a dependency-free binary, then run contextviz.

curl -fsSL https://raw.githubusercontent.com/last-brain-cell/ContextViz/main/install/install.sh | sh

Installs to ~/.local/bin, then run contextviz.

irm https://raw.githubusercontent.com/last-brain-cell/ContextViz/main/install/install.ps1 | iex

Run in PowerShell, then run contextviz.

pipx install contextviz
contextviz

Requires Python 3.11+. pip install contextviz works too.

However you install it, ContextViz starts a local server and opens your browser. It only reads your own ~/.claude data and never sends it anywhere.

Download the app

Native installers — double-click to run, no Python or Node required.

All builds live on the latest release.

⚠️ Trust token config in progress — app signing is not yet set up, so macOS Gatekeeper and Windows SmartScreen will warn on first launch. Use the terminal install above for a smoother experience (Higher Success).