Skip to main content
Software engineer at a desk typing on a laptop, screen showing Claude code transcripts and an API diagram.

Editorial illustration for Hacker Reveals Tool to Extract Claude Code Transcripts via API Reversal

Open-Source Tool Extracts Hidden Claude Code Logs

Tool Extracts Detailed Claude Code Transcripts via Reverse-Engineered API

Updated: 3 min read

You write more code with Claude than with a keyboard. That shift changes everything, how you debug, how you collaborate, how you even *remember* what the AI did. Existing logs are sparse, brittle, often missing context.

So one developer reverse-engineered Claude Code’s private API. The result: a tool that pulls down full session transcripts, then publishes them as clean HTML Gists. No black box.

No "trust me, it worked." Just the raw conversation, preserved and shareable. It’s a direct, practical response to a new kind of workflow. And it works right now, for web sessions too.

Run `uvx claude-code-transcripts web --gist` and pick a session. That’s it.

claude-code-transcripts can also fetch sessions from Claude Code for web. I reverse-engineered the private API for this (so I hope it continues to work), but right now you can run: uvx claude-code-transcripts web --gist Then select a Claude Code for web session and have that converted to HTML and published as a Gist as well. The claude-code-transcripts README has full details of the other options provided by the tool. Why I built this These days I'm writing significantly more code via Claude Code than by typing text into a text editor myself.

This tool does more than extract transcripts, it pulls back the curtain on a process that usually vanishes the moment you close the terminal. Every prompt, every generated block, every quiet adjustment now leaves a trace you can share, review, or preserve. That matters.

Because when you write more code with an AI than with your own hands, the transcript becomes the primary record of your decisions. Reverse-engineering an undocumented API is fragile work; this could break tomorrow. But for right now, it hands you back something increasingly scarce: a clear, structured memory of how your software actually got built.

Use it while it lasts.

Common Questions Answered

How does the claude-code-transcripts tool bypass Claude's API restrictions?

The tool uses a reverse-engineered private API to extract coding sessions from Claude's web interface. By circumventing existing access controls, the hacker has created a method that can fetch and convert Claude Code web sessions into publishable formats like HTML and Gist.

What specific command can users run to extract Claude Code web sessions?

Users can run the command 'uvx claude-code-transcripts web --gist' to select and convert a Claude Code web session. This command allows developers to transform their coding sessions into HTML format and potentially publish them as a Gist.

What privacy concerns does the claude-code-transcripts tool raise for AI chatbot users?

The tool potentially exposes previously private coding sessions by allowing unauthorized extraction of transcripts from Claude's code generation platform. This raises significant privacy and data protection concerns for users who may not want their coding interactions to be easily accessible or shareable.

LIVE03:21OpenAI's Miles Wang in Talks for USD 2B AI Drug Discovery Startup