codebase-memory-mcp
codebase-memory-mcp is an MCP server that builds a local map of a code repository so AI coding agents can find and trace code faster.
What it is good for
- Finding where a feature lives in a large codebase
- Tracing which code a change could affect
- Giving a coding agent structural context about a project
- Following calls between code, docs, and infrastructure files
At a glance
- Who it is for
- Setup
- Guided command-line setup
Level 4 of 5. You copy and paste commands into a terminal by following the instructions. Comfortable territory for vibe coders.
- Cost
- Free and open source
- Type
- MCP server or connector
- Tasks
- Works with
- Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Aider
Momentum
- Rank this week
- Not ranked yet
- Best rank
- None yet
- GitHub stars
- 47,981
GitHub numbers as of Nov 2, 2026. Updated weekly.
Official links
Setup steps are on the official pages. We do not repeat them here, since they change.
Questions
- Is codebase-memory-mcp free?
- Yes. It is free and open source (MIT license).
- Do I need to know how to code to use codebase-memory-mcp?
- You do not need to write code, but setup means copying and pasting commands into a terminal by following its instructions.
- What does codebase-memory-mcp work with?
- According to its own documentation, it works with Claude Code, Codex, Cursor, Windsurf, Gemini CLI, and Aider.
- What is codebase-memory-mcp good for?
- Finding where a feature lives in a large codebase, tracing which code a change could affect, giving a coding agent structural context about a project, and following calls between code, docs, and infrastructure files.
Similar agents to codebase-memory-mcp
- GitHub MCP Server
GitHub MCP Server is a connector that lets AI tools read repositories, manage issues and pull requests, and check build runs on GitHub for developers.
- semble
Semble is a code search tool that lets coding agents pull only the relevant code snippets from a repo, for developers working with AI coding assistants.
- AOCI-CODE
AOCI-CODE is an MCP server that gives coding agents a persistent, Git-versioned map of a codebase and its database schema for developers working on large systems.
- Orca
Orca is a desktop app that runs and tracks several coding agents at once, each in its own worktree, for developers and vibe coders.
- TencentDB-Agent-Memory
TencentDB-Agent-Memory is a self-hosted memory hub that lets a team's AI agents share saved chats, skills, docs, and code context for developers.
- beads
Beads is a command-line issue tracker that gives coding agents persistent memory of tasks and project facts.