cost-xray

Cost-xray is a Python tool that captures local network traffic sent by Claude Code and Codex AI coding agents API. The system examines session costs in detail on a token and dollar basis, including requests, tool schemes, MCP blocks, and cache read/write operations. It runs through a transparent local intermediate server running in the background and does not require any API keys or accounts.

CO

tigerless-labs · Observability / Datadog Alternatives

STARS5.8K
FORKS375
COMMITS0
CONTRIBUTORS0
VERSION—
UPDATEDtoday
PythonAPI İzlemeMaliyet AnaliziAIMIT

Common commercial products in this category: Datadog, New Relic, Dynatrace

What can it do?
  • You can monitor the API traffic flow and costs of Claude Code and Codex agents locally.
  • You can review the context window occupancy within the session and the cost of each resource, including MCP servers, in detail.
  • Through the Live Terminal User Interface (TUI), you can filter sessions by agent, project, and category.
Heads up
  • • No published release
GitHub

My note

Alternative pages

More in: Observability / Datadog Alternatives