ccdeck

See and change Claude Code's telemetry settings

To see what Claude Code is set to send, open Telemetry Radar from the stripe on the right in ccdeck and click Configuration: it lists the telemetry destinations and flags in Claude Code's settings files, and on Linux in running sessions' launch environments.

Claude Code only Checked against ccdeck 4.0.1 on

You will

Before you start

Steps

  1. Open Telemetry Radar

    Click Radar, the last door on the stripe on the right, under Browser watch, for Telemetry Radar. It has no key. On a phone, it is under More in the dock along the bottom.

    The stripe on the right edge of the deck, its doors in runs between thin rules: Inspector; then Usage and This machine; then Usage history, Tool activity and Skill activity; then Browser watch and Radar. The pointer is on Radar, and its hint beside the stripe reads Telemetry Radar, then: Claude telemetry configuration and observed connections.
    Demo data Radar, the last door, opens Telemetry Radar.
  2. Read what Claude Code is set to send

    Click Configuration. Destinations lists where the export goes. Under Telemetry and content, each flag has its name, its variable and where it is set: a settings file, “Not in any settings file”, or, on Linux, a running session’s launch environment.

    Telemetry Radar’s Configuration view, under What Claude is configured to send. Two notes: Read from local Claude settings and the launch environment of running Claude processes, a running session’s effective values can still differ; 1 Claude process could not be inspected, such as one run by another user. Destinations: http://192.0.2.16:4317, from User settings, OTEL_EXPORTER_OTLP_ENDPOINT. Telemetry and content: Telemetry, CLAUDE_CODE_ENABLE_TELEMETRY, Enabled 1, User settings, switch on; Your prompts, OTEL_LOG_USER_PROMPTS, Enabled 1, Process launch environment, PID 48213, Read-only beside a locked switch that is on; Your prompts again, Not set, Not in any settings file, switch off.
    Demo data On Linux: your settings leave prompts unset, but one running session was started with them on. What Radar read was supplied to the page for this picture.

    Settings and running sessions can differ. On Linux, Radar also shows the telemetry variables each running session started with, read-only: change them where it is launched. On macOS and Windows it reads only the settings files. “No destination found” does not mean telemetry is off.

    More about what Radar reads
    • The env block of ~/.claude/settings.json (under CLAUDE_CONFIG_DIR when set), of remote-settings.json beside it, and of managed-settings.json in /Library/Application Support/ClaudeCode/, /etc/claude-code/ or C:\Program Files\ClaudeCode\. Not a project’s .claude/settings.json.
    • Running Claude Code processes. On Linux, that includes one started from its versioned install folder, and Radar reads each one’s connections, folder and launch environment. It cannot read another user’s, and says how many it could not inspect. A connection still waiting for an answer reads “Connecting · no reply yet”.
    • macOS shows connections and folders; Windows, connections only.
    • Radar never reads a command line, and keeps no other variable, credentials included.
    • Destinations show without their path, and headers as “Configured (hidden)”.
    • With no destination set, Radar lists the connections Claude Code has open. A connection is not telemetry.
  3. Switch a flag for new sessions

    Click the switch beside the flag. Radar writes "1" or "0" for it under env in ~/.claude/settings.json and says Saved to user settings. Sessions already running keep the value they started with.

    A flag no settings file sets shows Not set, with its switch off: switching it on adds it. A flag your organization or managed settings set shows Managed beside a locked switch: only an administrator can change it.

    Switching off writes “0”, and it outlasts ccdeck. npx ccdeck --uninstall leaves it in place. To remove it, edit env in the file.

  4. Allow packet capture, once

    Click Monitor. Radar finds Claude Code’s collector and listens to it by itself, for as long as ccdeck runs. If it shows Allow packet capture once, click Allow capture… and type your password when asked.

    Telemetry Radar’s Monitor view: Capture permission needed, Radar found the collector and listens as soon as capture is allowed, Destination 192.0.2.16:4317, Not listening. Under it, the card Allow packet capture once: Radar reads Claude Code’s telemetry from network traffic, which Linux lets only an administrator read. Allow capture asks for your password once and lets tcpdump capture for your user only. Radar then starts by itself, and what it reads stays on this computer. Then the button Allow capture…
    Demo data On Linux, before capture was allowed. What Radar read was supplied to the page for this picture.

    What Allow capture changes outlasts ccdeck. On macOS it adds a ccdeck helper that runs at every startup, and puts your user in the access_bpf group. On Linux it installs tcpdump if it is missing, gives it capture rights, and lets only your group run it. Uninstall ccdeck and remove its Claude Code hook says how to undo it.

    More about how Radar finds the collector
    • It takes the collector from Claude Code’s settings and, on Linux, from a running session’s launch environment; one named by host is looked up. With none set, it uses the collectors it found before and any Claude Code connection to port 4317.
    • It listens to up to eight, and looks again every five seconds while the dialog is open, about once a minute while it is closed.
    • A Mac with Wireshark’s ChmodBPF set up needs no card. On Windows, the card links to Wireshark instead: install it with Npcap, not limited to administrators.
    • Where no password prompt can open, such as over SSH, Allow capture… shows a sudo command to run in a terminal instead.
    • Only the collectors are saved, in ~/.agents-deck/radar-monitor-<port>.json and radar-settings-<port>.json; never packets or messages.
    • A deck started with AGENTS_DECK_NO_RADAR=1 neither looks nor captures.
  5. Read a message

    Each export Radar decodes is a row: its event or metric name, the session it came from, and whether the collector accepted it. Click a row. Overview shows what it holds; JSON, the decoded export.

    Telemetry Radar’s Monitor view, Listening for telemetry, 1 of 1 destination listening, Traffic observed, destination 192.0.2.16:4317. Activity, 5: claude_code.user_prompt, claude_code.token.usage, claude_code.api_request, claude_code.tool_result and claude_code.session.count, each marked Accepted. The first is open beside the list, its Overview showing the project web-api, Prompt Included in export, Response Not included in this export, and the prompt. Open the full-size picture
    Demo data 192.0.2.16 is an address reserved for examples.
    The Overview of claude_code.user_prompt. Project / working directory: web-api, /demo/web-api, from local ccdeck context, as the export carries no project path. Prompt: Included in export. Response: Not included in this export. Then the record, claude_code.user_prompt, with its Prompt: Add rate limiting to the public API.
    Demo data With Your prompts on, the prompt’s text is in the export.

    An empty list does not mean telemetry is off, and a connection is not a sent message.

    More about what Radar cannot show
    • Anything but plaintext OTLP over gRPC to an IPv4 address: an HTTPS export shows only as a connection.
    • Which program sent it: Radar filters by address, so another app sending there shows too.
    • Claude Code’s requests to the model, and Anthropic’s own telemetry.
  6. Clear what was captured

    What Radar decoded stays in ccdeck’s memory for 24 hours at most, never written to a file or sent anywhere. To remove it now, open Filters and history, click Clear history, then Confirm clear history. Monitoring goes on. Restarting ccdeck removes it too.

If something goes wrong

Radar says Capture setup needed

No capture tool is installed. On Linux, click Allow capture…: it installs tcpdump too. On Windows, click Get Wireshark and install it with Npcap.

Radar says Capture permission needed

Click Allow capture… on the card under it. On Linux, a tcpdump update takes the permission away, and Radar asks again.

Monitoring, and nothing appears

Start a new Claude Code session: Radar decodes only connections that open while it listens, and flags apply to new sessions. If a row says Encrypted contents, the export uses TLS and cannot be read here.

Radar says Waiting for a collector…

Claude Code’s settings name no collector, and no session sends to port 4317. Set your collector’s address as OTEL_EXPORTER_OTLP_ENDPOINT under env in ~/.claude/settings.json. An IPv6 address cannot be monitored.

A flag I switched is still set after uninstalling ccdeck

npx ccdeck --uninstall leaves Radar’s flags in ~/.claude/settings.json: edit them under env yourself.

Something else? See Troubleshoot ccdeck: status, logs, port and hooks.

Next

All guides Troubleshoot Claude Telemetry Radar in the README