Plugins
ApplicationCommunity
Claude Code Stats logo

Claude Code Stats

timurdigital

Get plugin

Features

Claude Code Stats opens from Claude Code Stats in the navigation menu, under More apps. It has ten tabs. Each one answers a different question about how your team uses Claude Code:

TabRead it to
OverviewCheck spend, efficiency and active users at a glance, and compare team members.
CostsSee where cost goes: models, team members, subagents, skills, plugins and MCP servers.
TokensSee token volume by type, model and team member, and what drives it.
ToolsCheck how often team members accept Claude's file edits.
ProductivityTrack lines of code, commits, pull requests and active time.
PromptsSee how the team prompts: volume, slash commands and prompt length.
WorkflowCheck model latency, subagents, compaction, skills, MCP servers and hooks.
ReliabilityTrack API errors, exhausted retries and refusals.
SecurityAudit permission escalations, rejected tool calls, logins, plugins and managed settings.
TracesInspect one prompt end to end: model requests, tool calls and their timing.

Filter the data

Every tab has the same controls above the panels:

ControlWhat it does
MetricsThe Prometheus data source the app queries.
Team MemberOne or more team members, or All.
RepositoryOne Git repository, or All. Shown only when Claude Code sends repository attributes, as described in Optional telemetry settings.
TeamOne identity-provider group, or All. Shown only for sessions signed in through a Claude apps gateway, as described in Filter by team. Not on the Traces tab.
Filter labelsOne picker for each label set under Filters on the configuration page, such as a team or cost center.
ModelOne model, or All. Only the Overview, Costs and Tokens tabs show it, because commits, pull requests, active time and edit decisions aren't recorded per model.
Time rangeThe period every panel covers. The default is the last 7 days.
RefreshReloads the panels, manually or every 30 seconds to 30 minutes.

Team members are named by their Claude account email address. Without one, the app uses the enduser.id attribute, and then the anonymous ID Claude Code generates for each machine. For how to set enduser.id, refer to Name team members who don't sign in with a Claude account. Usage with none of these appears as Unattributed in the per-member panels. It counts towards totals but not towards Active Users.

The Over Time charts draw one stacked bar per interval. An interval is wide enough that a chart has at most 60 bars, such as about 3 hours over 7 days, and at least 2 minutes. Each bar is estimated from the average rate over a slightly wider window that ends at the bar: the interval plus 1 minute, and at least 4 minutes. The overlap makes sure no usage falls between two bars, but on short time ranges it also spreads a burst across neighboring bars. The bars approximately add up to the total for the period. The current, unfinished interval isn't shown. Hover over the information icon next to a panel title to see what the panel measures.

Your choices carry over when you switch tabs and are saved in the URL, so you can share a filtered view by copying the link.

A few comparison panels skip their own filter so you can compare: Cost by Team Member, Cost Distribution by Member, Tokens by Team Member, Active Time by Team Member and Team Leaderboard always show every member, and Cost by Model, Tokens by Model and Lines of Code by Model always show every model. Other panels, including the Over Time charts, follow both filters. Each tab's page lists exactly which filters apply.

Insights

  • Adoption

    Running on 816 active Grafana instances.

  • Activity

    Last updated 20 Nov 2026.

    3 releases in the past year.

Version
2.0.2
Dependencies
  • Grafana >=13.2.0
Developer
timurdigital

Grafana Cloud

Connect any plugin in Grafana Cloud.

  • 150+ data source integrations
  • Grafana Assistant - AI that correlates your data, builds queries, and answers questions
  • 10k Prometheus metrics + 50 GB logs, traces, and profiles on the free tier
  • ...and more
Create free account