Claude Code, Codex, and MCP JSONL log viewer

Unquote is a local Claude Code JSONL viewer and Codex rollout log viewer that also unescapes nested MCP tool call JSON. Drop a session log above to follow turns, inspect tool failures and token usage in Trajectory view, and export redacted Markdown reports—without uploading private code.

Enable JavaScript to paste JSON, JSONL, or SSE, drop local files, and inspect records directly on this page. Open full viewer

How to open Codex or Claude Code logs

  1. Drop a local Codex rollout JSONL or Claude Code transcript JSONL file (for example from ~/.codex/sessions/ or ~/.claude/projects/) into the box above.
  2. Unquote detects recognized session schemas automatically and opens the Agent conversation view while keeping JSONL parsing intact.
  3. Switch to Trajectory to inspect timed model and tool activity, filter failed tool calls, and inspect per-tool duration breakdowns.
  4. Click any message, tool call, or trajectory event to jump straight to its linked source JSONL record and line number.

Unescape nested MCP & Agent tool call JSON

Agent transcripts and MCP tool logs frequently store tool arguments and outputs as multi-layer escaped JSON strings. Unquote recursively unescapes every nested layer automatically so you can read parameters and search inner keys directly.

Before: raw Agent JSONL record with escaped MCP tool arguments
{"type":"function_call","name":"mcp.billing.search","arguments":"{\"customerId\":\"cus_42\",\"filters\":\"{\\\"status\\\":\\\"open\\\"}\"}"}
After: recursively expanded arguments in Agent & JSON views
{
  "type": "function_call",
  "name": "mcp.billing.search",
  "arguments": {
    "customerId": "cus_42",
    "filters": { "status": "open" }
  }
}

Three views backed by the same source lines

Agent view — follow the conversation and tool calls
Groups user prompts, assistant replies, reasoning summaries, tool calls, and paired results by turn, expanding stringified MCP and shell tool arguments automatically.
Trajectory view — debug latency, retries, and failures
Plots model and tool lanes on a zoomable timeline, compresses long idle gaps, tracks token usage and API errors, and highlights unpaired or failed tool calls.
JSON view — verify raw log evidence
Inspect exact raw records, search nested fields across thousands of lines, and check integrity warnings when a log is incomplete.

Export clean turn reports with redaction

Select specific turns in the Agent view to export a Markdown turn report built from full source records with line numbers. Tool calls pair with results strictly via recorded call IDs, and you can redact sensitive JSON paths before copying or downloading.

Supported formats and local privacy

Agent and Trajectory views activate for recognized Codex rollout and Claude Code transcript JSONL records. Other AI logs—including standalone MCP tool logs and OpenAI Batch JSONL files—open cleanly in the general JSONL tree viewer with automatic recursive stringified JSON expansion. Because coding agent logs often include prompts, source code, and secrets, all processing runs locally in your browser with zero upload.

Frequently asked questions

How do I view Claude Code or Codex JSONL session logs locally?
Drag a Claude Code transcript JSONL file (typically under ~/.claude/projects/) or a Codex rollout JSONL file (under ~/.codex/sessions/) into Unquote above. It detects the session format locally and renders Agent conversation, Trajectory timeline, and raw JSONL views.
Can Unquote unescape nested MCP tool call JSON or open OpenAI Batch JSONL files?
Yes. Unquote recursively unescapes stringified JSON inside MCP tool call arguments and results across Codex, Claude Code, and generic JSONL logs. OpenAI Batch JSONL files open in the local JSONL viewer where you can expand escaped arguments, filter by custom_id in Record Table, and export CSV.
Does Unquote show tool call arguments, failures, and token usage?
Yes. Unquote pairs tool calls with tool results using recorded call IDs, automatically expands stringified JSON arguments, surfaces API errors and failed calls in the Trajectory view, and displays token usage wherever the session log records it.
Are my private coding prompts or repository contents uploaded?
Never. Unquote parses the entire JSONL log locally inside your browser. When you need to share a debugging excerpt, you can export selected turns as Markdown and redact sensitive paths before sharing.

Inspect JSON directly in Chrome or Edge

Install the Unquote browser extension to open JSON responses, local files, or selected text in the same local viewer with one click.