Somnia: Open-Source Local-First Long-Term Memory MCP Server for Coding Agents

ShelfPolishDev · reddit · 2026-12-06

The author open-sourced Somnia, a local-first long-term memory MCP server for coding agents. When a session goes idle it consolidates the conversation into scoped memories, each required to quote the original conversation for traceability. It also writes a cited 'Dream Journal' and keeps restorable snapshots, all on the local machine. Works with Claude Code, Codex and Gemini CLI; run via npx -y @cliping2077/somnia.

Original post →

More from coding & agent

coding & agent channel →