← Browse
ai-usage
MohitBansal321 ★ 1
ai-usage reports actual token consumption and cost from Claude Code and OpenCode by reading JSONL files on disk, deduplicating requests, and storing normalized data in SQLite—never inflating numbers by summing duplicate usage records. It exposes seven MCP tools plus CLI commands to analyze token usage broken down by client, model, session, and cache class, then verifies accuracy with an independent implementation.
Install
> /plugin marketplace add MohitBansal321/ai-usage-mcp
> /plugin install ai-usage
What it's made of
3 commands · 1 MCP server
- Commands
- 3
- Agents
- 0
- Skills
- 0
- MCP servers
- 1
- Hooks
- 0
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
npx- Talks to
- nothing external detected
Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (MohitBansal321).