
claudestat — Claude Code & OpenCode usage tracker with MCP
@DeibyGS
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.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"claudestat": {
"command": "claudestat-mcp",
"args": []
}
}
}ツール
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
概要
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.
「AI とエージェント」の他のコンテンツ
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
コメント