Ccusage
Open Source Self-Hosted AI Usage Tracking

Ccusage

Analyze Claude Code usage and costs directly from your terminal

Claude CLI Tool AI Usage Tracking AI Analytics

Screenshots

A closer look at the product interface and key surfaces.

5 images

At a glance

Primary use case
Analyze Claude Code usage and costs directly from your terminal
Best for
AI Usage Tracking — Claude, CLI Tool
Stack
javascript, Nix, nodejs, typescript
License
NOASSERTION
Maintenance
20 hours ago
Access
Open source · Self-hosted
Documentation path
https://ccusage.com/api/

About this tool

Ccusage is a powerful CLI tool for AI usage tracking that analyzes local JSONL files from Claude Code. It monitors token consumption and costs through daily, monthly, and session based reports while supporting seamless MCP integration.

Repository

Stars

12,978

Forks

483

Issues

170

License

NOASSERTION

Last Push

20 hours ago

Features

  • Provides detailed analysis of token usage and costs from local JSONL files.
  • Supports daily, monthly, and session based reporting for Claude Code users.
  • Features a built-in MCP server for real-time integration with AI workflows.
Browse all tools

Published 2 days ago