head to head · open source
Claude-Code-Usage-Monitor vs tianji
Claude-Code-Usage-Monitor has 8,712 GitHub stars, 460 forks, 37 open issues and last shipped 3 months ago. tianji has 3,100 stars, 194 forks, 139 open issues and last shipped yesterday. Claude-Code-Usage-Monitor leads on adoption by 181% (8,712 vs 3,100 stars). Claude-Code-Usage-Monitor is written in Python under MIT; tianji is written in TypeScript under Apache-2.0. Claude-Code-Usage-Monitor has attracted 5% as many forks as stars, tianji 6%. tianji was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (analytics), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| Claude-Code-Usage-Monitor | tianji | |
|---|---|---|
| GitHub stars | ★ 8.7K | ★ 3.1K |
| License | MIT | Apache-2.0 |
| Written in | Python | TypeScript |
| Last push | 2026-07-05 | 2026-09-19 |
| Forks | ⑂ 460 | ⑂ 194 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Claude-Code-Usage-Monitor if
- You weight community size — 8.7K stars and counting
- You want the MIT license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick tianji if
- You want the tianji feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches TypeScript
- You evaluated both and tianji fits your workflow better
About Claude-Code-Usage-Monitor
Claude Code Usage Monitor is a privacy first terminal and machine readable usage monitor for people who run Claude Code and need to track token, message, and cost consumption against plan limits. It lives in the Claude Code tooling ecosystem and replaces guesswork about how much of a 5 hour session or weekly allowance remains.
read the full Claude-Code-Usage-Monitor overview →
About tianji
Tianji is a self hosted TypeScript project that combines website analytics, uptime monitoring, and server status in one application under the Apache 2.0 license. It is positioned as an all in one insight hub rather than only another Google Analytics alternative, and it lives in the web and product analytics ecosystem alongside tools such as Umami, Google Analytics, uptime monitors, and server status collectors.
read the full tianji overview →
More in Data & Analytics
Related comparisons
More Web & Product Analytics projects
Compare either of these against the rest of the Web & Product Analytics field.
Frequently asked questions
Is Claude-Code-Usage-Monitor or tianji more popular?
Claude-Code-Usage-Monitor has 8,712 GitHub stars and tianji has 3,100. Claude-Code-Usage-Monitor has the larger community by that measure.
Are Claude-Code-Usage-Monitor and tianji free?
Both are open source. Claude-Code-Usage-Monitor is licensed under MIT and tianji under Apache-2.0. Neither carries a licence fee.
What is the difference between Claude-Code-Usage-Monitor and tianji?
Claude-Code-Usage-Monitor is written in Python and tianji in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, Claude-Code-Usage-Monitor or tianji?
Choose Claude-Code-Usage-Monitor if you want the larger community (8,712 stars) or its MIT licence terms. Choose tianji if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.