head to head · open source
PostHog vs Claude-Code-Usage-Monitor
PostHog has 39,835 GitHub stars, 3,394 forks, 5,637 open issues and last shipped yesterday. Claude-Code-Usage-Monitor has 8,712 stars, 459 forks, 37 open issues and last shipped 3 months ago. PostHog leads on adoption by 357% (39,835 vs 8,712 stars). PostHog is written in Python under a custom or non-standard licence; Claude-Code-Usage-Monitor is written in Python under MIT. PostHog has attracted 9% as many forks as stars, Claude-Code-Usage-Monitor 5%. PostHog 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 8884 open source comparisons
Side by side
| PostHog | Claude-Code-Usage-Monitor | |
|---|---|---|
| GitHub stars | ★ 40K | ★ 8.7K |
| License | Custom / other | MIT |
| Written in | Python | Python |
| Last push | 2026-09-17 | 2026-07-05 |
| Forks | ⑂ 3.4K | ⑂ 459 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick PostHog if
- You weight community size — 40K stars and counting
- You want the Custom / other license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick Claude-Code-Usage-Monitor if
- You want the Claude-Code-Usage-Monitor feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and Claude-Code-Usage-Monitor fits your workflow better
About PostHog
PostHog is an open source platform for building self driving products, combining product analytics, web analytics, session replay, feature flags, experiments, error tracking, logs, surveys, a data warehouse, data pipelines, AI observability, and workflows in a single system, aimed at product, engineering, and growth teams that want to own their product data rather than rent it.
read the full PostHog overview →
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 →
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 PostHog or Claude-Code-Usage-Monitor more popular?
PostHog has 39,835 GitHub stars and Claude-Code-Usage-Monitor has 8,712. PostHog has the larger community by that measure.
Are PostHog and Claude-Code-Usage-Monitor free?
Both are open source. PostHog has no licence declared in this registry, and Claude-Code-Usage-Monitor is licensed under MIT. Both are free to self-host.
What is the difference between PostHog and Claude-Code-Usage-Monitor?
PostHog is written in Python and Claude-Code-Usage-Monitor in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, PostHog or Claude-Code-Usage-Monitor?
Choose PostHog if you want the larger community (39,835 stars) or its Custom / other licence terms. Choose Claude-Code-Usage-Monitor if its feature set, stack or MIT licence fits better. Both are self-hostable.