# Lotargo Memory Plugin [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Lotargo/memory_plugin  
**GitHub Stars:** 2  
**npm Downloads (last month):** 279  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lotargo-memory-plugin

## Description
Local-first memory, hybrid RAG, and agent personalization for AI coding agents (OpenCode, Claude Code, Codex, Gemini CLI, Antigravity). MCP server + CLI with persistent context, document ingestion, vector + SQLite FTS5 retrieval, sync, setup, and safe uni

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

```json
"mcpServers": {
  "lotargo-memory-plugin": {
    "command": "npx",
    "args": ["-y","@lotargo/memory_plugin"]
  }
}
```

## Documentation

## What Lotargo Memory Plugin does

Lotargo Memory Plugin MCP server adds persistent memory to supported AI coding workflows. It keeps concise facts, working instructions, project decisions, and user preferences available after a session ends. Memory can be separated by Git project or stored globally, helping prevent unrelated repositories from sharing context.

The system also handles longer material. Notes, PDFs, DOCX files, spreadsheets, web pages, and code can be indexed for later retrieval. The local web panel lets developers inspect and edit Notebook records, instructions, project scopes, history, and knowledge sources. It also exposes source links and graphs for reviewing how stored information relates.

This fits the Knowledge & Memory category for agents that need durable context rather than only short-lived conversation state.

## How it works

Working data remains on the local machine in human-readable Markdown Notebook files, SQLite indexes, and archived source text. Retrieval combines vector search with SQLite FTS5 full-text search. Facts and directives can be recalled as active context, while longer notes and external sources are searched when needed instead of being inserted into every session.

Git-based project identity helps keep memory aligned with a repository across checkouts. The `all` agent scope combines global memory with the current project; explicit directory targeting is available when a workspace must be selected directly. Local model weights are downloaded from Hugging Face on first use and cached locally. CPU inference is the stable default, while WebGPU is experimental.

Optional cloud-snapshots mode stores complete ZIP checkpoints in Turso. These snapshots are not live synchronization, and uploads are manual unless scheduling is explicitly enabled.

## Setup and configuration

Lotargo Memory Plugin MCP server requires Node.js 22.16 or newer within the 22.x line, or Node.js 24 and newer; Node.js 23 is excluded. npm or npx and an MCP-capable client are also required.

Run the CLI setup command with a client flag such as `--codex`, `--opencode`, `--claude`, `--gemini`, or `--antigravity`. Running setup without a flag configures the five documented integrations together: OpenCode, Codex, Claude Code, Gemini CLI, and Antigravity. Setup installs the selected integration and bundled skill, adds managed instructions where supported, and preserves unrelated configuration. Restart the client or start a new session afterward.

The local panel starts with `npx -y @lotargo/memory_plugin web`. It listens on `127.0.0.1` and uses a private connection URL. A diagnostic command is available for Codex with `doctor --codex`. The panel supports English, Russian, and Simplified Chinese, along with light, dark, and system themes.

## Tools and capabilities

The documented MCP workflow includes:

- `remember` for concise facts, directives, and other Notebook records.
- `recall` for retrieving saved context, including project-scoped memory.
- `remember_note` for storing longer investigations.
- Hybrid vector and full-text retrieval across notes, documents, web pages, and code.
- Project and global scopes, tags, record history, source links, and knowledge graphs.
- Local browsing and editing through the web interface.
- Backup, maintenance, model controls, and configuration through the CLI or panel.

## Limitations and notes

Turso is used for optional full ZIP snapshots, and network access is needed for URL ingestion and configured cloud operations.

There is no telemetry or analytics collection. Removing a client integration does not delete stored memory unless a separate purge is requested. Existing installations using older `hybrid-sync` or `only-cloud` modes require the documented migration process. WebGPU is experimental, and local model weights require an initial Hugging Face download.

_Full upstream README: https://allmcps.com/mcp/lotargo-memory-plugin/readme_

