# Show HN: Merlin – An X-ray for Claude/codex/pi sessions (subagents, forks, cost)

> Source: <https://merlin.dev>
> Published: 2026-12-03 20:31:38+00:00

**Key takeaway:** Merlin Explorer reads local Claude Code, Codex and Pi session files and serves per-session cost graphs, including subagent spend, on 127.0.0.1:7433 without sending session data off the machine.

Merlin Explorer

# Where did the tokens go?

A session and cost explorer for Claude Code, Codex and Pi. It runs on your machine and shows what every session cost, subagents included, and where.

SimplifiedMerlin Explorer

1

$ curl -fsSL https://merlin.dev/install.sh | bash

2

$ merlin

Reads your Claude Code, Codex and Pi sessions and serves the graphs on [127.0.0.1:7433](http://127.0.0.1:7433). Your sessions never leave your machine. The only request it makes is to GitHub, at start and every 4 hours, to see whether there is a newer release; it sends nothing from your machine.
