qmetrics.net

Codebase Memory

Local MCP code intelligence knowledge graph server

AI Assisted CodingSelf-hostable
Codebase Memory 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

Does the same job as

Codebase Memory doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Codebase Memory

Similar software

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

  • Agent MCP server for inspections
  • Matching CLI commands
  • Native binary provider integrations
TypeScriptLinux, macOS, Windows, CLIDetails →
★ 488.8k⟳ todayMIT
AI Assisted CodingDesktop/CLI app

Superpowers

Agent skills methodology for disciplined coding

Superpowers adds composable skills and bootstrap instructions so coding agents brainstorm specs, plan in small tasks, follow test-driven development, and review work. Plugins install into many agent marketplaces and CLIs.

  • Automatic brainstorming skill
  • Written implementation plans
  • Subagent-driven task execution
ShellDetails →
★ 332.4k⟳ 6 days agoMIT

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.1k⟳ 2 days agoMIT

OpenCode

Open source coding agent for any model

OpenCode is an open source coding agent for desktop, terminal, mobile, or SDK use with many LLM providers and built-in development and read-only planning agents

  • Desktop app with sessions and diffs
  • Terminal UI for any shell
  • Built-in build and plan agents
TypeScriptLinux, macOS, Windows, AndroidDetails →
★ 230.9k⟳ todayMIT
AI Assisted CodingDesktop/CLI app
Open Source Alternative to:Claude CodeCodiumate+5

Ponytail

Lazy senior-dev prompt skill for AI coding agents

Ponytail is a prompt skill that steers AI coding agents toward minimal, necessary code. It adds review and audit commands and optional usage metrics in supported hosts.

  • Minimal-code decision ladder for agents
  • Diff review with security and load checks
  • Whole-repository audit with ranked findings
JavaScriptWindows, CLIDetails →
★ 204.4k⟳ 12 days agoMIT
AI Assisted CodingDesktop/CLI app

CC Switch

Cross-platform desktop manager for AI coding agent tooling

CC Switch is a desktop application that switches API providers for Claude Code, Codex, OpenCode, and related coding tools. It centralizes MCP, Skills, and prompt configuration without hand-editing JSON, TOML, or YAML.

  • One-click API provider switching
  • Unified MCP server management
  • Skills and prompt configuration
RustLinux, macOS, WindowsDetails →
★ 159.1k⟳ todayMIT
AI Assisted CodingDesktop/CLI app