
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.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"claudestat": {
"command": "claudestat-mcp",
"args": []
}
}
}Tools
75h 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.
Basic information
More AI & Agents MCP servers
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.

Competitor Tracker & Co.
Competitor Tracker & Co.Competitor Tracker & Co. watches your competitors' websites and tells you what changed. Every week it crawls their pricing, product, messaging and corporate pages, detects the changes that matter, and files a tagged, ran
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
Comments