npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@stacktown/claude-telemetry-mcp

v1.0.0

Published

MCP server for Claude Code telemetry usage tracking and analytics

Readme

Claude Telemetry MCP

Model Context Protocol (MCP) server for tracking Claude Code usage patterns, personal trends, and allowance limit monitoring.

Overview

This MCP server helps you understand your personal Claude Code usage by tracking session metrics, analyzing usage trends, and monitoring against allowance limits. Get insights into your workflow patterns, tool usage habits, and stay aware of usage boundaries.

Features

Personal Usage Tracking

  • Session usage monitoring (tokens, costs, activity duration)
  • Daily and weekly usage summaries
  • Personal usage trend analysis over time
  • Tool usage pattern insights and frequency analysis

Allowance Management

  • Usage limit monitoring with configurable thresholds
  • Proactive warnings before approaching limits
  • Remaining capacity estimation based on current trends
  • Historical usage comparison for planning

Analytics & Insights

  • Session analytics and productivity patterns
  • Tool usage breakdown and effectiveness metrics
  • Usage trend analysis for better workflow planning
  • Capacity forecasting based on historical data

Installation

npm install claude-telemetry-mcp

Configuration

Add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "claude-telemetry": {
      "command": "node",
      "args": ["path/to/claude-telemetry-mcp/build/index.js"]
    }
  }
}

Available Tools

Current Usage

  • get_current_session_usage - Get current session metrics and token consumption
  • get_today_usage - Get today's usage summary and trends
  • get_week_usage - Get weekly usage metrics and patterns

Usage Analysis

  • get_usage_summary - Comprehensive usage overview with personal insights
  • get_usage_trends - Analyze personal usage patterns over time
  • get_session_analytics - Session pattern analysis and productivity insights
  • get_tool_usage_breakdown - Tool usage statistics and preferences

Limit Management

  • check_usage_limits - Monitor usage against specified allowance limits
  • get_usage_warnings - Get threshold warnings and limit notifications
  • estimate_remaining_capacity - Calculate remaining allowance capacity
  • compare_usage_periods - Compare usage between different time periods

System Health

  • get_telemetry_health - Check telemetry system status and data quality

Usage Examples

Monitor Daily Progress

// Check today's usage against your patterns
const todayUsage = await client.callTool("get_today_usage", {});
console.log(`Today: ${todayUsage.tokens} tokens (${todayUsage.trend})`);

Allowance Limit Monitoring

// Check if approaching monthly limits
const limits = await client.callTool("check_usage_limits", {
  monthly_token_limit: 100000,
  daily_session_limit: 50
});

Personal Trend Analysis

// Analyze your usage patterns
const trends = await client.callTool("get_usage_trends", {
  period: "last_30_days",
  include_predictions: true
});

Tool Usage Insights

// See which tools you use most
const toolStats = await client.callTool("get_tool_usage_breakdown", {
  timeframe: "week",
  include_efficiency_metrics: true
});

Personal Analytics Features

Usage Pattern Recognition

  • Peak usage times and productive periods
  • Session duration and break patterns
  • Tool preference and workflow insights
  • Weekly and monthly rhythm analysis

Limit Management

  • Proactive notifications before limit thresholds
  • Usage velocity tracking (tokens per hour/day)
  • Remaining allowance projections
  • Historical limit breach analysis

Productivity Insights

  • Most productive time periods
  • Tool usage effectiveness metrics
  • Session efficiency and focus patterns
  • Workflow optimization suggestions

Benefits

  • Stay Within Limits: Proactive monitoring prevents unexpected limit hits
  • Understand Patterns: Learn your most productive usage patterns
  • Optimize Workflow: Identify which tools and times work best for you
  • Plan Usage: Forecast and budget your Claude Code usage effectively
  • Track Progress: Monitor your development productivity over time

Privacy & Data

  • All data is stored locally on your machine
  • No usage data is transmitted to external services
  • You have full control over data retention and deletion
  • Telemetry focuses on usage patterns, not content analysis

License

MIT