win4r/codebase-memory-mcp-pro
Free纯 C 实现的代码知识图谱 MCP 服务器,构建并增量重索引代码库的调用关系图,为 AI 提供代码结构记忆。整合 9 个上游 PR,修复增量重索引的 CALLS 边。
About win4r/codebase-memory-mcp-pro
codebase-memory-mcp-pro is a community fork of DeusData/codebase-memory-mcp (MIT licensed) maintained by @win4r. It is a pure C code knowledge-graph MCP server that builds and incrementally re-indexes codebase call graphs to provide AI with code structure memory. This fork integrates 9 upstream pull requests ahead of their merge, including fixes for incremental-reindex correctness (preserving cross-file CALLS edges), Cypher query improvements, MCP tool enhancements (detect_changes, name resolution, UTF-8 handling), and robustness fixes. Additionally, it introduces agent-native features such as an explore MCP tool that returns blast-radius, nearby neighbors, and verbatim source; idiomatic Swift type kinds (struct, enum, actor) as distinct graph labels; and a Cypher aggregation fix. The server is built from source using pure C with zero external runtime dependencies.
Key Features
Pros & Cons
- Preserves call relationships during incremental re-indexing
- Integrates multiple upstream bug fixes and improvements ahead of merge
- Provides agent-native explore tool for comprehensive code context (blast radius, neighbors, source)
- Accurate Swift support with distinct struct/enum/actor labels and enum case extraction
- Zero external dependencies; pure C for performance
- Open source under MIT license
- No prebuilt binaries; must build from source
- Language support primarily for Swift and likely C/C++ based codebases
- Requires manual setup and compilation