Nucleus MCP
Nucleus MCP is a portable, file-based AI decision log and agent operating system providing 35+ tools across 13 facades for persistent memory, task orchestration, governance, and multi-agent coordination.
๐ง Memory (Engrams) โ Persistent key-value store with full-text search, context graphs, relationship traversal, and daily briefs.
โ Task Management โ Priority queue with escalation, human-in-the-loop gates, cognitive depth tracking, and bulk JSONL import.
๐ Session Lifecycle โ Start/save/resume sessions, emit structured events, manage key-value state, create checkpoints for rollback, and generate handoff summaries.
๐ Governance & Security โ File locking, red/blue security modes, automated verify-diagnose-fix-retry loops, egress-controlled HTTP proxying, package installs with audit logging, and compliance frameworks (EU DORA, SOC2, MAS TRM) with signed audit reports.
๐ค Multi-Agent Sync โ Cross-agent artifact sharing, shared key-value store, trigger-based automation, and deployment polling/smoke testing.
๐ Sprint & Slot Execution โ Time-boxed work slots with fifo/priority/balanced strategies, 25-minute autopilot sprints, and multi-sprint missions with automatic sequencing.
๐ Federation โ Connect and sync multiple brain instances across distributed environments, route requests to peers, and monitor connectivity/latency.
๐ค Agent Management โ Spawn sub-agents (reviewer, implementer, researcher, planner), run automated code review/repair, orchestrate swarms for parallel tasks, and import tasks from GitHub/CSV/JSONL.
๐ญ Orchestration & Strategy โ Satellite bird's-eye view of all active work, commitment tracking, pattern detection, and data export in JSON/CSV/Markdown.
๐ Telemetry & Safety โ LLM tier configuration, interaction logging for DPO training pairs, human feedback capture, kill switches, notification pausing, and per-agent cost dashboards.
๐๏ธ Infrastructure โ File change monitoring, GCP service status, local service detection, and strategic planning report generation.
๐ Features & Proofs โ Feature lifecycle tracking, cryptographic Ed25519-signed execution proofs for audit compliance, and mounting external MCP servers as composable sub-tools.
โ๏ธ Execution Verification (Align/Ground) โ One-call alignment corrections that record verdicts and create DPO training pairs, plus 5-tier code verification (syntax, imports, tests, runtime) with auto-fix loops.
Integrates with Codeium's Windsurf editor to synchronize project state, session memory, and decision history with other AI-powered development environments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nucleus MCPWhat decisions have we made about the architecture?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
.brain โ the portable decision log
The portable decision log your AI tools all read. One MCP server. Any AI tool. Plain files.
Every AI coding session starts by re-explaining context the last session already knew. .brain is a folder in your repo that Claude Code, Cursor, and Codex all read via one MCP server. Decisions, policies, plans โ written once, remembered across every session and every tool.
MIT licensed. File-based (plain JSON + markdown). No embeddings. No vendor lock-in.
Also included: nucleus-rabbithole
nucleus-mcp ships a second, fully independent tool: nucleus-rabbithole,
a rabbit-hole depth tracker for focus-prone developers.
It gives your AI a push/pop depth stack, a context-switch thrash detector, an open-loop externaliser, and a weekly review โ all backed by local SQLite, no network, no daemon.
# Already installed with nucleus-mcp โ just run:
nucleus-rabbitholeClaude Code .mcp.json snippet:
{
"mcpServers": {
"nucleus-rabbithole": {
"command": "nucleus-rabbithole",
"args": []
}
}
}Full documentation: docs/RABBITHOLE.md
Related MCP server: Astria-Index
Three Frontiers
The core loop that makes AI reliability compound over time:
GROUND ALIGN COMPOUND
โโโโโโ โโโโโ โโโโโโโโ
Machine verifies Human corrects System learns
AI writes code โ You fix a mistake โ Delta recorded
GROUND checks โ Verdict stored โ DPO pair created
Receipt logged โ Event emitted โ Training data grows
โ โ โ
โโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโ
Reliability improvesGROUND โ 5-tier execution verification. Syntax, imports, tests, runtime. Goes outside the formal system to check the AI's work.
ALIGN โ One-call corrections. nucleus_align(action="correct", params={context, correction}). Each correction automatically records a verdict, creates a training pair, and emits an event.
COMPOUND โ Deltas measure the gap between intent and reality. Recurring patterns become strategy. Negative deltas become training signal.
Every tool response shows frontier health:
[frontiers: GROUND 42 | ALIGN 12 | COMPOUND 28]Quick Start
Option A โ No install (ChatGPT, Claude, Perplexity):
Add https://relay.nucleusos.dev/mcp as a remote MCP server in your platform's connector settings. That's it โ your AI now has persistent memory.
Option B โ Local install (Cursor, Windsurf, Claude Desktop):
pip install nucleus-mcp
nucleus init --recipe founderTwo commands. Nucleus is running. AI outputs are now verified. nucleus init auto-configures your MCP client โ just restart it.
What It Does
114 MCP tools across 13 facades:
GROUND โ Execution verification (5 tiers: diff, syntax, imports, tests, runtime)
ALIGN โ Human corrections (verdict + delta + DPO + event in one call)
Memory โ Engrams that persist across sessions. Write once, recall forever.
Sessions โ Save context, resume later. Session arc shows your last 3 sessions.
Tasks โ Priority queue with escalation, HITL gates, and heartbeat monitoring.
Governance โ Kill switch, compliance configs (EU DORA, MAS TRM, SOC2), audit trails.
Orchestration โ Agent slots, multi-brain sync, task dispatch.
Archive โ Training pipeline (SFT + DPO), delta tracking, frontier health dashboard.
Benchmark: decision-retention-evals โ does your AI agent remember why the code is the way it is?
Nucleus Pro
Everything above is free (MIT). Nucleus Pro adds verifiable governance:
nucleus trial # 14-day free trial
nucleus compliance-check # Score your AI governance
nucleus audit-report --signed -o report.html # Cryptographically signed report$19/month or $149/year โ nucleusos.dev/pricing
Free | Pro | |
13 tools, 10 resources, 3 prompts | Yes | Yes |
Persistent memory | Yes | Yes |
Governance & HITL | Yes | Yes |
Audit trails (DSoR) | Yes | Yes |
Signed audit reports | - | Ed25519 |
Compliance exports | Score only | Full PDF/HTML |
Priority issues | - | Yes |
Install
One command installs the CLI and auto-configures every MCP client you have โ Claude Desktop, Claude Code, Cursor, Windsurf, and Antigravity โ backing up each config file it touches. No hand-editing JSON.
pip install nucleus-mcp # or: uvx nucleus-mcp ยท pipx install nucleus-mcp
nucleus init # seeds .brain/ and writes the MCP config for every client foundThen restart your AI client. To verify: your client's tool list now shows
nucleus_* tools, or run nucleus doctor.
nucleus init writes a <config>.json.bak backup before editing, and never
touches an existing nucleus entry unless you pass --force. Already have a
.brain? Run nucleus setup to (re)configure clients without re-seeding it โ
add --dry-run to preview the exact changes first.
Claude Desktop โ one-click bundle
A one-click nucleus.mcpb bundle for Claude Desktop is built via
bash scripts/build_mcpb.sh (it will be attached to releases once the release
workflow ships it). Opening the bundle with Claude Desktop uses Claude's
built-in uv runtime to fetch and run nucleus-mcp โ no Python setup required.
No install (ChatGPT, Claude.ai, Perplexity)
Add https://relay.nucleusos.dev/mcp as a remote MCP server in your platform's
connector settings. Persistent memory, nothing to install.
If a client isn't auto-detected, nucleus init prints a ready-to-paste
mcpServers block and copies it to your clipboard, along with each client's
config-file location. The full manual walkthrough lives in
docs/QUICK_START.md.
Path Discovery
Nucleus finds your .brain automatically:
NUCLEUS_BRAIN_PATHenvironment variable (explicit)Walk up from CWD looking for
.brain/directoryFall back to
$HOME/.nucleus/brain
CLI
Nucleus has a full CLI alongside the MCP tools. Auto-detects TTY (table output) vs pipe (JSON).
# Memory
nucleus engram write my_key "insight here" --context Decision --intensity 7
nucleus engram search "compliance"
nucleus engram query --context Strategy --limit 10
# Tasks
nucleus task list --status READY
nucleus task add "Ship the feature" --priority 1
# Sessions
nucleus session save "Working on auth refactor"
nucleus session resume
# Health
nucleus status --health
nucleus sovereign
# Compliance
nucleus comply --jurisdiction eu-dora
nucleus audit-report --format html -o report.html
# Chat (multi-provider: Gemini, Anthropic, Groq)
nucleus chatPipe-friendly:
nucleus engram search "test" | jq '.key'
nucleus task list --format tsv | cut -f1,3Compliance
One-command configuration for regulatory frameworks:
nucleus comply --jurisdiction eu-dora # EU DORA
nucleus comply --jurisdiction sg-mas-trm # Singapore MAS TRM
nucleus comply --jurisdiction us-soc2 # US SOC2Jurisdiction | Retention | HITL Ops | Kill Switch |
| 7 years | 5 types | Required |
| 5 years | 5 types | Required |
| 1 year | 3 types | Optional |
| 90 days | 2 types | Optional |
Telemetry
Nucleus collects anonymous, aggregate usage statistics (command name, duration, error type, versions, OS). No engram content, no file paths, no prompts, no API keys, no PII โ ever.
nucleus config --no-telemetry
# or: NUCLEUS_ANON_TELEMETRY=falseSee TELEMETRY.md for details.
Contributing
Bug? Open an Issue
Feature idea? Start a Discussion
Code? See CONTRIBUTING.md
Chat? Discord
License
MIT ยฉ 2026 | hello@nucleusos.dev
Privacy
Nucleus is a local-first tool. All engrams, memories, and project state are stored on your machine in .brain/ โ no personal data is sent to any server unless you explicitly configure a remote relay.
Telemetry: Anonymous, aggregate usage statistics only (command name, duration, error type, versions, OS). No engram content, no file paths, no prompts, no API keys, no PII โ ever. Disable with nucleus config --no-telemetry or NUCLEUS_ANON_TELEMETRY=false.
Remote relay (optional): If you configure a remote relay endpoint, engram metadata is synced to your own relay server. You control the relay โ no third-party data sharing.
Contact: Privacy questions โ hello@nucleusos.dev
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides a persistent, vendor-neutral memory layer that allows AI tools and agents to share context and knowledge across different platforms while maintaining local data ownership. It enables users to store, recall, and manage structured memories through hybrid semantic search and automated context assembly.Last updated6Apache 2.0
- AlicenseAqualityCmaintenanceAI memory that works like yours. Neural pathway architecture gives your AI persistent recall, contextual awareness, and cross-session continuity the way human memory actually works. 14 MCP tools. Works with Claude Code, Cursor, Windsurf, and any MCP client. $50/mo unlimited.Last updated15MIT
- AlicenseAqualityAmaintenanceA local memory layer for AI coding tools that stores user preferences, lessons, and project context as local files, exposed via MCP so different AI tools can share the same understanding of you.Last updated17170AGPL 3.0
- AlicenseBqualityDmaintenanceA shared memory layer for AI agents โ one memory.md synced across Claude Desktop, Cursor, Claude Code, OpenAI Codex, and any MCP client.Last updated42MIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
One memory, every AI: Claude, ChatGPT, Perplexity, Gemini, Cursor, OpenClaw, Hermes, any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eidetic-works/nucleus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server