# modelcontextprotocol/servers SLOC report

> As of 2026-10-20 (commit 51b6382a3e82), modelcontextprotocol/servers contains 47,648 total lines: 34,322 code, 10,011 comments, 3,315 blank, across 196 files in 7 languages (top: JavaScript 58.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

modelcontextprotocol/servers has 34,322 source lines of code out of 47,648 total lines across 196 files, counted from the main ref at commit 51b6382a3e82 by the OctoCounts tokei engine on 2026-10-20. 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 modelcontextprotocol/servers to commit 51b6382a3e82, 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 72.0% of all lines, comments represent 21.0%, and the repository averages 175 code lines per file. JavaScript accounts for 58.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 79 | 26,926 | 20,073 | 5,365 | 1,488 |
| TypeScript | 64 | 9,427 | 6,628 | 2,108 | 691 |
| JSON | 15 | 6,126 | 6,126 | 0 | 0 |
| Python | 9 | 1,637 | 1,230 | 191 | 216 |
| TOML | 3 | 171 | 150 | 0 | 21 |
| Dockerfile | 7 | 218 | 115 | 28 | 75 |
| Markdown | 19 | 3,143 | 0 | 2,319 | 824 |

Top language (JavaScript 58.5%). Generated at 2026-10-20T01:09:35.703197317+00:00. Canonical report: https://octocounts.com/github/modelcontextprotocol/servers

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/modelcontextprotocol/servers/commit/51b6382a3e827aceb6bce430b1208d69b93d95ea?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&reportId=2a1300102f24f2aac8e50b39e1c28139847127d5843bd17bcae2a48af953b0b3).

## Report FAQ

### How many lines of code does modelcontextprotocol/servers have?

modelcontextprotocol/servers has 47,648 total lines, including 34,322 code lines, 10,011 comment lines, and 3,315 blank lines.

### How was the modelcontextprotocol/servers line count measured?

OctoCounts resolved the public GitHub repository to commit 51b6382a3e82, 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/servers?

This OctoCounts report was generated from main at commit 51b6382a3e82 on 2026-10-20T01:09:35.703197317+00:00.

## Similar repository reports

- [xx-hub/dsh-craft-your-textbook](https://octocounts.com/github/xx-hub/dsh-craft-your-textbook) — JavaScript, 34,799 code lines
- [sheep-realms/Echo-Live](https://octocounts.com/github/sheep-realms/Echo-Live) — JavaScript, 35,010 code lines
- [zuoyunlai/lunheng-article-pipeline-dsh](https://octocounts.com/github/zuoyunlai/lunheng-article-pipeline-dsh) — JavaScript, 35,380 code lines
- [notkisk/ghazal](https://octocounts.com/github/notkisk/ghazal) — JavaScript, 33,290 code lines
- [cv-superding/dsh-deepseek-web-login](https://octocounts.com/github/cv-superding/dsh-deepseek-web-login) — JavaScript, 36,097 code lines
- [Blue-B/WhisperSubTranslate](https://octocounts.com/github/Blue-B/WhisperSubTranslate) — JavaScript, 32,603 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)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
