head to head · open source
Claude-Code-Usage-Monitor vs Swetrix
Claude-Code-Usage-Monitor has 8,712 GitHub stars, 460 forks, 37 open issues and last shipped 3 months ago. Swetrix has 1,201 stars, 74 forks, 14 open issues and last shipped yesterday. Claude-Code-Usage-Monitor leads on adoption by 625% (8,712 vs 1,201 stars). Claude-Code-Usage-Monitor is written in Python under MIT; Swetrix is written in TypeScript under AGPL-3.0. Claude-Code-Usage-Monitor has attracted 5% as many forks as stars, Swetrix 6%. Swetrix was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (monitoring), 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 | Swetrix | |
|---|---|---|
| GitHub stars | ★ 8.7K | ★ 1.2K |
| License | MIT | AGPL-3.0 |
| Written in | Python | TypeScript |
| Last push | 2026-07-05 | 2026-09-19 |
| Forks | ⑂ 460 | ⑂ 74 |
| 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 Swetrix if
- You want the Swetrix feature set and don't need the biggest community
- You prefer the AGPL-3.0 license terms
- Your stack matches TypeScript
- You evaluated both and Swetrix 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 Swetrix
Swetrix is a cookieless, GDPR compliant, open source web analytics platform for teams that want privacy first traffic metrics plus error tracking, performance monitoring, session replays, funnels and custom events in one hosted or self hosted product.
read the full Swetrix 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 Swetrix more popular?
Claude-Code-Usage-Monitor has 8,712 GitHub stars and Swetrix has 1,201. Claude-Code-Usage-Monitor has the larger community by that measure.
Are Claude-Code-Usage-Monitor and Swetrix free?
Both are open source. Claude-Code-Usage-Monitor is licensed under MIT and Swetrix under AGPL-3.0. Neither carries a licence fee.
What is the difference between Claude-Code-Usage-Monitor and Swetrix?
Claude-Code-Usage-Monitor is written in Python and Swetrix 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 Swetrix?
Choose Claude-Code-Usage-Monitor if you want the larger community (8,712 stars) or its MIT licence terms. Choose Swetrix if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.