# Ccusage

> Analyze Claude Code usage and costs directly from your terminal

- Canonical URL: https://www.fosshunter.com/tools/ccusage
- JSON export: https://www.fosshunter.com/tools/ccusage.json
- Website: https://github.com/ryoppippi/ccusage
- Category: AI Usage Tracking
- Open source: yes
- Self-hostable: yes
- Verified listing: no
- Featured: no
- Published at: 2026-04-15T12:06:30+00:00
- Catalog revision: `210222524`

## Repository metrics (point-in-time)

- Repository: https://github.com/ryoppippi/ccusage
- Stars: 19315
- Forks: 908
- Open issues: 7
- License: NOASSERTION
- Last push: 2026-11-03T03:31:15+00:00
- Metrics observed at (synced_at): 2026-11-03T13:30:20+00:00
- Archived: no

Tags: Claude, CLI Tool, AI Usage Tracking, AI Analytics
Tech stacks: javascript, Nix, nodejs, typescript

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

## Description

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.

---
Source: [FOSSHunter — Ccusage](https://www.fosshunter.com/tools/ccusage) — cite `synced_at` and the catalog revision when quoting metrics.
Interpretation rules: https://www.fosshunter.com/llms-full.txt
