Codebase Memory vs Lugh
Codebase Memory is an open-source MCP server for knowledge and memory. Lugh is an open-source MCP server for ai models and llm tooling.
- Codebase Memory is best for find callers of a function.
- Lugh is best for preview what an agent would do before it acts.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.Lugh is an open-source MCP server for ai models and llm tooling.
- Best for
- Find callers of a functionPreview what an agent would do before it acts
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, Web
- Runs
- LocallyLocally
- GitHub stars
- 48.7K
- Last commit
- Nov 2026
- License
- MIT
- Open source
- Good for
- Find callers of a function; Assess the impact of a diff; Link documentation to codePreview what an agent would do before it acts; Write approval rules for spend or delete actions; Test an agent program with every approval declined
What Codebase Memory does
Code knowledge graph
Persistent graph of symbols, calls and dependencies.
Multiple search modes
Structural, full-text and local semantic search.
Documentation links
Indexes Markdown, reStructuredText, AsciiDoc and ADRs.
Infrastructure tracing
Connects Docker, Kubernetes, Terraform and CI to source.
Change impact
Maps a diff to affected symbols and related tests.
Native CLI
Query the same graph from the command line.
What Lugh does
Typed actions
Every action is read, write, send, submit, spend, delete or execute.
Policy gate
Declared policy decides what needs approval.
Budgets
Programs set limits on what an agent may use.
Sandboxed dry runs
Simulated files, APIs and shell with real checks.
Test blocks
Run tests and decline approvals to see outcomes.
Browser playground
Try programs without installing.
Codebase Memory vs Lugh: questions
Is Codebase Memory or Lugh cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and Lugh?
Codebase Memory is an open-source MCP server for knowledge and memory. Lugh is an open-source MCP server for ai models and llm tooling.
