# second-brain-core [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/VJNAVEEN2005/second-brain-core  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1477  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/second-brain-core

## Description
Universal persistent memory layer and context manager for AI agents, Claude, Cursor, and LLMs via Model Context Protocol (MCP)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## 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:

```bash
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:

```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.

_Full upstream README: https://allmcps.com/mcp/second-brain-core/readme_

