Local-first markdown notes with a first-class MCP server. 16 tools + 2 resources for Claude Code, Claude Desktop, Cursor and any MCP agent. Per-folder permissions, semantic RAG via LanceDB, single Bun binary. AGPL.
brain.md is a local-first note-taking application that combines a polished markdown editor with built-in AI capabilities. It stores notes as plain text files on your computer (Obsidian-compatible) and includes a semantic search engine that works fully offline using bundled AI technology. The app also acts as an MCP server, allowing AI assistants like Claude to read, search, and write your notes with per-folder access controls. Everything runs on your machine—no cloud services, no API keys required, and data never leaves your device.
How It Works
A friend tells you about a tool that keeps your notes private yet lets AI assistants help you search and organize them.
A simple download command puts a single file on your computer—no extra software, no accounts, no waiting.
The editor shows your text on one side and a beautiful preview on the other, with your existing Obsidian notes working instantly.
With a simple right-click, you lock down private folders so AI assistants can never see them—your secrets stay yours.
You ask 'what was I working on last week about project X?' and get answers from your notes, not the internet.
Your AI creates or updates notes in your vault, saving them exactly where you want them.
Every change automatically gets recorded in git history—you can see when you wrote something, restore old versions, and never lose work.
You have a fast, private note system that AI can help with, everything stays on your computer, and your notes are plain text files you own forever.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.