osfeed.dev
Projects/DeusData / codebase-memory-mcp

codebase-memory-mcp

A local code knowledge graph for coding agents

Get it on GitHub
Unclaimed

Written by @iluxav from the project's code and releases, not by its maintainers. Last updated for v0.12.1 (2026-10-16), so it may lag behind newer releases.

Are you @DeusData?Claim it, and your coding agent keeps it current with each release

Search code, trace calls and dependencies, inspect architecture, and assess the impact of edits through MCP tools or a CLI.

What you can do with codebase-memory-mcp

Index a local repository and reuse its code structure across sessions.

Present at v0.0.1
Good to know

Static extraction can miss dynamic or unsupported constructs. Coverage tools report gaps; graphs larger than the memory budget fail without replacing the previous index.

Share
Wrong?

Trace callers, callees and cross-file dependencies of a function.

Present at v0.0.1
Good to know

Resolution depends on the language and source patterns the analyzer recognizes.

Share
Wrong?

Find functions and classes by name, file, relationship or caller count.

Present at v0.0.1
Good to know

Zero callers is a static-analysis signal; it does not establish that code is unused at runtime.

Share
Wrong?

Query code relationships with read-only Cypher-style expressions.

Present at v0.0.1
Good to know

Supports a subset of Cypher; it is not a general Neo4j server.

Share
Wrong?

Map staged, unstaged or branch changes to affected symbols and callers.

Since v0.4.10
Good to know

Requires Git on PATH and an indexed graph; risk labels are based on graph distance.

Share
Wrong?

Inspect languages, packages, routes, entry points and clusters in a codebase overview.

Since v0.4.10
Good to know

Layer classification is heuristic; the graph reflects static extraction.

Share
Wrong?
Show all 37

Save and retrieve architecture decisions across coding sessions.

Since v0.4.10
Good to know

Section names match exactly, including case. Cached reads during another process's reindex may briefly return the older ADR.

Share
Wrong?

Run code exploration tools directly from the command line.

Since v0.4.10
Good to know

CLI calls are single operations and do not start a watcher in this version.

Share
Wrong?

Refresh the code graph automatically as indexed files change.

Since v0.4.10
Good to know

Only an open MCP session's own project is watched. Non-Git polling is opt-in, scans the whole tree and reindexes on the first poll; restart the daemon after changing watch_non_git.

Share
Wrong?

Register the code exploration tools with supported coding clients.

Since v0.4.10
Good to know

Automatic setup depends on the detected client and its supported configuration.

Share
Wrong?

Index and explore code on Windows.

Since v0.4.10
Good to know

Requires a supported Windows binary and writable installation/configuration paths that pass ownership checks.

Share
Wrong?

Explore source, dependencies, architecture and index coverage in the local browser interface.

Since v0.5.7
Good to know

CBM Lens is beta and loopback-only; source files remain read-only. Graph views can omit relationships due to extraction or display limits.

Share
Wrong?

Index a newly opened project automatically when an MCP session starts.

Since v0.5.7
Good to know

Opt in with `config set auto_index true`; the project root comes from the session working directory.

Share
Wrong?

Trace deployment and configuration relationships from infrastructure definitions to the programs they run.

Since v0.5.7
Good to know

Static recognized references only; container environment values are omitted. Chart image links require literal image names, and subchart objects belong to their own chart.

Share
Wrong?

Choose which language parser handles a custom file extension.

Since v0.5.7
Good to know

Set `extra_extensions` in project or global configuration; project mappings take priority.

Share
Wrong?

Find code using semantic keywords or full-text ranking.

Since v0.8.1
Good to know

`semantic_query` is an array parameter of `search_graph`, not a separate tool; embeddings run locally.

Share
Wrong?

Find structurally similar functions and semantic relationships in the graph.

Since v0.8.1
Good to know

Similarity edges are heuristic; semantic relationships are restricted to the same language.

Share
Wrong?

Bootstrap a teammate's local graph from a compressed snapshot stored with the repository.

Since v0.8.1
Good to know

Uses `.codebase-memory/graph.db.zst`; importing verifies integrity and then indexes local changes.

Share
Wrong?

Inspect argument-to-parameter data flow and publish-subscribe channel relationships.

Since v0.8.1
Good to know

Covers recognized static patterns; dynamic channel names may remain unresolved.

Share
Wrong?

Find functions with high complexity, deep loops or scan patterns through graph queries.

Since v0.8.1
Good to know

Metrics describe extracted source structure rather than measured runtime performance.

Share
Wrong?

Build and run local code exploration on BSD systems.

Since v0.8.1
Good to know

BSD support is documented in 0.7.0; later releases repair additional runtime and platform integration paths.

Share
Wrong?

Run code indexing and exploration natively on Windows ARM64.

Since v0.9.0
Good to know

Requires the Windows ARM64 release binary.

Share
Wrong?

Inspect which files and source ranges were skipped or only partially indexed.

Since v0.10.8
Good to know

Coverage describes extraction gaps, not a guarantee that all relationships are resolved correctly.

Share
Wrong?

Share background indexing, watchers and the graph UI across coding-client sessions.

Since v0.10.8
Good to know

Active processes must agree on version, build, coordination ABI and canonical cache root.

Share
Wrong?

Distinguish callable references from actual calls and inspect resolution evidence.

Since v0.10.8
Good to know

`CALL_REFERENCE` requires a uniquely proven callable target; ambiguous uses remain `USAGE`.

Share
Wrong?

Choose which detected coding clients receive tool configuration.

Since v0.10.8
Good to know

Use `install --clients=claude,codex`; setup still requires a supported detected or explicitly configured client.

Share
Wrong?

List declarations in source order for one exact repository-relative file.

Since v0.11.0
Good to know

Requires project and exact repository-relative file path; label filtering and pages up to 200 rows. Documentation candidates are uncertain leads, not graph edges.

Share
Wrong?

Compare added and removed node and edge identities between two indexed snapshots.

Since v0.11.0
Good to know

`compare_graphs` reports identity additions/removals, with per-set limits and a 512 KiB output budget; both projects must already be indexed.

Share
Wrong?

Trace table, view and dbt model dependencies through SQL queries.

Since v0.11.0
Good to know

Lineage comes from recognized FROM/JOIN and Jinja-templated SQL patterns.

Share
Wrong?

Explore diagram elements and API specifications alongside source relationships.

Since v0.12.1
Good to know

Supports recognized Mermaid, PlantUML, Graphviz, D2, draw.io and Excalidraw formats. Diagram-to-code and OpenAPI operationId links remain excluded.

Share
Wrong?

Identify tests reachable from a code change and inspect why they were selected.

Since v0.12.1
Good to know

The test model currently knows only this project's C runner; other runners or incomplete evidence return run everything. Requires Git and an indexed graph.

Share
Wrong?

Compare observed runtime call paths with statically extracted relationships.

Since v0.12.1
Good to know

Trace producers supply qualified names and run labels; unresolved names are reported. Static paths alone do not establish runtime execution.

Share
Wrong?

Ask questions about selected code using a model running in your browser.

ExperimentalSince v0.12.1
Good to know

Lens Beta requires WebGPU with shader-f16 and an opt-in model download from Hugging Face; graph answers and model text are distinguished.

Share
Wrong?

Before you upgrade codebase-memory-mcp

Newest first
Show 70 older
Removed 1

Read files and list directories through MCP tools.

Requires an indexed project.

Removedv0.0.1 → v0.4.10
codebase-memory-mcp release history 8
v0.12.1
with v0.12.0

Navigate from documentation to the code it describes and back through the local graph.

Details

Documentation, diagrams and OpenAPI specifications join the graph; CBM Lens replaces the previous browser UI. `detect_changes(scope="tests")` adds conservative test selection, while `trace_path` follows infrastructure and v0.12.1 repairs package installs and links Helm chart contents.

Also: CBM Lens Beta, test-impact selection, deployment traversal, runtime call evidence and repaired package installs; rebuild and saved-query changes require attention.

Use v0.12.1; npm, PyPI and Go installs of v0.12.0 were broken. Expect one full rebuild per existing project and rerun cross-repository linking. Lens is beta; optional browser models require WebGPU and a download.

Improved: Explore source, dependencies, architecture and inde…Added: Ask questions about selected code using a model run…Added: Navigate between documentation sections and the cod…Added: Explore diagram elements and API specifications alo…Added: Identify tests reachable from a code change and ins…Added: Compare observed runtime call paths with statically…Improved: Trace deployment and configuration relationships fr…Improved: Trace deployment and configuration relationships fr…Action required: Index a local repository and reuse its code structu…Action required: Explore dependency relationships across multiple in…Improved: Index a local repository and reuse its code structu…Behavior changed: Index a local repository and reuse its code structu…Behavior changed: Index a local repository and reuse its code structu…Now works: Index a local repository and reuse its code structu…Behavior changed: Query code relationships with read-only Cypher-styl…Action required: Query code relationships with read-only Cypher-styl…Action required: Query code relationships with read-only Cypher-styl…Now works: Query code relationships with read-only Cypher-styl…Action required: Trace deployment and configuration relationships fr…Behavior changed: Find structurally similar functions and semantic re…Now works: Trace callers, callees and cross-file dependencies…Now works: Discover HTTP routes and possible calls between ser…Improved: Inspect languages, packages, routes, entry points a…Improved: Map staged, unstaged or branch changes to affected…Behavior changed: Map staged, unstaged or branch changes to affected…Improved: Search text in indexed source files and retrieve so…Behavior changed: Search text in indexed source files and retrieve so…Now works: Find code using semantic keywords or full-text rank…Improved: List declarations in source order for one exact rep…Improved: Save and retrieve architecture decisions across cod…Improved: Refresh the code graph automatically as indexed fil…Now works: Index and explore code on Windows.Now works: Share background indexing, watchers and the graph U…Action required: Run code exploration tools directly from the comman…Behavior changed / inferred: Run code exploration tools directly from the comman…Action required: Register the code exploration tools with supported…Now works: Register the code exploration tools with supported…Now works: Register the code exploration tools with supported…Behavior changed: Register the code exploration tools with supported…

Seeded by @iluxav with Codex

Read the evidence
v0.11.0

Index large repositories within a memory budget while preserving the previous index if the new run cannot finish.

Details

Indexing spills finished work to disk and reports over-budget failure without replacing the serving index. The first run rebuilds old indexes once; compact output gains bounded semantic pagination, and new tools expose file outlines and snapshot comparisons.

Also: File outlines, graph comparisons, SQL/dbt lineage, broader client support and explicit output-contract changes.

v0.11.0. Allow time for one full reindex per old index; ADRs and metadata are preserved. Native binaries are available for Linux, macOS and Windows.

Behavior changed: Index a local repository and reuse its code structu…Action required: Index a local repository and reuse its code structu…Action required: Run code exploration tools directly from the comman…Behavior changed: Run code exploration tools directly from the comman…Behavior changed: Find functions and classes by name, file, relations…Action required / inferred: Find code using semantic keywords or full-text rank…Added: List declarations in source order for one exact rep…Added: Compare added and removed node and edge identities…Added: Trace table, view and dbt model dependencies throug…Behavior changed: Save and retrieve architecture decisions across cod…Behavior changed: Refresh the code graph automatically as indexed fil…Now works: Index and explore code on Windows.Now works: Share background indexing, watchers and the graph U…Now works: Register the code exploration tools with supported…Behavior changed: Register the code exploration tools with supported…Now works: Share background indexing, watchers and the graph U…Behavior changed: Index a local repository and reuse its code structu…Now works: Index a local repository and reuse its code structu…Behavior changed: Find code using semantic keywords or full-text rank…Behavior changed: Query code relationships with read-only Cypher-styl…Now works: Build and run local code exploration on BSD systems.Behavior changed: Register the code exploration tools with supported…Now works: Register the code exploration tools with supported…Now works: Trace callers, callees and cross-file dependencies…Now works: Search text in indexed source files and retrieve so…Now works: Inspect which files and source ranges were skipped…Now works: Bootstrap a teammate's local graph from a compresse…Now works: Explore source, dependencies, architecture and inde…Behavior changed / inferred: Inspect languages, packages, routes, entry points a…

Seeded by @iluxav with Codex

Read the evidence
v0.10.8
with v0.10.0, v0.10.1, v0.10.2, v0.10.3, v0.10.4, v0.10.5, v0.10.6

Check which files and code ranges are missing from your index.

Details

`check_index_coverage` and the UI expose missed code; clients share a coordination daemon. The grouped fixes restore MCP output, concurrent indexing, legacy upgrades and configuration repair after the initial 0.10.0 release.

Also: Coordinated sessions, repaired MCP replies and installers, and explicit upgrade and query-output changes.

Use v0.10.8 for this series. v0.10.0 MCP replies were broken; 0.10.7 npm/PyPI packages were deprecated or yanked because their binary URLs were wrong.

Added / inferred: Inspect which files and source ranges were skipped…Added: Share background indexing, watchers and the graph U…Added: Distinguish callable references from actual calls a…Added: Choose which detected coding clients receive tool c…Action required: Query code relationships with read-only Cypher-styl…Action required: Share background indexing, watchers and the graph U…Action required: Register the code exploration tools with supported…Behavior changed: Register the code exploration tools with supported…Behavior changed: Explore source, dependencies, architecture and inde…Behavior changed: Run code exploration tools directly from the comman…Now works: Register the code exploration tools with supported…Behavior changedBehavior changed: Register the code exploration tools with supported…Now works: Register the code exploration tools with supported…Now works: Index and explore code on Windows.Now works: Share background indexing, watchers and the graph U…Now works: Index a local repository and reuse its code structu…Now works: Index a local repository and reuse its code structu…Now works: Query code relationships with read-only Cypher-styl…Now works: Trace callers, callees and cross-file dependencies…Now works: Explore dependency relationships across multiple in…Now works: Inspect which files and source ranges were skipped…Now works: Search text in indexed source files and retrieve so…Behavior changed: Index a local repository and reuse its code structu…Behavior changed: Run code exploration tools directly from the comman…Now works: Build and run local code exploration on BSD systems.Now works: Register the code exploration tools with supported…Behavior changed: Register the code exploration tools with supported…Now works: Register the code exploration tools with supported…Behavior changed: Trace callers, callees and cross-file dependencies…Action required: Register the code exploration tools with supported…Behavior changed: Register the code exploration tools with supported…

Seeded by @iluxav with Codex

Read the evidence
v0.9.0

Finish indexing a repository even when an individual source file crashes or hangs the analyzer.

Details

A supervisor quarantines failing files and reports them in `skipped[]` and a log. The UI adds source previews and dead-code filtering, while CLI tools accept flags, stdin and `--args-file`.

Also: Windows ARM64, richer graph navigation, script-friendly CLI arguments and session watcher controls.

v0.9.0, including native Windows ARM64 binaries. Partial indexes expose skipped files; extraction remains static analysis.

Now works: Index a local repository and reuse its code structu…Behavior changed: Index a local repository and reuse its code structu…Now works: Save and retrieve architecture decisions across cod…Added: Run code indexing and exploration natively on Windo…Now works: Index and explore code on Windows.Behavior changed: Explore source, dependencies, architecture and inde…Behavior changed: Run code exploration tools directly from the comman…Now works: Trace callers, callees and cross-file dependencies…Now works: Query code relationships with read-only Cypher-styl…Behavior changed: Refresh the code graph automatically as indexed fil…Now works: Search text in indexed source files and retrieve so…Now works: Discover HTTP routes and possible calls between ser…

Seeded by @iluxav with Codex

Read the evidence
v0.8.1
with 0.6.0, 0.6.1, 0.7.0, 0.8.0

Find code by meaning as well as by names and literal text.

Details

The 0.6–0.8 release pages, published together on June 12, add semantic and BM25 search, graph artifacts, cross-repository relationships and expanded query syntax. v0.8.1 removes Nim parsing.

Also: Shared graph snapshots, cross-repository links, more language coverage and type-aware call resolution.

v0.8.1; older 0.6.0–0.8.0 release pages are archived without binaries. Native and portable Linux distributions are documented, alongside npm and PyPI installation.

Added: Find code using semantic keywords or full-text rank…Added: Find structurally similar functions and semantic re…Added: Bootstrap a teammate's local graph from a compresse…Added: Explore dependency relationships across multiple in…Added / inferred: Inspect argument-to-parameter data flow and publish…Added / inferred: Find functions with high complexity, deep loops or…Added: Build and run local code exploration on BSD systems.Behavior changed: Index a local repository and reuse its code structu…Action required: Index a local repository and reuse its code structu…Behavior changed: Trace callers, callees and cross-file dependencies…Behavior changed: Index a local repository and reuse its code structu…Now works: Find functions and classes by name, file, relations…Behavior changed: Find functions and classes by name, file, relations…Now works: Map staged, unstaged or branch changes to affected…Now works: Inspect languages, packages, routes, entry points a…Behavior changed: Inspect languages, packages, routes, entry points a…Behavior changed: Query code relationships with read-only Cypher-styl…Behavior changed: Search text in indexed source files and retrieve so…Now works: Index and explore code on Windows.Now works: Index a local repository and reuse its code structu…Behavior changed: Index a local repository and reuse its code structu…Now works: Index a local repository and reuse its code structu…Behavior changed: Trace deployment and configuration relationships fr…Behavior changed: Discover HTTP routes and possible calls between ser…Behavior changed: Register the code exploration tools with supported…Behavior changed / inferred: Trace callers, callees and cross-file dependencies…Behavior changed: Bootstrap a teammate's local graph from a compresse…

Seeded by @iluxav with Codex

Read the evidence
v0.5.7
with v0.5.0, v0.5.1, v0.5.2, v0.5.3, v0.5.5, v0.5.6

Explore your code graph in a local interactive 3D view.

Details

The UI variant adds `--ui=true`; `auto_index` indexes a detected session root. `search_code` gains compact, full and file-list modes, and `.codebase-memory.json` supports extension mappings.

Also: Automatic session indexing, Kubernetes relationships, custom file extensions and repaired MCP connections.

Through v0.5.7; choose the UI binary for visualization at localhost:9749. Source builds use C/C++ compilers and zlib instead of Go.

Added: Explore source, dependencies, architecture and inde…Added: Index a newly opened project automatically when an…Added: Trace deployment and configuration relationships fr…Added: Choose which language parser handles a custom file…Action requiredBehavior changed: Index a local repository and reuse its code structu…Now works: Register the code exploration tools with supported…Behavior changed: Register the code exploration tools with supported…Behavior changed: Search text in indexed source files and retrieve so…Now works: Index a local repository and reuse its code structu…Now works: Map staged, unstaged or branch changes to affected…Now works: Index and explore code on Windows.Now works: Trace callers, callees and cross-file dependencies…Behavior changed: Refresh the code graph automatically as indexed fil…

Seeded by @iluxav with Codex

Read the evidence
v0.4.10
with v0.0.2, v0.1.0, v0.1.1, v0.1.2, v0.1.3, v0.1.4, v0.2.0, v0.2.1, v0.3.0, v0.3.1, v0.3.2, v0.3.3, v0.3.4, v0.4.0, v0.4.1, v0.4.2, v0.4.4, v0.4.5, v0.4.6, v0.4.7, v0.4.8, v0.4.9

Map your Git changes to affected symbols and callers.

Details

The grouped releases add `detect_changes`, `get_architecture`, `manage_adr`, a CLI and automatic reindexing. They also change search and watcher defaults and remove the file-reading and directory-listing tools.

Also: Architecture summaries, persistent decisions, CLI access, Windows support and broader language coverage.

Through v0.4.10. Git is required for change analysis; Go source builds now require Go 1.26 and a C compiler.

Added: Map staged, unstaged or branch changes to affected…Added: Inspect languages, packages, routes, entry points a…Added: Save and retrieve architecture decisions across cod…Added: Run code exploration tools directly from the comman…Added: Refresh the code graph automatically as indexed fil…Added: Register the code exploration tools with supported…Added: Index and explore code on Windows.Behavior changed: Index a local repository and reuse its code structu…Now works: Trace callers, callees and cross-file dependencies…Behavior changed: Find functions and classes by name, file, relations…Removed: Read files and list directories through MCP tools.Behavior changed: Index a local repository and reuse its code structu…Now works: Query code relationships with read-only Cypher-styl…Behavior changed: Refresh the code graph automatically as indexed fil…Behavior changed: Index a local repository and reuse its code structu…Action required / inferredNow works: Index a local repository and reuse its code structu…Action required: Register the code exploration tools with supported…

Seeded by @iluxav with Codex

Read the evidence
v0.0.1
Starting point

Trace callers and dependencies in a persistent local index of your code.

Details

The initial tagged version indexes source into a local graph and exposes structural search, call tracing, source snippets and read-only Cypher queries through MCP.

v0.0.1 baseline before the first listed GitHub release. Source builds require Go 1.23+, a C compiler and Git; Windows users use WSL2.

Added: Index a local repository and reuse its code structu…Added: Trace callers, callees and cross-file dependencies…Added / inferred: Find functions and classes by name, file, relations…Added: Query code relationships with read-only Cypher-styl…Added: Search text in indexed source files and retrieve so…Added / inferred: Discover HTTP routes and possible calls between ser…Added: Read files and list directories through MCP tools.

Seeded by @iluxav with Codex

Read the evidence

Share

LinkedIn takes the link and its card only; write your text there.

X LinkedIn Reddit Hacker News Bluesky