Open Second Brain MCP

Local agent memory stores findings and rules in Obsidian-compatible Markdown files with search and controls for recorded changes.

  • 511 ★ on the repository
  • Last commit
  • MIT
MCP serverOfficial

Extended access

Why this level

  • MCP and hooks read notes and store memory, rules and changes in a local vault.
All reasons and checks

itechmeat/open-second-brain

Install

Manual install

git clone https://github.com/itechmeat/open-second-brain ~/open-second-brain
~/open-second-brain/scripts/o2b install-cli
export PATH="$HOME/.local/bin:$PATH"
o2b version

The first Get the o2b CLI block in README-linked install/prerequisites.md. Prepare Bun first; init then creates the vault.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • MCP and hooks read notes and store memory, rules and changes in a local vault.

This is third-party code. Review the repository files before installing.

What it does

Open Second Brain adds shared agent memory to an Obsidian vault. MCP servers, hooks and a CLI read and write through one core. Agent material lives as Markdown under Brain, with a search index rebuildable from those files. A separate dream pass turns repeated signals into rules and retires unused ones. It follows a deterministic algorithm without its own model. Attributed writes and snapshots let users inspect changes and restore earlier state.

Who it is for. For users of several AI clients retaining knowledge and preferences in a human-readable note vault.

Good fit when

  • Restore important rules in a new agent session.
  • Keep notes as ordinary Markdown files.
  • Inspect which agent changed material.
  • Roll back an incorrect write to a snapshot.

Not a fit when

  • Bun cannot be installed on the host.
  • Agents cannot change notes or memory.
  • You expect all retained rules to be automatically true.

Example request

Create a separate Open Second Brain test vault, store one rule and show the author and change snapshot.

MCP

Transport
stdio
Authentication
not required

Limitations

Bun 1.1 or later must be available to the MCP client; there is no Python fallback. The server writes its own material and can edit a note at a named path, so use a separate vault and restrict directory permissions. Local memory does not prevent the host model from receiving retrieved text; follow rules for private notes. Dream uses retained signals, so inspect new preferences and remove incorrect conclusions before they are applied again.

How to disable. Run `o2b uninstall --target <name> --apply` for the client. Remove manually added MCP settings from the client separately. The vault remains; back it up before cleanup.

FAQ

How do I check a vault?

Use `o2b doctor --vault /path/to/vault`.

How do I check client configuration?

Run `o2b install --check`.

Can I stop writes?

`o2b brain freeze` stops memory writers.

Does dream itself require a model?

No. That algorithm is deterministic.

How do I connect another MCP client?

Generic mode prints server configuration for manual client setup.

Discussion

No questions or reviews yet.

Persistent agent memory in an Obsidian vault: saving decisions, search, research and background vault upkeep

PluginExtended access5.2KRepository stars

An Obsidian vault template with 18 skills, 72 commands and 6 subagents for Claude Code: the agent turns sources into linked pages and answers from them

SkillExtended access1.5KRepository stars

Four skills for a personal Obsidian knowledge base: an agent compiles articles and notes into a linked wiki, answers from it and health-checks it

SkillExtended access771Repository stars

Your own memory for AI tools on Cloudflare: save once, recall by meaning in Claude, ChatGPT, Cursor and any MCP client

MCP serverExtended access850Repository stars

A set of skills and agents for a second brain on markdown and git: notes, a knowledge base and a people CRM with no database or cloud

PluginExtended access1.3KRepository stars

README in short

The core separates Markdown sources from rebuildable SQLite. Client adapters use the same memory, and configuration changes can be previewed.

README badge

Report a problem

Foxx AIOpen Second Brain
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.