modelcontextprotocol/rust-sdk has 54,412 source lines of code out of 65,482 total lines across 167 files, counted from the main ref at commit 8aec3891dd07 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
modelcontextprotocol/rust-sdk: 54,412 code lines at commit 8aec3891dd07, counted with tokei-14.0.0 on 2026-10-23. Saved result 0c9d5b117b8dff6ada6919235c9cd24063a16f5a1503f4094637fd204aa153d6.
OctoCounts produced this report by resolving modelcontextprotocol/rust-sdk to commit 8aec3891dd07, 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.
This is a medium-sized codebase by counted code lines. Code represents 83.1% of all lines, comments represent 6.0%, and the repository averages 326 code lines per file. Rust accounts for 98.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 128 | 60776 | 53460 | 1465 | 5851 |
| TOML | 16 | 947 | 789 | 27 | 131 |
| HTML | 3 | 108 | 101 | 0 | 7 |
| Shell | 1 | 56 | 28 | 21 | 7 |
| Just | 1 | 24 | 20 | 0 | 4 |
| JSON | 1 | 8 | 8 | 0 | 0 |
| YAML | 1 | 26 | 6 | 18 | 2 |
| Markdown | 16 | 3537 | 0 | 2370 | 1167 |
Top language (Rust 98.3%). Generated at .
modelcontextprotocol/rust-sdk has 65,482 total lines, including 54,412 code lines, 3,901 comment lines, and 7,169 blank lines.
OctoCounts resolved the public GitHub repository to commit 8aec3891dd07, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 8aec3891dd07 on 2026-10-23T19:08:21.304498528Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for modelcontextprotocol/rust-sdk on this page — 54,412 code lines across 8 languages, counted by tokei.