# LamantinAI/kaeru [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/LamantinAI/kaeru  
**GitHub Stars:** 97  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lamantinai-kaeru

## Description
Memory for LLM agents: a local graph where the agent itself keeps decisions, tasks, hypotheses and reasoning between sessions, and gets a summary of what is open and overdue on every return to a project. Single Rust binary with no embedding model or LLM calls inside; one daemon serves several agents at once, with an optional self-hosted cloud for teams. Works with Claude Code, Codex, Cursor, opencode and any MCP client.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/LamantinAI/kaeru), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/LamantinAI/kaeru/main/contrib/install/install.sh | bash
```

2. Install:

```sh
./contrib/offline/fetch-vendor.sh     # ~600 MB, needs network once
```

3. Install:

```sh
cargo build --release --offline -p kaeru-mcp
```

4. Start the server:

```sh
kaeru-mcp                                            # foreground, Ctrl-C to stop
```

5. Add to Claude Code:

```sh
claude mcp add --transport http kaeru http://127.0.0.1:9876/mcp
```

## Documentation

## What LamantinAI/kaeru does

LamantinAI/kaeru provides persistent memory for LLM agents through a typed property graph backed by CozoDB with the embedded RocksDB backend. It separates active working material from settled knowledge: the cognitive tier holds episodes, scratch work, drafts, hypotheses, experiments, and audit events, while the recollection tier stores ideas, outcomes, summaries, and references.

Projects are represented as initiatives within one graph substrate. A record can belong to multiple initiatives, allowing agents to reuse knowledge while still receiving project-scoped context. The system preserves assertion and retraction history, so earlier states remain inspectable after changes.

## How it works

A local daemon owns the vault and serves MCP, named HTTP operations, and the visualizer. The shared contract contains 35 named operations: 16 frequent operations, 10 local maintenance operations, and 9 optional cloud operations. MCP, HTTP, and embedded Rig integrations use the same API contract.

Retrieval is structural rather than embedding-based. Agents can use scoped name or ID lookup, literal lexical search, typed graph traversal, saved summaries, provenance, and reasoning paths. The `context` operation restores a project's working set, including open work, current role slots, reminders, claims, rules, and saved reasoning. Results are bounded and can provide continuation arguments.

`trail` records weighted or explicitly ordered reasoning routes with an agent-authored summary. `lifecycle` promotes settled material between tiers while retaining content and provenance. `reflect` reports findings about integrity, unfinished work, staleness, and sharing; the agent decides which findings to apply.

## Setup and configuration

Kaeru is distributed as a single Rust binary. The local vault uses a platform-specific default location: `$XDG_DATA_HOME/kaeru` on Linux, `~/Library/Application Support/ai.lamantin.kaeru` on macOS, and `%LOCALAPPDATA%\\ai.lamantin.kaeru` on Windows. Set `KAERU_VAULT_PATH` to choose another location.

The daemon runs automatic hygiene by default. Set `KAERU_MCP_HYGIENE_ENABLE=0` to disable it. Embedded `kaeru-rig` hygiene is opt-in through `KaeruMemory::with_hygiene()`. Set `KAERU_MCP_UPDATE_CHECK=0` to disable the daily update check.

An optional `kaeru-cloud` tier supports shared memory for trusted teams. Sharing is governed by initiative policy, permitted cloud destinations, and a deterministic secret guard.

## Tools and capabilities

- Restore project context with `context`, including open and overdue work.
- Search, read, and traverse records with scope and visibility checks.
- Record decisions, claims, hypotheses, experiments, and audit events.
- Inspect prior assertions and retractions with `history` and time-qualified reads.
- Promote settled knowledge with `lifecycle` while preserving provenance.
- Save and revisit reasoning routes with `trail`.
- Manage initiative names, membership, merges, deletions, and role slots.
- Preview or apply recall-layer maintenance through retention operations.
- Search shared memory with `cloud_recall` and withdraw records with `unshare`.
- Export vault content as an Obsidian-friendly ZIP of Markdown pages.

## Limitations and notes

Kaeru facilitates memory use but does not enforce when an agent invokes an operation. The local retrieval path has no embedding index, and the daemon makes no internal LLM calls. Automatic hygiene changes recall layers only; it does not decide broader lifecycle actions such as archiving or retiring records.

The update check sends version, platform, installation channel, and environment information to `updates.lamantin-ai.com` or a GitHub fallback, but not vault content. The service keeps daily aggregate counts. Cloud sharing is optional and requires configured sharing policies and destinations where applicable.

_Full upstream README: https://allmcps.com/mcp/lamantinai-kaeru/readme_

