org-roam-second-brainNotes you and an AI assistant both keep

Your notes stay plain org files. The vault says what each kind of note must have and what may change only with your approval; an MCP server inside Emacs gives an assistant 23 tools over the same notes, sized for small local models; and every write can be previewed and undone.

Claude Code, connected to the notes server, answers a question from the vault and is asked to record a decision in a project; the project type's rules make that a proposal, which appears in the Emacs digest, is previewed and approved on the approval screen, and is then in the note
An assistant answers from the vault and is asked to record a decision. The project type says decisions need approval, so the change waits: it shows in the Emacs digest, is previewed and approved, and only then is in the note.
(use-package org-roam-second-brain
  :after org-roam
  :config
  (orsb-mode 1)        ; C-c b: the digest, new notes, the approval screen
  (orsb-mcp-start))    ; http://127.0.0.1:8007/mcp

What it is

Install

Emacs 29.1 or newer and org-roam 2.2 or newer. With Doom Emacs, in packages.el:

(package! org-roam-second-brain
  :recipe (:host github :repo "dcruver/org-roam-second-brain"))

With straight.el, or Emacs's own package-vc:

(straight-use-package
 '(org-roam-second-brain :type git :host github :repo "dcruver/org-roam-second-brain"))

(package-vc-install "https://github.com/dcruver/org-roam-second-brain")

Then (orsb-mode 1). Each release says what it changed.

A note type is a text file you can read

Put this in projects/_schema.org and every note in that folder is a project, for you and for the assistant.

* Type
:PROPERTIES:
:TYPE: project
:LIFECYCLE: STATUS
:LIFECYCLE_VALUES: active waiting done
:LIFECYCLE_FINISHED: done
:END:

* Properties
| property    | required | form                    | default |
|-------------+----------+-------------------------+---------|
| STATUS      | yes      | one of LIFECYCLE_VALUES | active  |
| NEXT-ACTION | yes      | one sentence            |         |

* Sections
| section       | required | rule    |
|---------------+----------+---------|
| Current state | yes      | replace |
| Log           | yes      | append  |
| Decisions     | no       | propose |

Connect an assistant

Any MCP client that speaks Streamable HTTP. With Claude Code:

claude mcp add --transport http notes http://localhost:8007/mcp

The server tells the model how to behave when it connects, so there is no skill or prompt to install. The tools page lists what it can call.

Where it stands

Version 3. The tests run on Emacs 29 and 30. It has kept one vault so far, the author's, mostly through an assistant on a local model, so a vault laid out differently will find rough edges. The FAQ says what is missing, and an issue about your vault is welcome.