# MemoryPilot [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Soflutionltd/MemoryPilot  
**GitHub Stars:** 18  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/memorypilot

## Description
The most advanced AI memory server in the world. Hybrid search, Temporal Knowledge Graph, transformer embeddings, AAAK compression (3x token savings) — pure Rust, single binary, zero dependencies.

## Tools
Capabilities this server exposes over MCP:

- **recall** — Start here. Loads all context in one shot: project memories, scoped thread/window memories, preferences, critical facts, patterns, decisions, global prompt. Supports `mode = safe/default/full`, `compact = true` for AAAK compression.
- **get_project_brain** — Instant project summary (<1500 tokens): tech stack, architecture, bugs, recent changes, components, team members. Supports `compact = true`.
- **search_memory** — Hybrid BM25 + jina RRF search, boosted by importance, graph links, and file watcher context. Batched triple scoring.
- **get_file_context** — Memories related to recently modified files in working directory.
- **find_conversation** — Finds a past conversation from a vague description, across Cursor (every window, sub-agents folded into their conversation), Claude Code and Claude desktop agent sessions. Exact words and stems, misheard words (one or two letters off, split names glued back), and meaning, fused per conversation. Al…
- **read_conversation** — Reads a found conversation, paginated, optionally centred on the matching message.
- **search_in_conversation** — Searches inside one conversation and returns only the matching messages (id, role, date, snippet), so a conversation of thousands of messages is searched instead of paged through.
- **log_external_request** — Records what was sent to a third party (forum post, bug report, support ticket, e-mail): destination, subject, URL, date, status and last reply. Updates a request when an answer arrives.
- **pending_external** — Lists the requests still waiting for an answer, the longest-waiting first. They also open the recall of their project.
- **add_memory** — Store with lazy embedding, auto-dedup (hash exact + Jaccard 85%), auto entity extraction, auto graph linking, **auto-classification** (kind, importance, TTL inferred from content).
- **add_memories** — Bulk add multiple memories in one call with per-item dedup.
- **add_transcript** — Store a long transcript as chunked archive, auto-distill structured memories (`decision`, `preference`, `todo`, `bug`, `milestone`, `problem`, `note`).
- **ingest_session** — Ingest local Claude/Cursor/session transcripts into the same MemoryPilot MCP. Defaults to `distill_only=true`, so only high-value memories are indexed.
- **get_memory** — Retrieve by ID.
- **update_memory** — Update content, kind, tags, importance, TTL. Skips re-embedding if content unchanged (hash check).
- **delete_memory** — Delete by ID (cascades to entities and links).
- **list_memories** — List with project/kind filters and pagination.
- **Codex** — ~/.agents/skills/
- **Cursor** — ~/.agents/skills/`, or none when Claude Code is wired (Cursor reads `~/.claude/skills`)
- **OpenCode** — ~/.agents/skills/
- **Cline** — ~/.agents/skills/
- **Windsurf** — ~/.agents/skills/

## 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/Soflutionltd/MemoryPilot), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install Soflutionltd/memorypilot/memorypilot
```

2. Install:

```sh
git clone https://github.com/Soflutionltd/MemoryPilot.git
```

3. Install:

```sh
cargo build --release --features http
```

4. Install:

```sh
./install.sh
```

## Documentation

## What MemoryPilot does

MemoryPilot provides a local memory layer for AI agents through MCP. It stores project knowledge, preferences, decisions, bugs, todos, milestones, notes, and other durable context, then makes that information available through retrieval and management tools.

The server also works with conversation history from Cursor, Claude Code, and Claude desktop agent sessions. Agents can locate a past conversation from a loose description, read it page by page, or search within it for matching messages. External interactions such as forum posts, bug reports, support tickets, and email can be logged and tracked until a reply arrives.

## How it works

MemoryPilot is implemented in Rust and distributed as a single binary with no runtime dependencies. Its search combines BM25 with jina embedding retrieval and reciprocal-rank fusion, then uses signals such as importance, graph relationships, and file-watcher context to improve ordering. A temporal knowledge graph connects related entities and memories.

Adding a memory can trigger exact and similarity-based deduplication, entity extraction, graph linking, and inferred classification. Classification includes the memory kind, importance, and time-to-live. Long transcripts can be chunked and distilled into structured memory types such as decisions, preferences, todos, bugs, milestones, problems, and notes.

Recall-oriented responses can use AAAK compression and memory capsules to reduce the amount of context passed to an agent. The `recall` tool can load project memories, scoped thread or window memories, preferences, critical facts, patterns, decisions, and a global prompt in one request. Its safe, default, and full modes control the recall scope.

## Setup and configuration

MemoryPilot is intended for local MCP use and can be installed as a single binary. The project describes one-line installation for Cursor, Claude Desktop, VS Code, Windsurf, Claude Code, Codex, and ChatGPT. Skill files are associated with `~/.agents/skills/` for Codex, Cursor, OpenCode, Cline, and Windsurf; Cursor can also read `~/.claude/skills` when Claude Code is wired.

The server is designed to work without API calls and does not require a separate runtime dependency. Search reranking can be disabled with `MEMORYPILOT_CROSS_RERANK=off`.

## Tools and capabilities

- `recall` loads broad project and session context, with optional compact output.
- `get_project_brain` returns a short project summary covering the stack, architecture, bugs, changes, components, and team members.
- `search_memory` performs hybrid memory search with ranking and graph-related signals.
- `get_file_context` finds memories related to recently modified files.
- `find_conversation`, `read_conversation`, and `search_in_conversation` retrieve and inspect stored sessions.
- `add_memory`, `add_memories`, and `add_transcript` store individual memories, batches, or chunked transcripts.
- `ingest_session` imports local Claude, Cursor, or session transcripts, defaulting to high-value distillation.
- `get_memory`, `update_memory`, `delete_memory`, and `list_memories` manage stored records.
- `log_external_request` and `pending_external` track outbound requests and outstanding replies.

## Limitations and notes

MemoryPilot's benchmark figures describe retrieval or answer-evaluation setups rather than a universal guarantee of answer quality. Search and compression behavior can vary with the corpus, selected recall mode, reranking configuration, and amount of context requested. The server is focused on local, persistent agent memory rather than a hosted memory service.

_Full upstream README: https://allmcps.com/mcp/memorypilot/readme_

