# modelcontextprotocol/java-sdk SLOC report

> As of 2026-07-22 (commit fd004989b948), modelcontextprotocol/java-sdk contains 37,906 total lines: 21,571 code, 10,392 comments, 5,943 blank, across 158 files in 6 languages (top: Java 91.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving modelcontextprotocol/java-sdk to commit fd004989b948, 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 56.9% of all lines, comments represent 27.4%, and the repository averages 137 code lines per file. Java accounts for 91.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 121 | 34,275 | 19,818 | 9,249 | 5,208 |
| XML | 18 | 1,485 | 1,343 | 18 | 124 |
| Shell | 1 | 259 | 184 | 49 | 26 |
| Batch | 1 | 149 | 134 | 0 | 15 |
| YAML | 2 | 104 | 92 | 6 | 6 |
| Markdown | 15 | 1,634 | 0 | 1,070 | 564 |

Top language (Java 91.9%). Generated at 2026-07-22T06:26:01.723995732+00:00. Canonical report: https://octocounts.com/github/modelcontextprotocol/java-sdk

## Report FAQ

### How many lines of code does modelcontextprotocol/java-sdk have?

modelcontextprotocol/java-sdk has 37,906 total lines, including 21,571 code lines, 10,392 comment lines, and 5,943 blank lines.

### How was the modelcontextprotocol/java-sdk line count measured?

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

### What commit was counted for modelcontextprotocol/java-sdk?

This OctoCounts report was generated from main at commit fd004989b948 on 2026-07-22T06:26:01.723995732+00:00.

## Similar repository reports

- [cpacm/MoeMusic](https://octocounts.com/github/cpacm/MoeMusic) — Java, 21,019 code lines
- [Ticket-Souq/TicketSouq](https://octocounts.com/github/Ticket-Souq/TicketSouq) — Java, 20,102 code lines
- [Mohigster/morefeatures-template-26.1.2](https://octocounts.com/github/Mohigster/morefeatures-template-26.1.2) — Java, 19,545 code lines
- [SunghoLee/HybriDroid](https://octocounts.com/github/SunghoLee/HybriDroid) — Java, 19,483 code lines
- [jhy/jsoup](https://octocounts.com/github/jhy/jsoup) — Java, 19,193 code lines
- [Team-xManager/xManager](https://octocounts.com/github/Team-xManager/xManager) — Java, 18,758 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)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
