Coding agents
Read-only

Bloom Factory for Claude Code

Bloom Factory reads Claude Code usage from your Anthropic organization and your Claude Code OpenTelemetry export, splits it by developer, team and repository, and sets budgets and alerts per team. Session spikes are flagged the day they start, and cost per pull request connects spend to output.

Last updated November 15, 2026

What you get with Claude Code

Bloom Factory turns Claude Code usage into spend by team, agent and customer, priced at your rates, with budgets and alerts that land before the invoice. Here is what shows up in your ledger once the connection is live.

  • Claude Code spend per developer, team and repo, updated daily
  • Team budgets with alerts in Slack or email, and a forecast to breach date
  • Session spike detection and cost per merged pull request

What access is needed

Bloom Factory asks for the least access that gives it usage and cost data. For Claude Code that means the items below. You can revoke access at any time, and nothing here lets Bloom Factory send requests on your behalf.

  • An Anthropic Admin API key for organization usage and cost
  • Optional: Claude Code OpenTelemetry metrics export pointed at Bloom Factory for per-session detail
  • Optional: GitHub read access for cost per pull request

How to connect Claude Code

Setup takes a few minutes and one admin.

  1. 01

    Connect your Anthropic organization

    Add an Admin API key as a source in Bloom Factory. Claude Code usage billed to the organization is imported with the user who ran it.

  2. 02

    Enable the OpenTelemetry export

    Set CLAUDE_CODE_ENABLE_TELEMETRY=1 and the OTLP endpoint Bloom Factory gives you in your developers' environment or managed settings. This adds per-session tokens and cost.

  3. 03

    Map developers to teams

    Sync teams from your identity provider or map users by email. Every developer gets a team and cost center.

  4. 04

    Connect GitHub for cost per PR

    Grant read access to pull request metadata. Bloom Factory joins sessions to merged pull requests.

  5. 05

    Set team budgets

    Set a monthly Claude Code budget per team and choose alert thresholds.

Data collected, and not collected

Bloom Factory reads what it needs to price and attribute spend, and nothing more. On read-only connections, prompt and response content is not collected. The lists below are specific to this integration.

Collected

  • Usage and cost per user, model and day
  • Session metrics from OpenTelemetry: tokens, cost, duration, tool calls
  • Pull request metadata: repository, number, author, merge time

Not collected

  • Prompt or response content
  • Source code
  • Developer keystrokes or file contents

Claude Code questions

Questions buyers ask before connecting Claude Code. Short answers here; your AI Scan call covers the rest.

Do we need every developer to change settings?

No. Organization usage imports with no developer action. The OpenTelemetry export is optional and can be set once through managed settings for per-session detail.

How do you catch a runaway session?

Bloom Factory compares each developer's daily spend with their own baseline and the team median. A session that runs past three times the daily average is flagged with the developer, repo and cost, and the team owner gets an alert.

What is cost per pull request?

Claude Code spend attributed to a developer in the window before a pull request merges, divided across their merged pull requests. It is a trend measure for the team, not a performance review tool.

Start with one read-only key.

A free 30-day AI Scan shows every tool, agent and key, who owns it, what it costs, and where the savings are.

Get your free AI Scan