Claude Telemetry MCP
Model Context Protocol (MCP) server for Claude Code telemetry and usage analytics.
Overview
This MCP server provides comprehensive telemetry and usage analytics for Claude Code sessions, including token usage, cost tracking, session metrics, and tool usage patterns.
Features
Session usage tracking (tokens, cost, activity)
Daily and weekly usage summaries
Usage limit monitoring and warnings
Session analytics and patterns
Tool usage breakdown
Trend analysis and capacity estimation
Installation
Configuration
Add to your Claude Code MCP configuration:
Available Tools
get_current_session_usage
- Get current session metricsget_today_usage
- Get today's usage summaryget_week_usage
- Get weekly usage metricsget_usage_summary
- Comprehensive usage overviewcheck_usage_limits
- Monitor against specified limitsget_usage_warnings
- Get default threshold warningsestimate_remaining_capacity
- Calculate remaining usage capacityget_usage_trends
- Analyze usage patterns over timeget_session_analytics
- Session pattern analysisget_tool_usage_breakdown
- Tool usage statisticscompare_usage_periods
- Compare usage between time periodsget_telemetry_health
- Check telemetry system status
License
MIT
local-only server
The server can only run on the client's local machine because it depends on local resources.
Provides comprehensive telemetry and usage analytics for Claude Code sessions, including token usage tracking, cost monitoring, and tool usage patterns. Enables users to monitor their Claude usage with detailed metrics, warnings, and trend analysis.