Codebase Memory

Local MCP server that turns your codebase into a queryable knowledge graph

Visit website

Overview

Your codebase knows how everything connects — but your AI assistant only sees the file in front of it, so the connections live in your head instead.

Codebase Memory turns the codebase into something an assistant can query. This local, open-source MCP server connects code, documentation and infrastructure into a persistent knowledge graph for AI coding assistants.

What it provides

  • A persistent knowledge graph linking code, docs and infrastructure
  • 17 MCP tools for assistants to query it
  • A CLI for working with the graph directly
  • The CBM Lens view for seeing the codebase's structure
  • Change-aware test selection, so tests follow what changed

How it runs

Everything runs locally as an MCP server. The graph persists, so the assistant's understanding of the project does not reset between sessions.

Who it's for

Developers whose projects have outgrown what fits in a prompt — anyone who wants their coding assistant to answer from the whole codebase, not just the open file.

  • MCP server that lets AI assistants control Home Assistant

    Mcp Servers Tool Connectors
  • Open-source, self-hostable AI security operations center

    Mcp Servers Tool Connectors
  • Self-hostable personal AI assistant in a single binary

    Mcp Servers Tool Connectors