DeusData/codebase-memory-mcp

Description: High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 53 minutes ago
Added to GitGenius on June 21st, 2026
Created on February 24th, 2026
Open Issues & Pull Requests: 408 (+0)
Number of forks: 2,998
Total Stargazers: 37,661 (+14)
Total Subscribers: 160 (+0)

Issue Activity (beta)

Open issues: 315
New in 7 days: 58
Closed in 7 days: 23
Avg open age: 15 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 41
Closed in 7 days: 19
Comments in 7 days: 108
Events in 7 days: 469

Top labels

  • bug (439)
  • parsing/quality (230)
  • ux/behavior (213)
  • priority/high (209)
  • stability/performance (159)
  • priority/normal (157)
  • editor/integration (137)
  • enhancement (134)

Repository Insights (GitGenius)

Median issue/PR response: 2.3 hours
Mean response time: 37.9 hours
90th percentile: 3.9 days
Tracked items: 680

Most active contributors

Detailed Description

The codebase-memory-mcp repository is a high-performance code intelligence server built in C that indexes entire codebases into a persistent knowledge graph. It is designed to serve as an MCP (Model Context Protocol) server for AI coding agents, enabling rapid structural code queries and analysis. The project ships as a single static binary with zero dependencies, available for macOS, Linux, and Windows, making deployment straightforward without requiring Docker, runtime dependencies, or API keys.

The core capability is extreme indexing speed. The repository can index an average codebase in milliseconds and processes the Linux kernel with 28 million lines of code across 75,000 files in approximately 3 minutes. Queries against the indexed knowledge graph execute in under 1 millisecond. This performance is achieved through a RAM-first pipeline using LZ4 compression, in-memory SQLite, and fused Aho-Corasick pattern matching, with memory released after indexing completes.

Language support spans 158 programming languages through vendored tree-sitter grammars compiled directly into the binary. Beyond generic AST parsing, the system implements Hybrid LSP semantic type resolution for ten languages including Python, TypeScript, JavaScript, PHP, C#, Go, C, C++, Java, Kotlin, and Rust. This produces a knowledge graph containing functions, classes, call chains, HTTP routes, and cross-service links with type-aware accuracy comparable to major language servers.

The repository provides 14 MCP tools covering search, trace, architecture analysis, impact analysis, Cypher-like queries, dead code detection, cross-service HTTP linking, and ADR (Architecture Decision Records) management. Semantic search uses bundled Nomic nomic-embed-code embeddings with 11-signal combined scoring including TF-IDF, RRI, API signatures, AST profiles, data flow analysis, and graph diffusion. BM25 full-text search operates via SQLite FTS5 with a camelCase-aware tokenizer.

The system detects and links cross-service communication patterns including HTTP routes, gRPC, GraphQL, tRPC, and pub-sub channels across Socket.IO, EventEmitter, and generic patterns in eight languages. Infrastructure-as-code indexing handles Dockerfiles, Kubernetes manifests, and Kustomize overlays as graph nodes with cross-references. A built-in 3D interactive graph visualization UI runs at localhost:9749 for exploring the knowledge graph.

According to GitGenius tracking, the repository has grown from 26,103 to 26,110 stargazers since July 4, 2026. The project maintains active issue and PR management with a median response latency of 2.6 hours across 415 tracked items, though mean latency is 53.0 hours. The most active labels are bug (241 items), parsing/quality (98 items), and priority/normal (95 items). DeusData is the dominant contributor with 1,710 tracked events, followed by hi0001234d with 13 events and dLo999 with 9 events. The repository overlaps contributors with genmcp/gen-mcp, knative/eventing, and golang/go.

The installation process is automated through a single command that auto-detects and configures 11 coding agents including Claude Code, Cursor, VS Code, Aider, KiloCode, and others. The project includes a preprint research paper on arXiv (2603.27277) documenting design and benchmarks showing 83% answer quality, 10 times fewer tokens, and 2.1 times fewer tool calls compared to file-by-file exploration across 31 real-world repositories.

codebase-memory-mcp
by
DeusDataDeusData/codebase-memory-mcp

Repository Details

Fetching additional details & charts...