rz1989s/claude-code-statusline

Transform your Claude Code terminal with atomic precision statusline. Features flexible layouts, real-time cost tracking, MCP monitoring, prayer times, and beautiful themes.

What it solves

Claude Code Enhanced Statusline provides a highly customizable, real-time information display for the terminal when using Claude Code. It solves the problem of having to manually check various metrics—such as token costs, model versions, git status, and MCP server health—by consolidating them into a configurable status line (or multiple lines) at the bottom of the terminal.

How it works

The project consists of a series of shell scripts and a TOML configuration file. It uses a modular architecture where individual "atomic components" (like cost_daily.sh or mcp_status.sh) collect specific data and render it. A main orchestrator loads these modules based on a Config.toml file, which allows users to define how many lines (1-9) they want to display and which components appear on each line.

Who it’s for

Developers using Claude Code who want deeper visibility into their session costs, resource usage, and environment status without leaving their terminal workflow.

Highlights

  • Atomic Component System: 28 single-purpose units for precise control over what is displayed (e.g., separate components for daily, weekly, and monthly costs).
  • Block Metrics: Native cost calculation, burn rate monitoring, cache efficiency tracking, and cost projections.
  • Modular Layout: Configurable display from 1 to 9 lines, allowing users to mix and match components in any order.
  • Extensive Integrations: Includes git status, Claude Code versioning, MCP server health, and even Islamic prayer times and the Hijri calendar.
  • Performance Optimized: Implements XDG-compliant caching and SHA-256 integrity protection to minimize external command execution and latency.

Related

  • Project
  • Project
  • Project
  • Project
  • Project