Ambient Memory: local-first context for Cursor and Claude Desktop

Coding agents forget. Ambient Memory, by Jarvis Osorio, is a background context layer that remembers which files you touched, which screens you focused on and which pages you read, then exposes that memory to Cursor and Claude Desktop through the Model Context Protocol (MCP).

How it works

Three capture sources (a file watcher, screen sessions and browser history) feed one store. A daemon is the only process that opens the SQLite database. The CLI and the MCP server talk to it over a Unix socket or a Windows named pipe. That single-owner rule is deliberate: it avoids two processes racing to seal or unseal the vault.

On Node.js 22 or later the store uses the built-in node:sqlite module. On Node 20 it falls back to sql.js compiled to WebAssembly. There is no better-sqlite3 and no node-gyp step, which is what the README means by zero-config.

Privacy, stated precisely

Entity fields are encrypted with AES-GCM and the database is sealed to an .enc file at rest. While the vault is unlocked, the full-text index holds redacted plaintext so search can work. The README documents that tradeoff instead of hiding it. Version 0.3 has no telemetry and no network sync.

Noise control

Raw activity is noisy. The daemon can ignore apps such as Slack and Spotify, collapse focus churn, and summarize sessions so the MCP memory_context answer reads closer to "what I was working on" than "every window I glanced at".

Status

v0.3.0, released 12 November 2026, MIT License. Requires Node.js 20+ (22+ preferred). The package is not on the npm registry yet, so install from the repository: git clone https://github.com/JarvisOsorio/ambient-memory, then npm install and npm test.

Source: github.com/JarvisOsorio/ambient-memory · Docs: labs.jarvisosorio.com/ambient-memory · Next: mcp-pordego