Skip to main content

Claude Code Usage Analytics

Updated today

Usage analytics for Claude Code are currently available to Owners and Primary Owners of Team and Enterprise plans assigned to premium seats, and API Console users (Admin, Billing, and Developer roles). See Analytics in our Claude Code docs for more information.

This feature allows Console users and Owners of Team and Enterprise plans to monitor how their organization uses Claude Code, tracking productivity metrics and adoption patterns across teams.

Accessing Claude Code analytics

Team and Enterprise Owners

  1. Log in to your Owner or Primary Owner account.

  2. Click your initials or name in the lower left corner.

  3. Navigate to Settings > Claude Code to view Usage.

API Console users

  1. Log in to your API Console account.

  2. Expand the left side panel.

  3. Click “Claude Code” under Analytics.

  4. View Claude Code usage analytics on Settings > Claude Code.

Available metrics

The Claude Code Usage page displays the following metrics for your organization:

Organization-level metrics

  • Lines of code accepted: Total lines of code your team has accepted from Claude Code suggestions.

  • Suggestion accept rate: Percentage of Claude Code suggestions that your team accepts.

  • Activity trends: Daily view of active users and sessions over time.

  • Lines accepted over time: Daily breakdown of accepted code lines.

User-level metrics

Individual usage: View each team member's email address and their total lines of code accepted for the current month. You can search for specific users or click the “Export” button to generate a CSV of members’ email addresses and total lines of code.

Understanding the metrics

Lines of code accepted measures the actual code your team incorporates into their work from Claude Code suggestions, helping you understand the tool's practical impact on development productivity.

Suggestion accept rate indicates how relevant and useful Claude Code's suggestions are for your team's specific coding needs and practices.

Activity trends show adoption patterns and help identify peak usage periods, allowing you to understand how Claude Code fits into your team's workflow.

Data reset and availability

Usage metrics display data for the current calendar month and reset at the beginning of each month. Historical data visualization shows daily granularity for tracking trends over time.

Using analytics to optimize Claude Code adoption

Review your organization's code acceptance rate to understand if teams are finding Claude Code's suggestions valuable. If rates are lower than expected, consider providing additional training on effective prompting techniques.

Monitor individual usage patterns to identify power users who can share best practices with the broader team, or to spot team members who might benefit from additional support.

Track activity trends to understand when your team uses Claude Code most effectively and ensure adequate seat allocation during peak periods.

Limitations

Claude Code usage analytics are not available to individual Pro or Max plans at this time.

Did this answer your question?