
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
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.
More AI & Agents MCP servers
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.
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Comments