What is telemetry?
telemetry is a Claude Code mod by anthropics that plugin analytics: hooks $.telemetry's two events, so a plugin logs an event or marks a feature's use as a first-party row, sent in batches with the session's own credential. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | anthropics |
| Repository | anthropics/claude-code |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | High risk (37/100) |
| Rank | #4,565 of 9,397 Claude Code mods; #537 in Security |
| Last commit | 2026-11-30 |
| Stars this week | +706 |
| Hooks | 6 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is telemetry safe to install?
telemetry scores 37/100 on the MCPMods security check: High risk. Things to review: sends data over the network; reads environment variables; validator reported problems. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Flag |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.sleep | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.http.fetch | network requests |
$.session.authorize | reads the transcript |
$.session.cwd | |
$.session.id | |
$.session.identity | |
$.session.machine | |
$.session.model | |
$.session.repo | |
$.session.surfaces | |
$.session.version | |
$.settings.read | reads settings |
$.ui.log | draws interface |
How do I install telemetry?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/anthropics/claude-code claude plugin validate ./claude-code/mods/telemetry
- Install it. It ships inside Claude Code. Turn it on or off from the Installed tab in /plugin.
/plugin
Or ask Claude to set it up
Paste this into Claude Code and it installs telemetry for you:
Install the "telemetry" Claude Code mod from https://github.com/anthropics/claude-code/tree/main/mods/telemetry. Run claude plugin validate on it first and show me what it can access before you enable it.
More from anthropics/claude-code
This repository has 7 Claude Code mods on MCPMods.
- agents-md: AGENTS.md as project instructions, by one option. Under claude-md-or-agents-md a project with no instruction files of it (Low risk)
- diff: The diff pane as a plugin: /diff opens the session's uncommitted changes beside the transcript, file by file with their (High risk)
- easel: Draws charts in the transcript: a chart tool for Claude, and automatic charts for MCP results that are metrics over time (Low risk)
- hipaa-default: For organizations under HIPAA: refuses a plugin's or a settings hook's own call to an MCP or connector tool that an admi (Low risk)
- privacy: Refuses a shell, file, web fetch or MCP call that holds the signed-in account's email address beside a word that declare (Low risk)
- sec-default: Security default for organizations: seated outermost, it keeps the organization's classic hooks, prompt content, setting (Review before installing)