# N3MemoryCore Lite (Working Memory) [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/NeuralNexusNote/n3mcmcp-lite  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/n3memorycore-lite-working-memory

## Description
Ephemeral 7-day hybrid vector+BM25 working memory, multilingual, backed by Redis Stack.

## Tools
Capabilities this server exposes over MCP:

- **delete_memory**

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

```json
"mcpServers": {
  "n3memorycore-lite-working-memory": {
    "command": "uvx",
    "args": ["--from","n3memorycore-mcp-lite","n3mc-workingmemory"],
    "env": {
      "N3MC_REDIS_URL": ""
    }
  }
}
```

**Requires environment variables:** `N3MC_REDIS_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What N3MemoryCore Lite (Working Memory) does

N3MemoryCore Lite provides ephemeral working memory for MCP-compatible AI development tools. It stores short entries in a Redis Stack instance and makes them available for later searches across conversations and sessions. Each entry has a seven-day TTL, making the system suited to active projects, temporary investigations, and short-lived context rather than long-term archival memory.

The data remains in the Redis instance you operate. A shared Redis deployment can support multiple agents, with project and session biases helping prioritize local context while still allowing shared memories to appear.

## How it works

Memory retrieval uses a hybrid of semantic vector search and BM25 full-text search. Results are ranked with time decay, and a matching `session_id` receives an additional boost. The local `intfloat/multilingual-e5-base` embedding model supports multilingual retrieval without an LLM or GPU. Text handling includes normalization for several scripts, bigram coverage for Japanese, Chinese, Korean, Thai, Lao, Myanmar, and Khmer, plus diacritic cross-matching for Latin text.

The MCP initialization response includes behavioral instructions for clients. These instructions can guide an agent to search at the start of a turn and save meaningful exchanges afterward, but MCP itself only nudges the model to call the save tool. Claude Code can instead be configured with a hook that saves every conversation transcript after each turn, using the harness rather than model recall.

## Setup and configuration

Run Redis Stack before starting the MCP server. The documented local setup uses a `redis/redis-stack-server` container on port 6379. Plain Redis is insufficient because the server depends on RediSearch. The server refuses to start when Redis cannot be reached.

Install the Python package from PyPI with `pip install n3memorycore-mcp-lite`, install an editable checkout with the development extras, or launch it through `uvx`. The `uvx` and Claude Code plugin paths require `uv`; a source installation does not. After installation, the `n3mc-workingmemory` command can be referenced from an MCP client configuration.

The Lite build enforces volatile Redis settings when it connects, disabling append-only persistence and scheduled snapshots when the database contains only N3MC data. It avoids changing those settings on a Redis instance that contains other data and reports a shared-Redis notice instead. Set `N3MC_REDIS_URL` when pointing the server at a different or shared Redis endpoint.

## Tools and capabilities

- `search_memory` performs hybrid vector and BM25 retrieval with ranking, time decay, and `session_id` boosting.
- `save_memory` stores a short memory for seven days and rejects exact duplicates.
- `list_memories` returns recent memories in newest-first order.
- `delete_memory` removes one memory by ID and also removes its chunks when the ID identifies a parent document.
- `delete_memories_by_session` removes all memories associated with a session, useful when a project or task is finished.
- `repair_memory` recreates the RediSearch index when it is missing.

## Limitations and notes

Seven-day retention is intentional: restarting the Redis Stack container can clear the working set, and this build is not intended to replace persistent memory storage. Pair it with another backend when context must survive longer.

Automatic saving depends on client behavior unless Claude Code transcript hooks are configured. Multiple agents can share one Redis, but authentication for a shared deployment must be handled at the Redis layer. The first startup may download the approximately 400 MB embedding model into the Hugging Face cache; later starts are faster.

_Full upstream README: https://allmcps.com/mcp/n3memorycore-lite-working-memory/readme_

