Claude Code
Software.com automatically tracks AI coding metrics from Claude Code. Get insight into adoption, activity, and the impact of Claude Code on your team’s productivity.
Connection Methods
There are two ways to connect Claude Code. You can set up multiple connection methods.
- Claude.ai Subscription – Team members log in with their Claude.ai subscriptions. Usage analytics is tracked via OpenTelemetry .
- Claude Developer Platform (platform.claude.com) – Claude Code is managed through an organization with shared API billing. Usage analytics is tracked via a Claude Code’s Analytics API .
If you are managing Claude Code through your infrastructure provider (e.g. Bedrock, Vertex, Foundry), tracking usage analytics is not currently supported.
1. Connect Claude.ai
We use OpenTelemetry to track usage from Claude.ai subscriptions (Pro/Team/Max/Enterprise).
First, generate a settings.json snippet on Software.com at Settings > Connected Apps > Claude Code.
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_METRICS_EXPORTER": "otlp",
"OTEL_LOGS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_PROTOCOL": "grpc",
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://collector.software.com:1234",
"OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer company-token",
"OTEL_METRIC_EXPORT_INTERVAL": "3600000"
}
}Next, copy this snippet and distribute it to end users in one of the following ways:
- Administrator configuration (recommended). Administrators with a device management solution can configure OpenTelemetry for all users via a managed settings file. This gives centralized control of telemetry across the organization. Read more about how to configure this option.
- Claude.ai Managed settings. Paste the JSON snippet into Managed settings (settings.json) at Organization Settings > Claude Code . You must be an Owner to complete this setup.
Important Note: Configuring the settings.json file in the Claude.ai UI only tracks Claude CLI usage (not the desktop app or code editor extensions).
If developers have their own OpenTelemetry collector or have already set up a .claude/settings.json in the repo with OpenTelemetry configured, our managed settings will supersede it. Keep this in mind if you or your team have existing repo-level OpenTelemetry configuration.
For more detail on how to configure your settings file, see Claude Code settings .
Administrator Configuration
Configuring OpenTelemetry for all users via the managed settings file gives you centralized control of telemetry across the organization. Environment variables in the managed settings file have high precedence and cannot be overridden by users.
The managed settings file is located at:
| Platform | Path |
|---|---|
| macOS | /Library/Application Support/ClaudeCode/managed-settings.json |
| Linux and WSL | /etc/claude-code/managed-settings.json |
| Windows | C:\ProgramData\ClaudeCode\managed-settings.json |
Managed settings can be deployed via MDM (Mobile Device Management) or other device management solutions.
Claude.ai Managed settings
When you configure OpenTelemetry through the Claude.ai UI, developers receive managed settings when they sign in via the CLI. This will track terminal usage, but not activity in Claude Code editor extensions or the desktop app.
- Go to Claude.ai Managed settings .
- Click Manage.
- Paste the JSON payload into the settings.
- Click Update Settings.
After you save, when developers log into Claude with their subscription via their Terminal they will see a notification: “Managed settings require approval”. Users must accept these settings to use Claude. This provides a centralized rollout—you control the configuration.
The following is an example of what that notification looks like when developers open Claude Code in the terminal:

2. Connect Claude Developer Platform (platform.claude.com)
Steps to connect your API account:
- Create an Admin API key in the Claude Console (organization admin only): Admin API keys .
- In Software.com, go to Settings > Connected Apps.
- Find Claude Code and click Connect.
- Paste your Admin API key.
- Click Connect.
Important note: This integration uses the Admin API. You must use an Admin API key (keys start with sk-ant-admin...), which is different from standard Claude API keys.
- Only organization members with the admin role can create Admin API keys.
- Provision keys in the Claude Console: Admin API keys .
Standard API keys cannot access the usage report or organization users endpoints.
Data collected
Claude.ai OpenTelemetry
We receive metrics every hour, such as lines added, commits, pull requests, tokens, and related usage. For full details on what Claude Code sends, see Monitoring usage in Claude Code’s OpenTelemetry documentation.
We do not collect logs (for example, prompts). Only aggregated metrics are sent.
Claude Developer Platform (platform.claude.com)
We pull from two Anthropic API endpoints:
| Purpose | Endpoint |
|---|---|
| Usage and productivity | GET https://api.anthropic.com/v1/organizations/usage_report/claude_code |
| Organization users (team list) | GET https://api.anthropic.com/v1/organizations/users |
We use the organization users response to match Claude users to Git users. For full parameter and response details, see Claude Code Analytics API and Administration API .