Brain.Md — AI skill for Claude Code
Local-first markdown notes with a first-class MCP server.
How to install Brain.Md
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mi4uu/brain.md and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Brain.Md does
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.
Alternatives in AI
- Guild — Shared context, memory, and task coordination across AI coding agents 311 ★
- Bilibili Douyin Notes — 把 B站 / 抖音 / YouTube / 小红书视频一键整理成 Markdown 课堂笔记的 AI Agent Skill:字幕抓取 + 本地语音识别 + 笔记模板,免登录、不调付费 API 169 ★
- Kos Community — KOS Community is a free, open-source Markdown workspace for notes, projects and AI-assisted workflows 103 ★
README
brain.md
**A local-first second brain for you, and for your AI agents.**
[](LICENSE) [](https://bun.com) [](docs/mcp.md) [](#semantic-search-rag) [](https://glama.ai/mcp/servers/mi4uu/brain.md)

What you get
| Obsidian-compatible markdown | Wikilinks, embeds, callouts, math, mermaid, tasks, frontmatter, aliases. Open your existing Obsidian vault and it just works. |
| Graph view | Interactive map of your notes and wikilinks: hover to light up neighbours, click to open, drag, zoom, filter by folder or tag, plus a local graph of the current note. Smooth on thousands of notes. |
| Live editor + preview | CodeMirror 6 with cursor-anchored scroll sync, autosave, instant tooltips, command palette, quick switcher. |
| Semantic search built in | Per-vault embedded vector store (pure JS, no external DB). Notes are chunked, embedded and indexed on every save. |
| Pluggable embedders | Default: bge-small-en-v1.5 running locally via bundled WASM ONNX, works in the prebuilt single binary, zero native deps. Or point at Ollama, LM Studio, or OpenAI: anything with /v1/embeddings. |
| MCP server (streamable HTTP) | 18 tools and 2 resources mounted on the same port. Claude Desktop, Claude Code, Cursor and any MCP-compliant agent can read, search, query and write your notes. |
| MCP Apps note view | In hosts that support MCP Apps (tested with |
Related Skills
Aios Klaudynka
Personal Agentic OS in Markdown: local RAG (LanceDB + BGE-M3), 14 core skills + 4 optional meta skills, Backpa
Mind Graph
Agent skill that turns a codebase, a folder of documents (PDF, Word, PowerPoint, Excel, Markdown/Obsidian note
Knowflow
Agent-native Markdown knowledge workspace: capture URLs and notes, organize them into linked wikis with your A
Brain CLI
Persistent memory for AI agents and personal knowledge management. Single-file Python CLI: hybrid semantic + k
Memglow
Watch your AI's memory come alive — a live 3D brain of your Markdown notes that lights up as Claude Code, Curs
Agent Knowledge System
A knowledge + task system designed for AI consumers, with human-readable docs as a first-class output — Astro-
Related Agents
Local Brain Search
Local vector search and connection discovery for the Brain. Use for semantic search, finding connections betwe
Corpus Researcher
Search a notes corpus (a summaries folder, a knowledge vault, a set of markdown digests) for existing coverage
Librarian Agent
Librarian for a notes/knowledge-base vault (Obsidian-style or plain-markdown) — filing new notes, organizing f