Edith Second Brain logo

Edith Second Brain

Local Markdown knowledge base that lets Claude search, read, capture, and review linked notes and past session transcripts.

Install Edith Second Brain

Run the project’s own setup commands, in order.

Setup steps from the project

Edith Second Brain installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    code --install-extension raghavchari.edith-second-brain
    
  2. 2. Install
    git clone https://github.com/Rchari1/Edith-SecondBrain.git
    
  3. 3. Run
    cd Edith-SecondBrain
    
  4. 4. Install
    npm install
    
  5. 5. Install
    npm run dist
    

Overview

Edith Second Brain MCP server connects Claude Code to a local, plain-Markdown knowledge base stored on disk. Claude can search and read notes, inspect past sessions, and save distilled insights through six MCP tools served over local HTTP. Edith watches Claude Code transcripts, indexes notes with SQLite FTS5, and records links back to source sessions. Reach for it when you want session knowledge persisted locally without an account or separate API key for Claude access.

Use cases

  • Search prior Claude Code sessions for reusable decisions
  • Save distilled engineering insights as linked Markdown notes
  • Import an existing Markdown vault without duplicating notes
  • Trace concepts back to their source conversations

Key features

  • Local Markdown vault with YAML frontmatter
  • Six MCP tools for notes and Claude sessions
  • SQLite FTS5 note indexing
  • Session transcript parsing with branch selection
  • Import support for Markdown, text, and MDX
  • Local HTTP service on 127.0.0.1:4319

Tools6

What Edith Second Brain lets your agent do. Expand a tool for its parameters.

Self-reported~61 tokens of context

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.

14/14 checks healthy over the last 68d

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.

How Edith Second Brain works

What Edith Second Brain does

Edith Second Brain MCP server gives Claude access to a local knowledge base made of Markdown files. Claude can search existing notes, open a note in full, list available notes, and write new insights. It can also inspect earlier Claude Code sessions and identify which sessions have already been captured.

The notes remain editable files on disk, with YAML frontmatter containing fields such as an identifier, title, dates, origin, source sessions, and links. This makes the vault usable outside Edith and allows provenance to be retained from the time a concept is created.

Edith also accepts user content through its Add content interface. It can import Markdown, plain text, and MDX files, as well as pasted text. Content can be kept as written or distilled into concepts. Re-importing a file deepens the existing note instead of creating a duplicate.

How it works

Edith watches ~/.claude/projects for Claude Code sessions that have become quiet. It parses the JSONL transcript structure, follows the active leafUuid branch, and excludes nested subagent and workflow transcripts that are not treated as primary sessions.

Notes are stored as Markdown and indexed with SQLite FTS5. The application hosts the MCP service itself over local HTTP at 127.0.0.1:4319; it does not spawn a separate MCP process. Tool calls also generate events for the Edith interface, where searches and notes used during a session can be highlighted.

Claude performs the review and distillation through its own session. Edith supplies the storage and session-reading tools rather than running its own inference. Importing content in distillation mode uses an API call, while keeping content as written does not.

Setup and configuration

The packaged application requires a Mac with Apple Silicon and macOS 13 or newer. Install the signed macOS build, open Edith, and restart Claude Code sessions that were already running. On first launch, Edith registers its server with Claude configuration, installs a session-start hook, and adds the /edith command and starter skills.

The vault is stored at ~/Library/Application Support/Edith/vault. A VS Code extension can register Edith as an MCP server and connect to the running application without requiring a manually written mcp.json or a port lookup. The project can also be built locally with Node.js 22.12 or newer and the Xcode command-line tools.

Tools and capabilities

  • search_brain: search stored notes.
  • read_note: retrieve one note in full.
  • list_notes: list the notes currently held by the brain.
  • save_note: write an insight to the vault.
  • list_sessions: list past Claude sessions and their capture status.
  • read_session: read a cleaned session transcript without tool noise.

These tools support a workflow in which Claude reviews recent sessions, extracts reusable concepts, links them to related notes, and writes the results back to the local vault. Edith Second Brain MCP server also exposes the session provenance needed to trace a note to its originating conversations.

Limitations and notes

The application is designed around Claude Code’s local transcripts, not claude.ai conversation history. An API key cannot provide access to that history; Edith reads the files produced by Claude Code.

Edith requires the application to be running for its local MCP service and client connection. If Claude does not use the brain after installation, the documented troubleshooting step is to restart Claude Code and verify the session primer under Connection. Deleting the search index is supported because Edith can rebuild it from the Markdown vault.

Edith Second Brain MCP server is local-first: the source notes are ordinary files, but distilling imported content into concepts makes an API call. Uninstalling the application does not remove the vault automatically; the application and its added Claude configuration can be removed separately.

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 Edith Second Brain

Edith Second Brain is an MCP server that connects Claude Code to a local Markdown knowledge base and past Claude Code transcripts. Its main tools search and read notes, list stored notes, save insights, list sessions, and read cleaned session transcripts. It runs locally without an account or API key for Claude access.

Install the macOS application, open it, and restart existing Claude Code sessions. Edith supports Apple Silicon Macs running macOS 13 or later. In VS Code, install the Edith extension; it registers the server and connects to the running app without a manually written mcp.json.

Edith stores notes as plain Markdown files in `~/Library/Application Support/Edith/vault`. The files are the source of truth, so they can be edited with another editor. YAML frontmatter stores metadata such as identifiers, links, dates, and source sessions.

It documents Claude Code, Claude Desktop configuration, and a VS Code extension that connects to the running Edith application.

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 PreviewEdith Second Brain AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/edith-second-brain?style=directory)](https://allmcps.com/mcp/edith-second-brain)
HTML Embed
<a href="https://allmcps.com/mcp/edith-second-brain"><img src="https://allmcps.com/api/badge/edith-second-brain?style=directory" alt="Edith Second Brain on AllMCPs" /></a>