MCP.so
Sign In

claudestat — Claude Code & OpenCode usage tracker with MCP

@DeibyGS

About claudestat — Claude Code & OpenCode usage tracker with MCP

Local daemon that tracks Claude Code and OpenCode sessions in real-time. Exposes an MCP server so Claude can query its own usage mid-session: quota status, session cost, top tools, weekly insights, burn rate, and model breakdown. No cloud, no accounts — everythin stays on disk.

Basic information

Category

AI & Agents

Transports

stdio

Publisher

DeibyGS

Submitted by

Deiby Gorrin

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "claudestat": {
      "command": "claudestat-mcp",
      "args": []
    }
  }
}

Tools

7

5h cycle usage %, plan, weekly hours, burn rate (with on-demand API refresh + disk cache)

Latest session: cost, tokens, efficiency, loops

Aggregated stats for N days

Top 10 tools by cost/count/duration (default 30 days)

Deep insights: cost per project, cache savings, efficiency trend, peak hours, model breakdown

Cost and session count broken down by Claude model (Sonnet, Haiku, Opus)

Weekly summary with actionable tip

Overview

What is claudestat?

claudestat is an MCP server that enables Claude Code to query its own usage statistics in real time, including quota status, session costs, and top tools. It is designed for Claude Code users who want to monitor and optimize their AI usage.

Comments

More AI & Agents MCP servers