Skip to content

Codebase Memory MCP

by Martin VogelConnectorWrite code

Gives your coding agent a local, searchable map of your code, docs and infrastructure

View on GitHub

About Codebase Memory MCP

Codebase Memory MCP connects your coding agent to a local knowledge graph of a project's code, docs and infrastructure, so it can search, trace calls and estimate the reach of a change.

For DevelopersA team sharing a graph baseline

Made by Martin Vogel

Martin Vogel, who runs the DeusData GitHub account, publishes it as an MIT-licensed project with releases for macOS, Linux and Windows.

Stars
★ 48k
License
MIT
Cost
Free
Level
Intermediate
Runs
Local

Screenshots

From the project's own repository · 3 images, swipe or use the arrows.

CBM Lens Explore view showing limits.c in the source reader beside its file impact summary and graph dependencies
CBM Lens architecture map of this repository's folders as nested platforms with arrows for relationships
CBM Lens Galaxy view of the code knowledge graph with two layers of dependencies around one symbol
Image: Martin Vogel (MIT). Original file

Overview

Codebase Memory MCP indexes a project into a persistent knowledge graph on your computer and offers 17 MCP tools, so your coding agent can find a feature, follow a call across services or see what a change could affect without re-reading every file. It covers code, documentation and configuration such as Docker, Kubernetes and Terraform. A one-line installer sets up the coding agents it finds, and an optional browser view called CBM Lens shows the graph. It suits developers exploring an unfamiliar repository.

Indexing and queries run locally with no hosted service or API key, which can cut repeated file reads.

Try these first

Start with the first one: it is a small task you can check easily.

  1. Index this project.First try · writes a local index

  2. Who calls [function name], and what does it call?read-only

  3. Which parts of the project could this change affect: [describe the change]?read-only

  4. Find where [feature] is implemented and list the main files.read-only

Example prompts written by Agent Flows Hub.

Capabilities

From the creator's documentation.

ToolsetWhat your agent can doAccess
Code searchFinds symbols, text and semantic matches with callers, dependencies and snippetsRead
Change impactShows which symbols and tests a change could affectRead
Docs and infrastructureLinks documentation and Docker, Kubernetes, Terraform and CI files to codeRead
Architecture decisionsReads and edits the project's architecture decision record stored with the indexRead + write
Agent setupThe installer writes client config, skills and hooks for the agents you selectRead + write
CBM LensOptional local browser view of the graph; a chat model downloads only if you enable itRead, one optional download

Good to know

You open an unfamiliar repository and need to find where a feature lives or what a change touches. The server builds a local graph of code, docs and configuration, and your agent queries it instead of reading file after file.

Limits

  • The installer writes MCP configuration, skills and, by default, hooks for the coding agents it detects; --no-hooks removes the hooks and keeps the MCP setup.
  • CBM Lens, the browser view, is an open beta (v0.0.1), and its optional local chat model downloads about 567 MB only after you enable it.

Notes by (original project name: codebase-memory-mcp), written from the creator's documentation, not from running it ourselves. codebase-memory-mcp README: quick start and tools · codebase-memory-mcp documentation

Stuck setting it up?

Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.

Get help

Other connectors

  • DaVinci Resolve MCP Lets your AI agent sort media, build timelines, grade and render in DaVinci Resolve
  • Desktop Commander MCP Lets your AI app read, edit and organize files and run commands on your computer
  • earshot Lets your coding agent hear audio and judge sound effects, music and film soundtracks
  • Exa MCP Server Lets your AI agent search the web and read pages as clean text, without an account
  • Figma MCP Server Lets your AI agent turn Figma designs into code and create designs in your Figma files
  • Firecrawl MCP Server Lets your AI agent search the web and turn pages and documents into clean, readable text

See all 57 connectors · An MCP server is missing or disconnected

GitHub