I Built an MCP Server So Claude Can Answer Questions About Its Own Usage
Here's something that didn't exist until recently: you can ask Claude how much Claude Code you've been using, and get a real answer backed by your actual data. You: "How much have I used Claude Cod...

Source: DEV Community
Here's something that didn't exist until recently: you can ask Claude how much Claude Code you've been using, and get a real answer backed by your actual data. You: "How much have I used Claude Code this month, and is my streak going to survive?" Claude: "You've logged 47.3h interactive + 83.1h AI sub-agent work in March, for 130.4h total. You're on a 36-day streak with 22 Ghost Days. Based on your last 14 days, your streak is likely to survive — you've been active 100% of days this month." That's cc-mcp. An MCP server that gives Claude real-time access to your Claude Code usage stats. The problem with analytics tools I've built 26 other Claude Code analytics tools. You run them, they print stats, you close the terminal. The knowledge doesn't go anywhere useful. What I wanted was for Claude to know this information during a session. If I'm planning work with Claude, it should be able to factor in that I've already spent 8 hours in Claude Code today, that AI has been running autonomousl