# anthropics/claude-code SLOC report

> As of 2026-10-08 (commit e47cc82bdbd2), anthropics/claude-code contains 69,768 total lines: 24,116 code, 36,015 comments, 9,637 blank, across 1,094 files in 10 languages (top: TypeScript 49.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

anthropics/claude-code has 24,116 source lines of code out of 69,768 total lines across 1,094 files, counted from the main ref at commit e47cc82bdbd2 by the OctoCounts tokei engine on 2026-10-08. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving anthropics/claude-code to commit e47cc82bdbd2, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 34.6% of all lines, comments represent 51.6%, and the repository averages 22 code lines per file. TypeScript accounts for 49.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 893 | 27,103 | 12,029 | 12,860 | 2,214 |
| Python | 21 | 7,575 | 5,651 | 1,182 | 742 |
| Shell | 20 | 3,393 | 2,352 | 671 | 370 |
| XML | 1 | 1,817 | 1,817 | 0 | 0 |
| HCL | 8 | 1,387 | 1,013 | 212 | 162 |
| TSX | 21 | 1,206 | 796 | 278 | 132 |
| JSON | 17 | 322 | 322 | 0 | 0 |
| PowerShell | 2 | 180 | 111 | 49 | 20 |
| Dockerfile | 2 | 102 | 25 | 64 | 13 |
| Markdown | 109 | 26,683 | 0 | 20,699 | 5,984 |

Top language (TypeScript 49.9%). Generated at 2026-10-08T23:47:00.857949951+00:00. Canonical report: https://octocounts.com/github/anthropics/claude-code

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/anthropics/claude-code/commit/e47cc82bdbd27b5f799acd5b05fd0c29d33bb48c?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does anthropics/claude-code have?

anthropics/claude-code has 69,768 total lines, including 24,116 code lines, 36,015 comment lines, and 9,637 blank lines.

### How was the anthropics/claude-code line count measured?

OctoCounts resolved the public GitHub repository to commit e47cc82bdbd2, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for anthropics/claude-code?

This OctoCounts report was generated from main at commit e47cc82bdbd2 on 2026-10-08T23:47:00.857949951+00:00.

## Similar repository reports

- [unswcpmsoc/unswbc](https://octocounts.com/github/unswcpmsoc/unswbc) — TypeScript, 24,201 code lines
- [agentclientprotocol/codex-acp](https://octocounts.com/github/agentclientprotocol/codex-acp) — TypeScript, 24,272 code lines
- [fastmcp-me/xcodebuildmcp](https://octocounts.com/github/fastmcp-me/xcodebuildmcp) — TypeScript, 23,891 code lines
- [p2r3/convert](https://octocounts.com/github/p2r3/convert) — TypeScript, 23,757 code lines
- [agentclientprotocol/claude-agent-acp](https://octocounts.com/github/agentclientprotocol/claude-agent-acp) — TypeScript, 23,716 code lines
- [shashank-tomar0/super-agent](https://octocounts.com/github/shashank-tomar0/super-agent) — TypeScript, 24,622 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
