Nocturne Memory: Long-Term Memory Server for MCP Agents

Give your AI persistent, cross-session memory with rollback and visual audit — a drop-in replacement for OpenClaw.

Stars
★ 1.4k
Last updated
29d ago 2.5.6
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
Python

At a glance

How it runs
MCP serverSelf-hosted serviceWeb app
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Python 3.10+Node.jsShell / CLINetwork accessLocal filesystem
Typical use
Individuals who want their AI assistant (e.g., ChatGPT, Claude) to remember preferences across sessions
Not a fit if
  • Users who want a managed cloud service instead of self-hosting
  • Teams that cannot install Python 3.10+ and Node.js locally
  • Users on clients without MCP support who won't edit configs
Website
misaligned.top/memory ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-03latest release 2.5.6 (2026-08-09)+0.9 ★/day over 7 days
Source review
63/100 · Some gaps

What does this agent do, and when should you use it?

Nocturne Memory is a long-term memory server built on the Model Context Protocol (MCP). It provides AI agents with persistent, graph-structured memory that works across models and sessions, eliminating amnesia. Unlike vector RAG, it uses URI-based hierarchical routing for precise retrieval and supports conditional triggers. The system includes a visual dashboard for humans to browse, edit, audit, and rollback AI memories. It installs in two steps and works with any MCP-compatible client. The project emphasizes first-person sovereign memory, allowing AI to autonomously manage its own memories. It is ideal for users who want their AI to have a stable identity and genuine long-term growth.

Nocturne Memory runs as an MCP server exposing 7 tools: read_memory, create_memory, update_memory, delete_memory, add_alias, manage_triggers, and search_memory. Memories are stored in a graph-topology backend (SQLite/PostgreSQL) and addressed via URI paths like core://agent/identity. The dashboard (React frontend) provides visual exploration, editing, and audit with snapshot-based rollback. It supports stdio, SSE, and Streamable HTTP transports, and offers namespace isolation for multiple AI personas. On installation, it auto-builds the frontend and opens the dashboard. AI can autonomously create, update, and delete memories; each modification triggers a snapshot for human review.

  1. Individuals who want their AI assistant (e.g., ChatGPT, Claude) to remember preferences across sessions
  2. Developers who switch between LLM providers (e.g., Claude to Gemini) and need a consistent AI identity
  3. Creators managing multiple AI personas (e.g., Alice and Bob) with isolated memory spaces
  4. Enterprises needing a visual audit trail and rollback for AI memory
  5. AI developers dissatisfied with Vector RAG's limitations for structured memory
  6. Writers using AI to keep character consistency in novels

How do you install or deploy this agent?

  1. Clone the repo: git clone https://github.com/Dataojitori/nocturne_memory.git && cd nocturne_memory
  2. Install Python dependencies: pip install -r backend/requirements.txt
  3. Configure your MCP client. For Cursor, add to MCP config:
{
  "mcpServers": {
    "nocturne_memory": {
      "command": "python",
      "args": ["C:/your/actual/path/nocturne_memory/backend/mcp_server.py"]
    }
  }
}
  1. Restart the client and connect. The first startup builds the frontend and opens the dashboard automatically.

How do you use this agent?

After connection, verify by asking your AI to 'Read system://boot. Tell me who you are.' Use the Dashboard to browse, edit, and audit memories. To enable proactive memory recall, copy the recommended system prompt from docs/system_prompt.md into your client's settings. Use system://diagnostic/core for memory health checks.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • rollback or recovery path

What are this agent's strengths and limitations?

Pros
  • Model-agnostic memory that persists across providers
  • Visual dashboard for human oversight and rollback
  • Namespace isolation for multiple AI personas
  • Structurally precise retrieval via URI routing, with conditional triggers
Limitations
  • Requires self-hosting, which may be complex for non-technical users
  • Dependent on MCP client support; some clients have complex configuration
  • Limited to SQLite/PostgreSQL backends; no managed cloud offering
  • Requires Node.js for frontend build, adding deployment overhead

How does this agent compare with similar options?

Compared to Vector RAG or OpenClaw's native memory, Nocturne Memory offers structured, rollbackable, and auditable memory management with first-person sovereignty.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Nocturne Memory: Long-Term Memory Server for MCP Agents This agent 63 · Some gaps MCP serverFree ★ 1.4k 29d ago Python —
WeLink 71 · Some gaps Self-hosted serviceFree + model costs ★ 336 17d ago TypeScript Codex · Claude Code · OpenAI API · Claude API
Mnemosyne 71 · Some gaps CLIFree ★ 3.7k 1d ago Python Codex · Claude Code
MemoryOS: A Memory Operating System for Personalized AI Agents 38 · Major gaps Library / SDKFree + model costs ★ 1.6k 4mo ago Python OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
63/ 100 5-point scale 3.2 / 5
Trust 16/29
Reliability 8/14
Adaptability 14/18
Convention 14/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

The README says remote binding beyond localhost requires an API token, and the supplied tests show unauthenticated build retries are rejected and build error details are scrubbed. The excerpts do not establish least privilege across all routes or data access, so this is not full credit. The README describes explicit confirmation for cleanup and automatic snapshots for edits; the tests show review rollback restoring prior content. The excerpts do not describe encryption, retention, or deletion policies for sensitive memories, and provide no dependency audit evidence. First launch automatically builds the frontend and opens a browser, an external effect disclosed in the README but without a shown per-effect consent step. The license and project name provide limited attribution; publisher identity is unverified and maintenance responsibility is only partly described.

Reliability8 / 14 · 2.9/5

The README describes SQLite/PostgreSQL and stdio/SSE/HTTP support, and covers build and connection troubleshooting. The supplied API tests demonstrate review diffs, rollback, and scrubbing of build error details. However, the excerpts do not substantiate high availability or several other behavioral claims. The statement that the project is now limited to maintenance updates also sits uneasily beside its extensive feature claims, lowering self-consistency. Dependency versions are not locked or otherwise evidenced in the packet, so dependency availability cannot receive a high score.

Adaptability14 / 18 · 3.9/5

The README names MCP clients and gives local installation, remote deployment, Docker, namespace isolation, settings, and maintenance scenarios. It also states that search is keyword-based rather than semantic and that remote access requires a token. Product boundaries and failure, privacy, and deployment limitations remain incomplete. The disclosure rules and audit skills give concrete guidance, but those instructions do not establish that retrieval triggers work accurately in practice.

Convention14 / 18 · 3.9/5

The README is well organized and covers installation, client setup, the dashboard, tools, Docker, migration, troubleshooting, and examples. The LICENSE file provides the full MIT terms. Names in the excerpts are reasonably stable, though the sample is insufficient to assess consistency across the repository. The README says the project is now receiving maintenance updates, but the packet has no clear release history or detailed maintainer/update path. Some limitations are stated, but there is no comprehensive limitations section.

Effectiveness7 / 13 · 2.7/5

The tests show usable health, browse/update, review-diff, and rollback endpoints, while the README explains tool purposes. Structured URI memory, separate storage, and human review could provide value beyond ordinary retrieval, but the claimed real-world results and token savings are not independently corroborated by the supplied material. The extra Python, Node, database, or Docker setup carries installation and maintenance costs that the packet does not quantify, so cost-benefit receives a low score.

Verifiability4 / 8 · 2.5/5

The README gives concrete architecture, setup steps, and tool descriptions; the API tests corroborate some review, rollback, authentication, and error-detail behavior. Many performance, real-conversation, high-availability, and safety claims are not supported by the supplied source and test excerpts. The README often presents product claims and anthropomorphic interpretations as settled conclusions without separating demonstrated facts from inference, so traceability and fact/inference separation score low.

Risks and how to mitigate them
  • Claims about real conversations, token savings, and high availability are not sufficiently corroborated by the supplied excerpts; static review cannot establish runtime behavior.
  • For remote access, the README requires an API token. First launch automatically builds the frontend and opens a browser. Review the complete deployment and data-protection implementation before storing sensitive memories.
  • The project says it has moved to maintenance updates; the supplied material does not include release history or a complete statement of maintenance responsibility.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision f55f10d57100
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/nocturne-memory.svg)](https://followagents.com/en/agents/nocturne-memory)
<a href="https://followagents.com/en/agents/nocturne-memory"><img src="https://followagents.com/badge/nocturne-memory.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 2.5.6 MCP 2.0 Compatibility & Long-Form Improvements
    Release notes excerpt
    Nocturne Memory 2.5.6 现已发布。 中文 - 兼容 MCP 2.0 的 Python SDK,同时继续支持旧版本。 - 记忆诊断新增过长记忆检测,帮助发现需要拆分或清理的内容。 - 前端右上角的设置里可以调整过长记忆的检测阈值。 - AI读取大型记忆时会向AI显示内容体积。 - update_memory tool 支持用 ... 定位和替换长段落。 English - Added compatibility with the MCP 2.0 Python SDK while retaining support for older versions. - Added oversized-memory detection to diagnostics, making it easier to find memories that should be split or cleaned up. - Added a setting for adjusting the oversized-memory detection threshold. - Content size is now displayed when AI reading large memories. …
    View on GitHub ↗
  2. 2.5.4 2.5.4 — Boot 预设切换 & 孤儿恢复
    Release notes excerpt
    ✨ 启动预设:可以同时存多套配置了 / Boot URI Presets 你现在可以同时保存好几套Boot记忆的预设了(比如一套日常用,一套工作用,一套酒馆用),在面板里点一下就能一秒来回切。你以前的旧配置,系统已经自动帮你存成预设了。 You can now hold multiple boot memory presets and toggle between them instantly. Your legacy configs are safely auto-migrated. 🧹 大脑清理与孤立记忆捞回 / Maintenance & Orphan Recovery 优化了大脑清理页面的操作体验,支持按记忆分组一键清空。 最重要的是,本版本全新加入了“捞回记忆”功能——你现在可以安全地把被删除的记忆(孤儿记忆)重新挂载回图谱。 Access log clearing is now global. More importantly, we introduced the Restore Orphan feature—you can now safely recover detached memories. 🌐 Domain 管理整合进浏览器 / Consolidated Domain UI …
    View on GitHub ↗
  3. 2.5.2 2.5.2 — 重大Bug修复 & 中文支持
    Release notes excerpt
    🐛 修复:升级后页面没变化 / Fix: UI not updating after upgrade 之前版本升级后,打开面板可能还是旧界面。现在升级后刷新页面就能看到最新版本。 Previously, the dashboard could still show the old UI after upgrading. Now refreshing the page will always load the latest version. 🌐 面板支持中文了 / Chinese locale support Settings 里新增语言切换,选中文即刻生效,不用重启。 New language switcher in Settings. Select Chinese and it takes effect instantly — no restart needed. 其他改进 / Other improvements - 空的 Domain 现在可以直接在面板里创建第一条记忆了 / Empty domains can now create their first memory directly from the dashboard …
    View on GitHub ↗

FAQ

What are the costs?
The software is free and open-source (MIT). You only pay for hosting: local hardware or cloud servers. No per-seat fees.
How do I back up and restore memories?
Automatic snapshots are created on every AI memory modification, reviewable and rollbackable via the Dashboard. SQLite files can be copied directly; PostgreSQL offers pg_dump for backups.
Which MCP clients are supported?
All MCP-compatible clients, including Claude Code, Cursor, Gemini CLI, OpenAI Codex, etc., via stdio or SSE/HTTP transports.
Can I access it remotely?
Yes, via SSE/HTTP mode. Set an API Token, change Host to 0.0.0.0, and configure your client with the token in headers.
How secure is my memory data?
Data stays on your own server or local machine; no third-party cloud storage. Remote access requires authentication via API Token.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts