{"id":49283644,"url":"https://github.com/buildingopen/claude-code-stats","last_synced_at":"2026-04-25T20:03:50.947Z","repository":{"id":345708277,"uuid":"1186682555","full_name":"buildingopen/claude-code-stats","owner":"buildingopen","description":"Spotify Wrapped for Claude Code. Visualize your AI coding stats, token usage, and costs.","archived":false,"fork":false,"pushed_at":"2026-03-20T15:55:03.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T01:39:10.277Z","etag":null,"topics":["ai-coding","analytics","claude","claude-code","cli","cost-tracking","developer-tools","spotify-wrapped","token-usage"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildingopen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-19T22:08:35.000Z","updated_at":"2026-03-20T15:55:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/buildingopen/claude-code-stats","commit_stats":null,"previous_names":["buildingopen/claude-code-stats"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/buildingopen/claude-code-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildingopen%2Fclaude-code-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildingopen%2Fclaude-code-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildingopen%2Fclaude-code-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildingopen%2Fclaude-code-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildingopen","download_url":"https://codeload.github.com/buildingopen/claude-code-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildingopen%2Fclaude-code-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32274987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-coding","analytics","claude","claude-code","cli","cost-tracking","developer-tools","spotify-wrapped","token-usage"],"created_at":"2026-04-25T20:03:50.432Z","updated_at":"2026-04-25T20:03:50.939Z","avatar_url":"https://github.com/buildingopen.png","language":"Python","readme":"# Claude Recap\n\nOperational stats dashboard for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Pure numbers, terminal output.\n\n## Quick Start\n\n```bash\nnpx claude-recap\n```\n\nRequires Python 3.8+ and Node.js 14+.\n\n## What You Get\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  CLAUDE RECAP                              Mar 1 - Mar 20\n                                                     20 days\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nOVERVIEW\n\n  Sessions            482        Active Days   18/20\n  Total Hours       187.0h        Projects      12\n  Avg Session          23 min     Messages      14,291\n\nCOST \u0026 ROI\n\n  API Value            $1,247.83\n  Plan Cost              $200.00    (Max)\n  ROI                       6.2x\n\nMODELS / TOKENS / PROJECTS / ACTIVITY / ERRORS / TREND\n```\n\n## Options\n\n```bash\nnpx claude-recap                          # Full dashboard, all time\nnpx claude-recap --days 7                 # Last 7 days only\nnpx claude-recap --days 30               # Last 30 days\nnpx claude-recap --project \"OpenChat V4\"  # Filter to one project\nnpx claude-recap --plan pro               # ROI calc with $20/mo\nnpx claude-recap --json                   # Machine-readable JSON\nnpx claude-recap --no-color               # No ANSI colors (CI/piping)\nnpx claude-recap --help\n```\n\n## Plans for ROI\n\n| Flag | Monthly Cost | Plan |\n|------|-------------|------|\n| `--plan pro` | $20 | Pro |\n| `--plan max5` | $100 | Max 5x |\n| `--plan max` | $200 | Max 20x (default) |\n\n## Custom Data Directory\n\nBy default, sessions are read from `~/.claude/projects/`. Override with:\n\n```bash\nCLAUDE_PROJECTS_DIR=/path/to/projects npx claude-recap\n```\n\nMultiple directories (colon-separated):\n\n```bash\nCLAUDE_PROJECTS_DIR=/path/one:/path/two npx claude-recap\n```\n\n## JSON Output\n\n```bash\nnpx claude-recap --json | python3 -m json.tool\nnpx claude-recap --json --days 7 \u003e stats.json\n```\n\n## How It Works\n\nReads Claude Code JSONL session transcripts locally. Extracts token usage, timestamps, error patterns, and model info. Computes costs using published API pricing. All processing is local, no data leaves your machine.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildingopen%2Fclaude-code-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildingopen%2Fclaude-code-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildingopen%2Fclaude-code-stats/lists"}