Claude Code hook

Claude Code Message Timestamps

Show local time on every Claude Code message, and let Claude know when each prompt was sent. Zero-config plugin, cross-OS, graceful degradation.

77 stars 10 forksHooks Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add zoharbabin/claude-code-message-timestamps

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/zoharbabin/claude-code-message-timestamps.git

From the README

⏱ Message Timestamps for Claude Code

See the time on every message in Claude Code — and let Claude know it too.

Illustration of the plugin in action — each reply is prefixed with the local time, and Claude can reason about elapsed time.

Claude Code doesn't show *when* anything happened. Long sessions blur together: you
can't tell how long a build took, when you asked something, or point a teammate to
"the part around 09:15." This plugin fixes that in two ways, and installs in 15 seconds.

Why this exists

Timestamps are one of the most-requested missing features in Claude Code. At least
11 issues ask for some form of it:

2441 · #60711 · #44763 · #30745 · #21051 · #63488 · #61672 · #52944 · #56855 · #49084 · #60492

This plugin is a working solution today, while we wait to see if it ships natively.

Why you want this (the 10-second version)

No tracking, no telemetry, no account, no network calls. It just reads your computer's
clock. Runs in a few milliseconds per message.

Install (copy, paste, done)

In Claude Code, run these two lines:

Restart Claude Code. That's it — timestamps now appear on every message, in every
project. ✅
Prefer the terminal? claude plugin marketplace add zoharbabin/claude-code-message-timestamps
then claude plugin install message-timestamps@zoharbabin-claude-tools.

To remove it: /plugin uninstall message-timestamps@zoharbabin-claude-tools.

Requirements

- Claude Code 2.1.152 or newer — that version added the MessageDisplay hook
  used for the on-screen timestamps. (Older versions still get the "Claude knows the
  time" half.)
- jq on your PATH:
  - macOS: brew install jq
  - Linux: sudo apt-get install jq / sudo dnf install jq
  - Windows: winget install jqlang.jq or choco install jq
- Windows only: the hooks are bash scripts, so you…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
Shell
License
MIT
Last updated
8 July 2026
Topics
anthropicclaudeclaude-codedeveloper-toolshooksplugintimestamps

FAQ

What is Claude Code Message Timestamps?

Show local time on every Claude Code message, and let Claude know when each prompt was sent. Zero-config plugin, cross-OS, graceful degradation. It is a hook for Claude Code, from zoharbabin/claude-code-message-timestamps on GitHub.

How do I install Claude Code Message Timestamps?

Run /plugin marketplace add zoharbabin/claude-code-message-timestamps inside Claude Code, then follow the setup in the README.

Is Claude Code Message Timestamps popular?

zoharbabin/claude-code-message-timestamps has 77 GitHub stars and 10 forks. It was last updated on 8 July 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.