DeusData/codebase-memory-mcp
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
C★ 44,670+190 that day#12 on trendingE 16 health30% duplicated
E16/100
Duplication8
30.5% in c, c-header, bash, python, tsx, cpp, javascript, go, powershell, typescript, perl, rubyDead coden/a
the languages dead code reads are under 5% of the codeComplexity31
84.9%Most complex files
- internal/cbm/vendored/grammars/purescript/unicode.h5951 cx
- internal/cbm/vendored/grammars/sshconfig/parser.c5785 cx
- internal/cbm/vendored/grammars/mermaid/parser.c5622 cx
- src/mcp/mcp.c4380 cx
- internal/cbm/vendored/grammars/sosl/parser.c3741 cx
- internal/cbm/vendored/grammars/scss/parser.c3433 cx
- internal/cbm/vendored/grammars/soql/parser.c3336 cx
- internal/cbm/vendored/grammars/css/parser.c3334 cx
- src/cli/cli.c3332 cx
- internal/cbm/vendored/grammars/scheme/parser.c3138 cx
Dead code 14.72% unused · 19 findings
- tools/tree-sitter-arkts/javascript-grammar.jsunused-file
- tools/tree-sitter-arkts/grammar.jsunused-file
- tools/tree-sitter-magma/grammar.jsunused-file
- tools/tree-sitter-form/grammar.jsunused-file
- graph-ui/@/components/ui/card.tsxunused-file
- graph-ui/src/components/ui/card.tsxunused-file
- tools/tree-sitter-chialisp/grammar.jsunused-file
- graph-ui/src/components/ProjectCard.tsxunused-file
- graph-ui/@/components/ui/badge.tsxunused-file
- graph-ui/src/components/ui/badge.tsxunused-file
1,686files
2,161,511lines
17,695,331tokens
29,152clones
648,449duplicated lines (30%)
3,556,082duplicated tokens (20.1%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| c | 614 | 1,765,036 | 27,105 | 516,935 | 29.29% |
| c-header | 699 | 236,517 | 1,471 | 112,043 | 47.37% |
| json | 21 | 30,043 | 250 | 10,051 | 33.46% |
| markdown | 27 | 16,053 | 161 | 7,282 | 45.36% |
| yaml | 30 | 4,699 | 41 | 460 | 9.79% |
| txt | 22 | 44,448 | 29 | 298 | 0.67% |
| bash | 137 | 27,940 | 26 | 315 | 1.13% |
| tsx | 40 | 5,402 | 25 | 571 | 10.57% |
| python | 40 | 14,308 | 17 | 211 | 1.47% |
| cpp | 2 | 4,491 | 13 | 126 | 2.81% |
Largest clones
- 20347 lines · 167,267 tokens cinternal/cbm/vendored/grammars/form/parser.c:1–20347⇆tools/tree-sitter-form/src/parser.c:1–21603
- 23803 lines · 141,073 tokens cinternal/cbm/vendored/grammars/magma/parser.c:1–23803⇆tools/tree-sitter-magma/src/parser.c:1–26332
- 2397 lines · 13,699 tokens cinternal/cbm/vendored/grammars/soql/parser.c:2246–4642⇆internal/cbm/vendored/grammars/sosl/parser.c:2526–4922
- 1245 lines · 8,137 tokens c-headerinternal/cbm/vendored/grammars/objectscript_routine/objectscript_common.h:1–1245⇆internal/cbm/vendored/grammars/objectscript_udl/objectscript_common.h:1–1245
- 204 lines · 8,068 tokens c-headerinternal/cbm/vendored/grammars/haskell/unicode.h:660–863⇆internal/cbm/vendored/grammars/haskell/unicode.h:1557–1760
- 99 lines · 6,133 tokens cinternal/cbm/vendored/grammars/beancount/parser.c:2497–2595⇆internal/cbm/vendored/grammars/beancount/parser.c:2699–2797
- 88 lines · 5,427 tokens cinternal/cbm/vendored/grammars/gotemplate/parser.c:1228–1315⇆internal/cbm/vendored/grammars/json5/parser.c:332–419
- 88 lines · 5,425 tokens cinternal/cbm/vendored/grammars/gotemplate/parser.c:1228–1315⇆internal/cbm/vendored/grammars/json5/parser.c:244–331
- 88 lines · 5,423 tokens cinternal/cbm/vendored/grammars/gotemplate/parser.c:1228–1315⇆internal/cbm/vendored/grammars/gotemplate/parser.c:1316–1403
- 338 lines · 5,391 tokens cinternal/cbm/vendored/grammars/soql/parser.c:1551–1888⇆internal/cbm/vendored/grammars/sosl/parser.c:1831–2168
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Sep 24, 2026 | #12 | 44,670 (+190) | 1,686 | 2,161,511 | 29,152 | 30% | E 16 | 5958f54 |
Want this for your own project? Install jscpd and run jscpd .