# AliceLJY/recallnest [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/AliceLJY/recallnest  
**GitHub Stars:** 15  
**npm Downloads (last month):** 365  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/aliceljy-recallnest

## Description
Persistent memory MCP server for AI coding agents (Claude Code, Codex, Gemini CLI). Hybrid retrieval (vector + BM25), cross-encoder reranking, knowledge graph with PPR traversal, session checkpoint/resume, and multi-scope isolation. Local-first with LanceDB + SQLite, zero external dependencies.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "recallnest": {
    "command": "npx",
    "args": ["-y","recallnest"]
  }
}
```

## Documentation

## What AliceLJY/recallnest does

AliceLJY/recallnest turns agent context into a shared local memory store. Coding agents can write memories, search them later, continue sessions, and organize information across scopes. The store supports six categories: profile, preferences, entities, events, cases, and patterns. It also manages structured assets such as pins, briefs, and distilled summaries.

The design separates evidence from durable memory. Imported or observed material can be promoted through guarded workflows that check for conflicts, merge related entries, and retain an audit trail. Privacy tiers—ephemeral, private, durable, and shared—control retention and support cascading removal.

## How it works

MCP clients connect over stdio to a shared LanceDB-backed store. Custom agents and scripts can use the HTTP API instead; the architecture lists 21 endpoints on port 4318. A token-gated, read-only gateway is available on port 8791 for remote or mobile access.

Search uses vector retrieval by default. Hybrid mode adds BM25 full-text results and combines them with vector scores. The system also supports multiple vector levels, cross-source candidate expansion, topic filtering, category-specific score floors, and optional knowledge-graph expansion using personalized PageRank. Four retrieval profiles—default, writing, debug, and fact-check—target different query styles.

Session continuity is handled through checkpoint and resume operations, with full, light, and summary context modes plus a repository-state guard. A distiller can compress conversations through microcompaction, language-model summarization, and knowledge extraction. Existing conversations can be imported from Claude Code, Claude.ai, ChatGPT, Slack, or plaintext.

## Setup and configuration

The project runs on Bun and is licensed under MIT. Claude Code has a plugin-based installation path, while the general MCP interface is stdio-based. Integration scripts can configure MCP access and continuity rules.

Retrieval behavior is configured in `config.json`. The default retrieval mode is `vector`; setting it to `hybrid` enables BM25 fusion, with vector weight 0.7 and BM25 weight 0.3 by default. Related-scope searching is opt-in and uses configured scope relationships.

Conversation transcript ingestion is disabled by default. In that mode, the store contains explicitly saved memories, distilled entries, and memory files, while raw sessions remain available to a dedicated session-search workflow. A per-scope write limiter exists as an optional injection but is not enabled by default.

## Tools and capabilities

- Store, search, batch-write, consolidate, archive, and promote memories.
- Checkpoint sessions and restore context with repository-state checks.
- Detect contradictions, duplicates, stale entries, and orphaned records.
- Build and query an entity-relation knowledge graph.
- Import conversations and maintain source health heartbeats.
- Export an interactive HTML graph and inspect store health through a dashboard.
- Store, retrieve, and promote executable skills.
- Use pins, briefs, workflow records, and distilled summaries alongside regular memories.

The system can also generate predictive reminders from behavioral signals and run an offline `dream` process for clustering, merging, and pruning accumulated memories.

## Limitations and notes

The default search path is vector-only; BM25 fusion and graph expansion require opt-in configuration. Images referenced by imported sessions are not embedded or stored in the database; metadata can indicate that a session contained images so they can be located elsewhere. Transcript ingestion is also off by default, so raw conversation records do not automatically become searchable memory.

Memory quality depends on admission filters, importance thresholds, deduplication, and later consolidation. Scope isolation is the normal organization model, with related-scope searches shown separately when configured. The architecture describes local storage and a shared index, while access from other machines requires the appropriate HTTP gateway or custom-agent setup.

_Full upstream README: https://allmcps.com/mcp/aliceljy-recallnest/readme_

