AI-Tagged Time Entries: Know Which Hours Were AI-Assisted
Time entries created via CLI with AI tools like Claude Code now get automatically tagged. See exactly which work was AI-assisted.
AI-Tagged Time Entries: Know Which Hours Were AI-Assisted is another step toward one calm workflow from tracked time to paid invoice.
Time entries created via CLI with AI tools like Claude Code now get automatically tagged. See exactly which work was AI-assisted. We write from operating experience, not trend-chasing.
How It Works

Every time entry in Miru has a source field — manual for the web app, cli for the CLI. What’s new is source_metadata: structured data about the tool that created the entry.
When a time entry comes through the CLI or MCP, it can include metadata automatically:
- Source:
cli,mcp, orautomation - Tool:
claude-code,codex,cursor, or whatever created it - MCP server: The specific MCP server name, if applicable
Miru normalizes this and generates a human-readable label. “Claude Code via CLI.” “Github via MCP.” Manual entries show nothing extra. The labels appear as badges on each entry card. At a glance, you see which entries were AI-assisted.
Filtering and Reporting
Badges are nice. Reports are useful.
Filter time entries by source in the Time Entry Report. Show only CLI entries. Only MCP entries. Only manual. Compare the breakdown across a week, a month, or a project.
“What percentage of our Acme hours were AI-assisted this month?” Filter by project and source. Now you have a number instead of a guess.
“Which developers are using AI tools most effectively?” Filter by team member and source. Useful data for tooling investments.
“How is our AI usage trending?” Pull the source breakdown month over month. If AI-assisted entries grow from 10% to 40%, your billing model might need to evolve. Better to see that trend early.
Why This Matters for Agencies
Clients are starting to ask: “Are you using AI on my project? Am I paying the same rate for work that takes you a quarter of the time?” Fair questions. The honest answer for most agencies is “we don’t know.” Every hour looks the same in the invoice.
Miru changes that. Not by dictating how you should bill — that’s your call. But by giving you the data to make that decision transparently. The alternative is waiting until a client figures it out themselves. Better to get ahead of it.
Set It Up
If you’re already using the Miru CLI with Claude Code hooks or MCP integrations, the tagging is automatic. Entries created through those channels already include source metadata. Just look at your Time Tracking page — the badges are there.
If you’re using the CLI manually, you can pass source metadata with the --source and --tool flags. The data flows through to reports and filters immediately.
The future of billing is transparency. This is one small step toward it.
Hard Stop
Use it in production and tell us exactly where the workflow still fights you.
Start with Miru or read the docs.
Vipul A M
Co-founder at Saeloun. Building Miru. Rails contributor. Shipping from Pune, India.
Read next
How We Use gbrain to Build Miru
How Saeloun uses gbrain, gstack, Codex, Claude, MCP, and repo signals to build Miru with memory, safer AI automation, and proof before claims.
How We Track Time with AI Agents and the Miru CLI
A practical guide to automated time tracking for teams using Claude Code, Codex, and other AI coding tools. Real workflows, real scripts, zero browser tabs.
This Week in Miru: Mobile Beta, Signed Desktop, CLI Invoices, and Safer Billing
Apr 29-May 19: 199 non-merge commits across Miru web, mobile, desktop, and marketing. Mobile beta work, signed desktop builds, CLI invoice creation, invoice taxes, signatures, payment downloads, search highlighting, and auth hardening.
Put it to work
Run one cleaner billing cycle in Miru.
If this article is about tracking time, billing clients, comparing tools, or automating work, Miru is the product version of that idea. Start free, invite the team, and send the next invoice from tracked work.
What you get
- Time tracking, invoices, expenses, and payments in one place.
- Free for up to 5 users. Pro is $1/member/month.
- Open source, with CLI, API, MCP, and self-hosting paths.
The article is the argument. Miru is the workflow.
Track the work, approve the hours, send the invoice, and get paid without bolting together three separate tools.