Edith Second Brain
io.github.Rchari1Published by GitHub account Rchari1v0.1.0Updated Oct 24, 2026
Claude distils its past sessions into linked Markdown notes on disk and searches them later.
The publisher's own server: BrainDog
Overview
A local Markdown "second brain" app that exposes Claude Code session transcripts and linked notes to an assistant for search, reading and writing.
- What you can do
- Search, read and list notes in a local Markdown vault
- Save new notes and insights back into the vault
- List past Claude Code sessions and read a single transcript with tool noise stripped
- Distil past sessions into linked, provenance-tagged notes on request
- Import existing Markdown, text or pasted content as notes, either verbatim or distilled
- When to use it
- Worth adding if you use Claude Code on a Mac and want a persistent, plain-Markdown knowledge base that the assistant can fill from your own past sessions and consult later. It suits people who prefer files on disk they can edit in any editor over a hosted notes service.
- Requirements
- A Mac with Apple Silicon running macOS 13 or later, plus Claude Code in the terminal or the VS Code extension. The Edith desktop app must be installed and running; it serves MCP locally on 127.0.0.1:4319. No account or API key is needed for reading and writing notes. Building from source needs Node.js 22.12 or newer and the Xcode command line tools.
Installation
In SourceWeft
- Open Edith Second Brain in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Edith Second Brain
A second brain for AI.
edithapp.ai · Download for macOS · VS Code extension
Edith is a local, plain-Markdown knowledge base that Claude can read from and write to. Ask Claude to review your past sessions and it distils them into linked notes itself - no API key, no account, no inference of its own.
What it does
- No API key. No account. No inference. Claude reads and writes your notes through its own session, on the plan you already pay for. Edith is the store and the canvas.
- Claude fills it for you. Ask "review my recent sessions and save anything worth keeping" and Claude reads your transcripts with
list_sessions/read_session, then writes the notes back withsave_note. - Serves Claude over MCP.
search_brain,read_note,list_notes, andsave_note. Claude both reads from and writes to the brain mid-session. - Shows you the retrieval. A search dims-glows what Claude considered; opening a note brightly glows what it actually used. Highlights fade over 30 seconds.
- Mini mode beside your session. Minimize Edith and it becomes a narrow panel docked to the left edge of the screen, drawing your brain and lighting up the notes Claude reaches for - the window and the panel are never up at the same time. With the window closed or minimized, the panel also opens on its own when a Claude session starts. It never takes focus, folds to a strip the width of the rail or shrinks to a small square in the corner - both just the live graph - and stays closed for the rest of a session once you close it. Turn off the automatic opening under Connection.
- Takes your own content too. Add content imports
.md,.markdown,.txt, and.mdxfiles, or anything you paste. Files keep their existing frontmatter, so importing a Markdown vault preserves ids and links instead of duplicating notes. Import as written, or distil into concepts. - Plain Markdown. Files on disk are the source of truth. Edit them in any editor. Delete the index and it rebuilds.
Install
Edith runs on a Mac with Apple Silicon, macOS 13 or later. You also need Claude Code, in the terminal or the VS Code extension.
Download Edith — signed and
notarised by Apple, so it opens with no security warnings. Open the .dmg, drag Edith into
Applications, and open it from there. Restart any Claude Code sessions that were already running.
On Windows? The Windows build lives at Edith-Windows.
In VS Code
The Edith extension
registers Edith as an MCP server in the editor, so there is no mcp.json to write and no port to
look up:
It finds the running app and hands the editor a live connection. If Edith is not running when the
editor goes to start the server, the extension offers to open it. The source is in
vscode-extension/.
Edith is also listed in the official MCP registry as io.github.Rchari1/edith-second-brain, so
clients that read the registry can find it without any of this.
Or build it yourself
Needs Node.js 22.12 or newer, and the Xcode command line tools
(xcode-select --install) for the native database module:
The .dmg lands in release/. A build you make yourself is not notarised, but it opens anyway,
because macOS trusts what you compiled on your own machine.
What happens on first launch
Edith starts its brain server on 127.0.0.1:4319 and connects itself to Claude. There is no account and no API key: ask Claude to "review my recent sessions and save anything worth keeping" and it fills the brain itself.
Outside its own folder, Edith adds:
Your notes are plain Markdown in ~/Library/Application Support/Edith/vault.
Updating
Quit Edith, then drag the new build into Applications to replace the old one.
Troubleshooting
- Edith quits the moment it opens. If you launched it from a VS Code terminal, open it from Applications or the Dock instead - VS Code's terminal sets an environment variable that stops the app from starting.
- Claude never uses the brain. Restart Claude Code after Edith's first launch, then open Connection in Edith and check that the session primer says installed.
Uninstalling
Quit Edith and delete it from Applications. Then remove what it added: the edith entry under mcpServers in ~/.claude.json, the hook in ~/.claude/settings.json whose command ends in # edith:session-context, the ~/.claude/skills/edith folder, and any starter skills you no longer want. Your notes stay in ~/Library/Application Support/Edith until you delete that folder too.
How it works
Tools Claude gets
The last two are what let Claude do the distilling itself, on your plan, with no key anywhere.
Edith hosts the MCP server itself rather than spawning it. That is what makes the highlighting instant: a tool call and the glow are the same tick.
Adding your own content
Add content in the sidebar opens an import dialog with two modes:
Re-importing a file deepens the existing note rather than creating a duplicate, so syncing a folder repeatedly is safe. A file with broken frontmatter loses its metadata, not its content.
Note format
Every note records the sessions it came from. That provenance is written from day one, so tracing a concept back to its conversations is a view rather than a migration.
Things worth knowing
Upgrading from the old name. Edith was previously called SecondBrain. On first launch it copies your existing vault and settings across from the old location, and replaces the stale secondbrain entry in ~/.claude.json with edith so Claude does not see two identical tool sets. The old directory is left untouched as a fallback.
An API key does not give access to claude.ai history. The Messages API is stateless; there is no endpoint listing past conversations. Edith reads Claude Code's local transcripts. The API key is used only to distill them.
Most .jsonl files under ~/.claude/projects are not sessions. Subagent and workflow transcripts nest under session directories and typically outnumber real sessions by roughly 9:1. Edith classifies by path shape so they never become notes.
Transcripts are trees. Interrupting Claude forks the history and leaves the abandoned branch in the file. The parser walks back from last-prompt.leafUuid so only what actually happened gets distilled.
Your config is safe. Registration merges a single key into ~/.claude.json, writes atomically, and backs the file up before first modification.
Development
Tests cover path classification, fork resolution, malformed-line tolerance, vault merge semantics, config-write safety, a live MCP client over HTTP, and the full pipeline end to end with the API call mocked.
Not in v1
claude.ai export import - session-layer graph rendering - cross-machine sync - semantic search. Search sits behind a SearchProvider interface, so adding hybrid retrieval later touches one file.
License
Edith is source-available under the Functional Source License, Version 1.1, MIT Future License (FSL-1.1-MIT). You can read, use, modify and share it for anything except offering it, or something substantially similar, as a competing commercial product or service. Each release becomes MIT-licensed two years after it is published.
© 2026 Raghav Chari and Kate Bonner.
Source: README.md at commit 7694fed
Tools
0Version history
1- v0.1.0LatestSep 22, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
Other Brain integrations

BrainDog
dog.brainOfficial publisher
BrainDog is a hosted record of projects, decisions and money that connected AI agents read before starting work and write their results into.

Codebase Brain
Published by GitHub account Nomannazir
Indexes a local or public git codebase so an assistant can search it, trace git history, check change impact and find stale docs, all with path:line citations.

Personal Brain
Published by GitHub account zhang-liz
Gives an AI assistant memory of your professional network, stored as a graph in FalkorDB, so it can look up contacts, find people by topic, and save who you…

Second Brain
Published by GitHub account ara-5
Shared Graph-RAG memory for AI agents: markdown vault, wikilink recall, tasks, messaging.

Make0 Brain
Published by GitHub account make0-official
Local, offline memory server that gives Claude Code, Cursor, Codex and other MCP agents one shared, versioned store of durable facts.