Skip to content

Codebase Memory vs Lochless

Codebase Memory is an open-source MCP server for knowledge and memory. Lochless is a freemium MCP server for knowledge and memory.

  • Codebase Memory is open source, while Lochless is freemium.
  • Codebase Memory is open source; Lochless is not.
  • Codebase Memory is best for find callers of a function.
  • Lochless is best for find every support ticket that mentions refunds in a month.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Lochless is a freemium MCP server for knowledge and memory.
Best for
Find callers of a function
Find every support ticket that mentions refunds in a month
Kind
MCP server
MCP server
Pricing
Open source
Freemium
Platforms
CLI, macOS, Linux, Windows, self-hosted
API, Web, self-hosted
Runs
Locally
Remotely
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
Find every support ticket that mentions refunds in a month; Pull all clauses on a topic from a set of contracts; Give an agent a searchable archive without running a vector database

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

  • Exhaustive retrieval

    Returns every relevant document in scope rather than a fixed top results list.

  • Cited answers

    The ask call writes a short answer that cites its evidence inline.

  • Read limits and dry runs

    A dollar read limit and a free dry run show coverage and cost first.

  • Metadata and date filters

    Narrow queries by time range or exact-match metadata.

  • Self-hosting option

    Teams can run it in their own AWS or GCP account on an annual plan.

Codebase Memory vs Lochless: questions

Is Codebase Memory or Lochless cheaper?

Codebase Memory is the cheaper option: it is open source.

What is the difference between Codebase Memory and Lochless?

Codebase Memory is an open-source MCP server for knowledge and memory. Lochless is a freemium MCP server for knowledge and memory. Codebase Memory is open source, while Lochless is freemium. Codebase Memory is open source; Lochless is not.