Claude MCP Telemetry & Usage Starter
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Claude MCP Telemetry & Usage Starter
A lightweight, open-source Python starter kit for inspecting Claude API usage, auditing organizational activity logs, and exposing telemetry metrics via the Model Context Protocol (MCP).
Built for developers and platform engineers who want clean visibility into token consumption, project activity, and API rate limits without heavy enterprise overhead.
Key Features
Usage & Activity Poller: Clean Python client wrapper for fetching and structuring Claude workspace activity and usage metrics.
MCP Server Ready: Exposes usage summaries as standard MCP resources so you can query your own API health directly inside Claude Desktop or Claude Code.
Zero-Blocker Local Storage: Exports structured JSON/CSV logs ready for local dashboards or lightweight observability pipelines.
Privacy-First Design: Metadata-only mode strips prompt and completion payloads by default, logging only timestamps, token counts, and model IDs.
Related MCP server: claude-replay
Quick Start
1. Clone the repository
git clone https://github.com
cd claude-mcp-telemetry-starter2. Install dependencies
pip install -r requirements.txt3. Configure environment variables
cp .env.example .env
# Add your ANTHROPIC_API_KEY or ANTHROPIC_ADMIN_KEY4. Run a sample usage check
python src/fetch_metrics.py --mode metadata-onlyRoadmap
Basic Python client wrapper & metadata-only log formatter
Full MCP server tool definitions for real-time usage queries
Docker Compose template for local Prometheus/Grafana visualization
GitHub Action for automated weekly token-spend summaries
Contributing
Contributions, issues, and feature requests are welcome! Feel free to open a pull request or start a discussion to help make Claude observability simpler for the open-source community.
License
Distributed under the MIT License. See LICENSE for more information.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.
Analytics for MCP servers. Query your tool calls, first-call success, retries and schema cost.
Anthropic organization usage and cost reporting through an admin API key connected by the user.
Query application logs, traces, and metrics from your AI coding assistant via Foam's MCP server.
Related MCP Servers
- AlicenseAqualityCmaintenanceExposes analytics from Claude Code transcripts as MCP tools, enabling cost, audit, safety, and efficiency queries through natural language.4MIT
- AlicenseAqualityCmaintenanceEnables search, analytics, and visualization of Claude Code sessions with MCP tools for session management, recovery, and insights.10147 PyPI1MIT
- AlicenseNot gradedqualityBmaintenanceEnables local-first tracking of AI token usage and costs from Claude Code and OpenCode, answering queries about tokens, models, sessions, and cost through MCP tools and a CLI, with no network calls.124 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code sessions to check account rate-limit headroom, local token spend, and live session status, with read-only MCP tools for limits, summaries, token usage, and session listing.2MIT