Skip to content

Codebase Memory vs Lm

Codebase Memory is an open-source MCP server for knowledge and memory. Lm is an open-source MCP server for ai models and llm tooling.

  • Codebase Memory is best for find callers of a function.
  • Lm is best for offload commit messages and boilerplate.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Lm is an open-source MCP server for ai models and llm tooling.
Best for
Find callers of a function
Offload commit messages and boilerplate
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI
Runs
Locally
Locally
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 code
Offload commit messages and boilerplate; Get a second model to review a diff; Cut token cost on overnight refactors

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 Lm does

  • Model offloading

    Delegates drafting and review to a model you choose.

  • Wide endpoint support

    Works with local servers, OpenAI, LiteLLM and OpenRouter.

  • Files kept out of context

    Delegated source files bypass Claude's context window.

  • Model-aware requests

    Adjusts parameters for OpenAI reasoning models and router aliases.

  • Thinking control

    Set reasoning to auto, off or on.

  • Second-opinion reviews

    Gets another model to review your code on demand.

Codebase Memory vs Lm: questions

Is Codebase Memory or Lm cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Codebase Memory and Lm?

Codebase Memory is an open-source MCP server for knowledge and memory. Lm is an open-source MCP server for ai models and llm tooling.