The best codebase-memory-mcp alternatives
8 tools that do a similar job to codebase-memory-mcp, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.
You're replacing
codebase-memory-mcpA local tool that maps your code, docs and infrastructure into a graph so AI coding agents can query it.
- 1

Trail-code
Open source · MIT · ★ 11k
A code map and shared learnings that help coding agents like Claude Code find the right files faster.
Best for: Developers who use Claude Code, Cursor, Codex or similar agents on a medium or large repository; Teams who want agents to remember past decisions about the same code
- 2

code-review-graph
Open source · MIT · ★ 32.6k
Builds a local map of your codebase so AI coding tools read only the files a change touches.
Best for: Developers who use an MCP-compatible AI coding assistant on a large repository; Teams that want code reviews to focus on the files a change affects
- 3

Understand Anything
Open source · MIT · ★ 89.7k
Turns a codebase, wiki, or docs into an explorable graph you can search and ask questions about.
Best for: Developers joining a new team who need to learn an unfamiliar codebase; People who want a visual map of how files and modules depend on each other
- 4

9Router
Open source · MIT · ★ 31.8k
A local router that lets AI coding tools use multiple model providers, with fallback when limits hit.
Best for: Developers who use AI coding tools and want to reduce spending; People with several AI subscriptions who want to use up their quota
- 5

planning-with-files
Open source · MIT · ★ 27.8k
A file-based planning skill that keeps AI coding agents on track across resets and crashes.
Best for: Developers running long multi-step tasks in Claude Code or Codex CLI; People who lose agent progress when the context window fills or is cleared
- 6

wshobson/agents
Open source · MIT · ★ 42.1k
A collection of plugins, agents, skills, and commands that run across several AI coding tools.
Best for: Developers who already use one of the listed AI coding tools and want ready-made specialist agents; Python or JavaScript/TypeScript developers looking for testing, packaging, or project setup guidance
- 7

CodeBurn
Open source · MIT · ★ 11.7k
Local tool that tracks what your AI coding tools spend on tokens, broken down by model, project, and task.
Best for: Developers who use several AI coding tools and want one view of spending; People on a Claude subscription who want to see how much of their plan they have used
- 8

ECC
Open source · MIT · ★ 295k
A set of skills, memory, and security rules that makes AI coding agents work more carefully.
Best for: Developers who already use Claude Code and want a shared workflow for planning, testing and review; Teams that want consistent agent behavior across several coding tools
How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to codebase-memory-mcp. We don't take payment for placement.