Second Brain Core logo

Second Brain Core

Local-first MCP memory layer for storing decisions, tasks, goals, checkpoints, and project context across AI sessions.

Install Second Brain Core

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "second-brain-core": {
      "command": "npx",
      "args": [
        "-y",
        "second-brain-core"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio second-brain-core -- npx -y second-brain-core

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y second-brain-core

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

second-brain-core MCP server gives AI agents persistent local memory through a native stdio Model Context Protocol interface. It stores structured project state, decisions, goals, tasks, relationships, and checkpoints in a graph and event-sourced persistence model under the local machine. Agents can inspect working memory, record decisions, create checkpoints, resume previous work, and search stored knowledge through MCP tools. Use it when development sessions need to continue across models or context windows without reconstructing prior engineering decisions.

Use cases

  • Resume software work across separate AI sessions
  • Record architectural decisions and technical research
  • Checkpoint project progress before context limits
  • Inspect relationships between projects, goals, and memories

Key features

  • Local-first graph and event-sourced persistence
  • Native stdio MCP server
  • Four-tier memory hierarchy
  • Checkpoint and resume workflow
  • Semantic recall by query or tags
  • 3D WebGL knowledge graph

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 23d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · second-brain-core (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads1.5kPackage downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Second Brain Core works

What second-brain-core does

second-brain-core provides a local memory and context layer for AI agents working on software projects. Rather than treating conversation history as the only source of context, it records durable project information such as goals, tasks, technical decisions, relationships, user preferences, and progress checkpoints.

The data model is organized into four memory tiers: working memory for the immediate task and next step, hot memory for active milestones and architectural choices, warm memory for earlier research and technical references, and cold memory for archived checkpoints and historical events. Projects are related to workspaces and user identity records in a graph structure.

The package also includes a brain command-line interface. Developers can inspect status, create checkpoints, review an event log, switch operating modes, manage identity information, open a 3D graph view, and generate model-specific resume prompts.

How it works

The MCP service runs locally over stdio and is started with the package's mcp command. An MCP-compatible agent can then read the active state at the beginning of a session, write important decisions during development, and save a checkpoint before stopping or reaching a context limit.

The recommended workflow is a loop: load current state, continue the task, record significant choices, and checkpoint progress with a summary and next step. The checkpoint becomes a durable snapshot that can be restored in a later session or used by a different model.

Storage is local-first and uses the ~/.second-brain/ directory. The project describes the persistence design as graph-based and event-sourced, with no Docker prerequisite or cloud service required for its local operation.

Setup and configuration

Install the CLI globally with npm:

Terminal
npm install -g second-brain-core

For source installation, clone the repository, install dependencies, build the project, and link the package with npm. To register the MCP service, add a server entry that invokes:

config.json
{
  "mcpServers": {
    "second-brain": {
      "command": "npx",
      "args": ["-y", "second-brain-core", "mcp"]
    }
  }
}

A local checkout can instead run node dist/cli/index.js mcp. The package also includes an agent skill at skills/second-brain/SKILL.md, which defines session-start, decision-recording, blocker, and checkpoint practices for compatible assistants.

Tools and capabilities

The MCP interface exposes tools for:

  • Reading active project state, goals, and working memory with brain_status.
  • Saving progress snapshots with brain_checkpoint.
  • Producing continuation instructions with brain_resume.
  • Recording decisions, knowledge, and preferences with brain_remember.
  • Searching stored information by query or semantic tags with brain_recall.

The CLI provides related commands including brain status, brain checkpoint, brain log, brain identity show, and brain mode. brain 3d opens a browser-based WebGL force graph for inspecting and searching the stored knowledge network.

Limitations and notes

The MCP transport described for this package is stdio, so the client must support MCP server configuration through a local command. The memory store is designed for one machine's local filesystem rather than a hosted shared service. Its workflow depends on the agent following the included protocol, such as checking status at session start and creating checkpoints when work pauses.

The project defines identity and operating modes including CEO, ARCHITECT, and CODER, and the included skill describes additional persona modes. These features shape how an agent uses stored context; they do not replace the underlying project and memory records.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Second Brain Core

second-brain-core is an MCP server that connects AI agents to a local persistent memory store for projects and development work. Its main tools read active state, create checkpoints, generate resume instructions, record decisions or preferences, and recall stored knowledge by query or semantic tags across sessions.

Install it globally with `npm install -g second-brain-core`, then configure an MCP client to run `npx -y second-brain-core mcp`. A source installation can be built and run with `node dist/cli/index.js mcp`.

Yes, second-brain-core can be configured for Cursor through its MCP server configuration. The README also names Claude Desktop and Cline as supported MCP clients, using the local stdio command to start the service.

second-brain-core stores its local-first data under `~/.second-brain/`. Its persistence model organizes project context into graph relationships and event-sourced checkpoints rather than relying on a hosted cloud service.

You can inspect active project state, save progress checkpoints, generate session-resume instructions, record decisions or preferences, and recall stored knowledge. The corresponding tools are `brain_status`, `brain_checkpoint`, `brain_resume`, `brain_remember`, and `brain_recall`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSecond Brain Core AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/second-brain-core?style=directory)](https://allmcps.com/mcp/second-brain-core)
HTML Embed
<a href="https://allmcps.com/mcp/second-brain-core"><img src="https://allmcps.com/api/badge/second-brain-core?style=directory" alt="Second Brain Core on AllMCPs" /></a>