AgentToolDrop

44 of 66

ccusage

Reports token usage and costs for Claude Code, Codex and other coding agent CLIs from local data

  • score 38
  • 19.1k stars
  • 14.3 stars/day last 5 days
  • pushed
  • v20.0.37 on
  • MIT

Run with npx

npx ccusage@latest

Copied from the project's docs at github.com/ccusage/ccusage

Why you'd want it

ccusage reads the usage data that coding agent CLIs store locally and turns it into daily, weekly, monthly and session reports, with per-model breakdowns and separate cache token counts. One report covers Claude Code, Codex, OpenCode, Gemini CLI, GitHub Copilot CLI and more than a dozen other tools, and there are Claude Code extras such as 5-hour billing window reports and a status line integration. Output is a table or JSON, and an offline mode uses cached pricing data.

Best for

  • Tracking spend across several coding agents
  • Claude Code users watching 5-hour usage windows
  • Exporting usage as JSON for your own dashboards

Use it when

You want to see how many tokens and dollars your coding agent sessions use, by day, model, session or project.

Skip it if

You need team-wide spend tracking: it only reads local data on the machine where it runs. Costs are calculated from LiteLLM pricing data, not read from your provider bill.

Editor's note

Moved from ryoppippi/ccusage to ccusage/ccusage.

Same category or shared tags.

  1. Rank 30

    Desktop app that runs Claude Code, Codex and other agent CLIs as a team coordinated by one agent

    • score 45
    • 8.9k stars
    • 35.3 stars/day last 4 days
    • pushed
    • v0.5.5 on
    • MIT

    Build from source

    git clone https://github.com/chaitanyagiri/munder-difflin.git
    cd munder-difflin
    npm install        # postinstall rebuilds node-pty against Electron's ABI
    npm run dev        # launches the Electron app with hot reload
    Use it when, skip it if, stats for Munder Difflin

    Why you'd want it

    Munder Difflin is an Electron desktop app that wraps terminal agent CLIs such as Claude Code and Codex, each running as a real process in its own pseudo-terminal. You brief one orchestrator agent, which the README calls Michael or the GOD agent, and it assigns work and routes messages between agents through mailboxes in a shared hive of plain files. Spend, scope and destructive operations are escalated to an approvals queue for you, and the README says each agent has configurable autonomy and a circuit breaker for loops. Agents keep markdown memory with an optional semantic recall index, and per-agent git worktrees are available as optional isolation. It uses the subscriptions you already have for the CLIs, with bring-your-own keys and local models as options.

    Best for

    • Running several Claude Code and Codex agents in parallel
    • Briefing one orchestrator instead of many agents
    • Watching and steering agent terminals from one window

    Use it when

    You already use agent CLIs such as Claude Code or Codex and want several running on your own machine, coordinated by one orchestrator agent with human approval for spend and destructive operations.

    Skip it if

    The README calls it pre-release software, and it is an Electron desktop app that needs at least one agent CLI already installed, not a library or a headless tool. It runs real agent CLIs as processes you configure the autonomy of, stores provider keys and custom secrets, accepts inbound webhooks, and its dictation feature asks for Microphone and Accessibility permissions on macOS, so review the autonomy and permission settings before use. Official builds send anonymous usage events (opt out in Settings, with DO_NOT_TRACK, or by building from source), and the Pro tier with the Stapler and new sidebar is paid.

    Stats

    New and rising score
    45 of 100
    Stars per day, last 4 days
    35.3
    Release
    v0.5.5,
    License
    MIT
    Pricing
    Free tier + paid
    Works with
    Claude Code, Codex, Gemini CLI, Cursor, macOS, Linux, Windows
    Forks
    1,238
    Open issues
    255
    GitHub checked
  2. Rank 3

    Gives a coding agent skills, a CLI and a shared knowledge base for modding PC games you own

    • score 79
    • 8.5k stars
    • 143 stars/day last 5 days
    • pushed
    • MIT

    Install as a Claude Code plugin

    /plugin marketplace add rehan-remade/universal-modder
    /plugin install universal-modder@universal-modder
    Use it when, skip it if, stats for universal-modder

    Why you'd want it

    universal-modder packages Agent Skills, three subagents and a Python CLI called um that a coding agent uses to mod a game: um scan finds Steam, Epic and Xbox installs and fingerprints the engine, loaders, anti-cheat and save folders, um backup snapshots saves, and um fal, um sprite and um render3d make and fit art, 3D and audio for the engine. The mod-any-game skill runs a fixed loop of recon, a backed-up lab, reading the real code, building one slice, testing it in the running game and writing a field note. Those field notes live in a knowledge base in the repo that agents search with um kb before starting and add to by pull request.

    Best for

    • Modding single-player PC games with an agent
    • Generating sprites and 3D assets for mods
    • Reusing other agents' modding notes

    Use it when

    You want Claude Code, Codex, Gemini CLI or another agent to work out how a game you own is built and ship a mod for it, with assets and an in-game test.

    Skip it if

    You play online games with anti-cheat: its own safety notes say injecting into an online client breaks the game's terms and gets accounts banned, and it refuses to do so. It touches game folders, saves, processes and your mouse and keyboard (asking first), asset generation needs a fal API key or a local ComfyUI server, and the repo is about two weeks old with no tagged release.

    Stats

    New and rising score
    79 of 100
    Stars per day, last 5 days
    143
    License
    MIT
    Pricing
    Open source
    Works with
    Claude Code, Codex, Gemini CLI, VS Code, Cursor, Windows
    Forks
    939
    Open issues
    31
    GitHub checked
  3. Rank 11

    Builds a tree-sitter code map of your repo and serves it, plus saved team learnings, to coding agents

    • score 62
    • 10.5k stars
    • 96.2 stars/day since creation
    • pushed
    • MIT

    Install the CLI with npm, then run init in your repo

    npm install -g @trailhq/trail-code   # install the CLI, once
    trail init                      # in your repo: build the graft map, set up .trail/, wire your agents
    Use it when, skip it if, stats for Trail-code

    Why you'd want it

    trail init parses your repo with tree-sitter into a map of files, functions and who calls what, with no model or API key, and refreshes it when the code changes. It registers an MCP server with six tools (trail_find_code, trail_file_api, trail_trace_calls, trail_find_all, trail_repo_map, trail_check_freshness), and in Claude Code adds hooks that put matching files into each prompt and show what depends on a file after an edit. Agents can also save decisions as markdown learnings in .trail/learnings/, committed with the code, and trail check compares a branch diff against them.

    Best for

    • Giving agents a call graph of a large repo
    • Blast-radius checks after edits
    • Sharing team decisions through git

    Use it when

    You want Claude Code, Cursor, Codex or another MCP agent to find the right code and see what depends on it without repeated grepping. It also fits teams that want agent-saved decisions kept in the repo and checked before a PR.

    Skip it if

    trail init writes hooks, a statusline and MCP entries, and by default also edits user-level files such as ~/.claude/settings.json and ~/.codex/config.toml (skip with --no-global). It reads your past Claude Code sessions and, when gh is signed in, review comments on the last 50 merged PRs to seed learnings, and it sends anonymous usage stats unless you run trail telemetry disable; the optional trail build --deep calls the model provider you choose with your own key. The README marks the team workspace, skills and guardrails as coming soon, and the repo is about three months old.

    Stats

    New and rising score
    62 of 100
    Stars per day, since repo creation
    96.2
    License
    MIT
    Pricing
    Open source
    Works with
    Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Any MCP client
    Forks
    921
    Open issues
    273
    GitHub checked

For agents

The same entry, as files an agent can read without scraping this page.

# read one entry
curl -s https://agenttooldrop.com/tools/ccusage.md

# list the MCP servers in the catalog
curl -s https://agenttooldrop.com/tools.json \
  | jq -r '.tools[] | select(.category=="mcp-server") | .slug'