Nucleus MCP
Local-first, cross-platform memory sync for AI coding tools (Cursor, Claude, Windsurf) with persistent engrams and hypervisor security.
Nucleus
A personal AI operating system — persistent memory, governance, and coordination for AI agents.
Nucleus is an MCP server that gives AI agents a persistent brain. Sessions survive restarts, decisions leave audit trails, and governance rules enforce boundaries — all running locally on your machine.
This is a solo founder project. Built because I needed it, open-sourced because others might too.
Quick Start
pip install nucleus-mcp
nucleus init --recipe founder
nucleus morning-brief
Three commands. You now have a persistent brain with memory, governance, and a daily workflow.
Other recipes: nucleus recipe list (SRE, ADHD, and more).
What It Does
┌──────────────────────────────────────────────────────┐
│ Nucleus │
│ │
│ ┌─ Memory ──────┐ ┌─ Governance ──┐ ┌─ Audit ──┐ │
│ │ Engrams │ │ HITL gates │ │ Decision │ │
│ │ Sessions │ │ Kill switch │ │ trails │ │
│ │ Commitments │ │ Compliance │ │ Reports │ │
│ │ Heartbeat │ │ Resource lock │ │ Traces │ │
│ └───────────────┘ └──────────────┘ └──────────┘ │
│ │
│ ┌─ Coordination ┐ ┌─ CLI ────────┐ │
│ │ Task queue │ │ Engram CRUD │ │
│ │ Agent slots │ │ Session mgmt │ │
│ │ Multi-brain │ │ Chat (multi- │ │
│ │ sync │ │ provider) │ │
│ └───────────────┘ └──────────────┘ │
│ │
│ 100% local · Zero cloud dependency · MIT │
└──────────────────────────────────────────────────────┘
Key Features
- Engrams — Persistent knowledge that survives across sessions. Write once, recall forever.
- Session persistence — Save work context, resume later. No more "where was I?"
- Commitment tracking — Open loops tracked with age tiers (green/yellow/red) and health scores.
- Heartbeat — Proactive check-ins that catch stale blockers, velocity drops, and idle sessions.
- Multi-agent coordination — Task queues, agent slots, and brain sync for multi-agent setups.
- Governance — HITL approval gates, kill switch, resource locking, compliance configuration.
- Decision trails — Every agent decision logged with reasoning. Full audit trail.
- 170+ MCP tools — Organized into facade tools for memory, governance, orchestration, sessions, and more.
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 | |
|---|---|---|
| 170+ MCP tools | 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 |
Configure Your MCP Client
Claude Desktop / Cursor / Windsurf
Add to your MCP config (claude_desktop_config.json or equivalent):
{
"mcpServers": {
"nucleus": {
"command": "python3",
"args": ["-m", "nucleus_mcp"],
"env": {
"NUCLEAR_BRAIN_PATH": "/path/to/your/project/.brain"
}
}
}
}
Claude Code
Add to .mcp.json in your project root:
{
"mcpServers": {
"nucleus": {
"command": "python3",
"args": ["-m", "nucleus_mcp"],
"env": {
"NUCLEAR_BRAIN_PATH": ".brain"
}
}
}
}
Path Discovery
Nucleus finds your .brain automatically:
NUCLEAR_BRAIN_PATHenvironment variable (explicit)- Walk up from CWD looking for
.brain/directory - Fall 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 chat
Pipe-friendly:
nucleus engram search "test" | jq '.key'
nucleus task list --format tsv | cut -f1,3
Compliance
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 SOC2
| Jurisdiction | Retention | HITL Ops | Kill Switch |
|---|---|---|---|
eu-dora | 7 years | 5 types | Required |
sg-mas-trm | 5 years | 5 types | Required |
us-soc2 | 1 year | 3 types | Optional |
global-default | 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=false
See TELEMETRY.md for details.
Contributing
- Bug? Open an Issue
- Feature idea? Start a Discussion
- Code? See CONTRIBUTING.md
- Chat? Discord
License
MIT © 2026 | [email protected]
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Developer Tools MCP Server
Developer resources including GitHub, npm, PyPI, Docker Hub, GitLab, and StackOverflow
Octopus Deploy Official MCP Server
The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.
AWS CDK MCP Server
Offers guidance and tools for AWS CDK, covering best practices, security compliance with CDK Nag, infrastructure validation, and pattern discovery.
WordPress MCP Server
An MCP server for integrating with and managing WordPress sites.
xctools
🍎 MCP server for Xcode's xctrace, xcrun, xcodebuild.
PyVista MCP Server
An MCP server for 3D visualization and data analysis using the PyVista library.
Omilia MCP Tools
A set of tools for managing miniapps, orchestrator apps, and dialog logs on the Omilia Cloud Platform (OCP).
AgentPM
A planning and orchestration system for AI-driven software development.
ServiceNow
A production-ready Model Context Protocol (MCP) server for ServiceNow platform integration. Built with TypeScript for Node.js 20+, this server enables LLMs and AI assistants to interact with ServiceNow instances through a standardized interface.
Frappe MCP Server
An MCP server for the Frappe Framework, enabling AI assistants to interact with Frappe's REST API for document management and schema operations.