Skip to main content

claude-analytics

MCP server for Claude Code usage analytics — sessions, costs, agents

来源信息

仓库
arigatoexpress/Sapphire
最近来源活动
2026年8月5日 21:18
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
15 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
claude-analytics
description
MCP server for Claude Code usage analytics — sessions, costs, agents
type
tool
runtime
typescript
deploy_target
mac
dependencies
[]
entry_point
src/index.ts
test_command
npm test
build_command
npm run build
# Claude Analytics Dashboard ## Purpose TypeScript MCP server that parses Claude Code session data from ~/.claude/ and exposes real-time analytics via 4 tools. ## MCP Tools - `analytics_overview` — Daily activity, hourly trends, model breakdown - `analytics_sessions` — Session list with token/tool stats - `analytics_session_detail` — Per-session tool timeline - `analytics_costs` — Per-model pricing breakdown ## Key Files - `src/index.ts` — MCP server entry, tool definitions - `src/parsers/stats-parser.ts` — Stats cache parsing with pricing - `src/parsers/history-parser.ts` — JSONL session parser - `src/watchers/file-watcher.ts` — Real-time data updates
在 GitHub 查看