qmetrics.net

codebase-memory-mcp

Local MCP code intelligence knowledge graph server

codebase-memory-mcp screenshot

Codebase Memory indexes repositories into a persistent local graph and exposes it through MCP tools and a CLI. Optional CBM Lens UI explores calls, docs, and infrastructure links on your machine.

Overview

Codebase Memory (CBM) is an MCP server that builds a local knowledge graph connecting source code, documentation, configuration, and infrastructure definitions. Coding agents query symbols, call paths, dependencies, and evidence snippets instead of repeatedly opening whole files.

The native backend ships many MCP tools, parses multiple languages with bundled grammars, and adds hybrid LSP type resolution where supported. Indexes stay on disk between sessions; graph work does not require a hosted API or API key. An installer can wire MCP settings, skills, agent profiles, and hooks into dozens of editor and agent clients.

Beyond code, CBM can index Markdown or PDF sections, architecture decision records, and relationships from Docker, Kubernetes, Helm, Terraform-family configs, Ansible, Make, and CI files. Experimental Smart CI combines static reachability with per-test coverage hints for some C/C++ harnesses to narrow test runs.

Standard releases include the optional CBM Lens companion for maps, Galaxy 3D graph views, IDE-style source reading, and local chat about selected code. Releases target macOS, Linux, and Windows with a native runtime that does not require Docker for core use.

Key features

  • Seventeen MCP graph query tools
  • Persistent local index and SQLite storage
  • Tree-sitter parsing and hybrid LSP types
  • Infrastructure and docs linked to code
  • Installer hooks for many coding agents
  • Native CLI alongside MCP access
  • Optional CBM Lens visual explorer
  • Cross-repo and Cypher graph queries

Use cases

  • Giving agents structural repo context
  • Tracing callers across services and configs
  • Assessing blast radius before a change

Tags

Similar software

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Understand Anything

Interactive codebase knowledge graph for AI assistants

A multi-platform plugin that scans a project, builds a knowledge graph of structure and dependencies, and opens a searchable web dashboard. It supports domain views, guided tours, and diff impact analysis.

★ 94.7k⟳ 3 days agoMIT

Open Code Review

CLI agent for precise LLM-powered code review

Open Code Review reads Git diffs, applies deterministic review pipelines, and posts line-accurate comments via a tool-using LLM agent.

★ 56.9k⟳ 2 days agoApache-2.0
Open Source Alternative to:Greptile

code-review-graph

Local code graph for MCP-assisted reviews

code-review-graph indexes repositories into a SQLite knowledge graph and serves blast-radius context to AI coding tools over MCP. Incremental updates keep the map current after edits.

★ 33k⟳ 15 days agoMIT

rust-analyzer

Rust language server for editor tooling

A language server that adds IDE-style features when you write Rust. It works with any editor that speaks the Language Server Protocol.

★ 17k⟳ yesterdayApache-2.0

IDA Pro MCP

MCP bridge between IDA Pro and language model clients

IDA Pro MCP exposes disassembly, decompilation, and IDB operations to MCP-compatible AI clients. It supports GUI plugins, stdio servers, and headless idalib workers with IDA Pro 8.3+.

★ 13.6k⟳ 16 days agoMIT