Skip to content

Codebase Memory vs khive

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

  • Codebase Memory is open source, while khive is freemium.
  • Codebase Memory is best for find callers of a function.
  • khive is best for give a research agent a graph that grows across sessions.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
khive is a freemium MCP server for knowledge and memory.
Best for
Find callers of a function
Give a research agent a graph that grows across sessions
Kind
MCP server
MCP server
Pricing
Open source
Freemium, from $8 a month
Platforms
CLI, macOS, Linux, Windows, self-hosted
API, CLI, 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
Give a research agent a graph that grows across sessions; Keep decisions and observations between coding sessions; Track agent tasks with an audit trail

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

  • Persistent memory

    Episodic and semantic memory with decay and importance scoring.

  • Typed knowledge graph

    Entities, edges and notes with traversal and shortest path.

  • Hybrid retrieval

    Full-text and vector search with reranking, plus GQL and SPARQL.

  • GTD task tracking

    Inbox, next actions, priorities and delegation with audit trails.

  • Managed endpoint

    Hosted MCP with an isolated namespace and API key.

  • Local option

    Self-hosted over stdio on SQLite, Apache-2.0.

Codebase Memory vs khive: questions

Is Codebase Memory or khive cheaper?

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

What is the difference between Codebase Memory and khive?

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