modelcontextprotocol/servers has 41,146 source lines of code out of 57,739 total lines across 214 files, counted with tokei from the main ref at commit e1dc4b18dbb9 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-11 (commit e1dc4b18dbb9), modelcontextprotocol/servers contains 57,739 total lines: 41,146 code, 12,546 comments, 4,047 blank, across 214 files in 7 languages (top language: JavaScript 55.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving modelcontextprotocol/servers to commit e1dc4b18dbb9, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a medium-sized codebase by counted code lines. Code represents 71.3% of all lines, comments represent 21.7%, and the repository averages 192 code lines per file. JavaScript accounts for 55.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 83 | 30305 | 23011 | 5728 | 1566 |
| TypeScript | 70 | 13257 | 9147 | 3233 | 877 |
| JSON | 15 | 5777 | 5777 | 0 | 0 |
| Python | 13 | 3805 | 2880 | 509 | 416 |
| Dockerfile | 11 | 489 | 180 | 204 | 105 |
| TOML | 3 | 172 | 151 | 0 | 21 |
| Markdown | 19 | 3934 | 0 | 2872 | 1062 |
Top language: JavaScript 55.9%. Generated on .
modelcontextprotocol/servers: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
modelcontextprotocol/servers has 41,146 lines of code, plus 12,546 comment lines and 4,047 blank lines, for 57,739 total lines at commit e1dc4b18dbb9 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit e1dc4b18dbb9, 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 e1dc4b18dbb9 on November 11, 2026.
Play the growth animation for modelcontextprotocol/servers on this page — 41,146 code lines across 7 languages, counted by tokei.