mi4uu

Brain.Md — AI skill for Claude Code

AI community

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

brain.md

**A local-first second brain for you, and for your AI agents.**

[![License: AGPL-3.0-or-later](https://img.shields.io/badge/license-AGPL--3.0--or--later-blue.svg)](LICENSE) [![Runtime: Bun](https://img.shields.io/badge/runtime-Bun-black.svg)](https://bun.com) [![MCP: streamable-http](https://img.shields.io/badge/MCP-streamable--http-7c3aed.svg)](docs/mcp.md) [![RAG: WASM ONNX](https://img.shields.io/badge/RAG-WASM%20ONNX-ec4899.svg)](#semantic-search-rag) [![Glama MCP server](https://glama.ai/mcp/servers/mi4uu/brain.md/badges/score.svg)](https://glama.ai/mcp/servers/mi4uu/brain.md)

![brain.md welcome](docs/img/hero-welcome.png)

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