______ ______ ______ __ __ __
/\ == \ /\ == \ /\ __ \ /\ \ /\ "-.\ \
\ \ __< \ \ __< \ \ __ \ \ \ \ \ \ \-. \
\ \_____\ \ \_\ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\
\/_____/ \/_/ /_/ \/_/\/_/ \/_/ \/_/ \/_/
A local-first project management tool — with a CLI/TUI for humans and an MCP server for AI agents.
Local Brain keeps your projects, tasks, and notes in plain Markdown files on your own machine. Use it yourself via the CLI and TUI, or let an AI agent manage your projects through the built-in MCP server — or both.
- Zero-friction capture —
brain add "..."takes under a second, no context switching - Batch curation — process and organize during dedicated time blocks with
brain refileandbrain plan - Full CLI — every operation is a command; scriptable and composable
- Optional TUI — visual project and task overview with
brain tui
- 18 purpose-built MCP tools — designed to minimize LLM round-trips while giving complete access to your projects
- 7 bundled Agent Skills — teach your AI agent how to be a project manager: daily briefings, inbox triage, weekly reviews, project planning, and more
- Personal assistant — run
brain stormto open Claude in your brains directory for an interactive session - Works with any skills-compatible agent — Claude Code, Codex, Gemini CLI, OpenCode
# macOS/Linux (Homebrew)
brew tap SanderMoon/tap
brew install brain
# Or build from source
git clone https://github.com/SanderMoon/local-brain.git && cd local-brain
make install && make install-mcpbrain init # create your first brainbrain mcp install # register the MCP server with detected agents
brain skill install # install skills (daily briefing, triage, planning, ...)This auto-detects your installed agents (Claude Code, Codex, Gemini CLI, OpenCode) and configures both the MCP server and skills for each. You can target a specific agent with --agent claude.
# CLI: capture → organize → act
brain add "Fix authentication bug"
brain refile # move inbox items to projects
brain todo ls --priority 1 # see what matters today
# AI: just talk to your agent
# "Good morning" → daily briefing
# "Process my inbox" → guided triage
# "Let's plan the website redesign" → project breakdownPhase 1: Capture (< 1 second)
Dump everything to your inbox — no metadata, no decisions, no interruptions.
brain add "Fix auth bug in login"
brain add "Review Sarah's PR"
brain add "Update deployment docs"Phase 2: Curate (dedicated time blocks)
Organize, prioritize, and act on your items in batch.
brain refile # move inbox items to projects
brain plan # add priorities, due dates, tags
brain todo ls # see your task listOr let your AI agent handle it — with skills installed, just say "process my inbox" and it walks you through each item.
Local Brain ships 7 bundled skills that follow the Agent Skills open standard. Skills teach your AI agent structured workflows — turning it from a generic chatbot into a capable project manager.
| Skill | What it does |
|---|---|
brain-daily |
Morning briefing — priorities, overdue tasks, blocked items |
brain-setup |
First-time setup wizard — conversational onboarding |
brain-capture |
Quick capture with smart metadata inference |
brain-triage |
Systematic inbox processing — refile, categorize, discard |
brain-plan |
Break goals into concrete tasks with priorities and deadlines |
brain-focus |
Deep work session with distraction capture |
brain-review |
Weekly review of progress, stale work, and priorities |
brain skill install # install all skills to detected agents
brain skill upgrade # update skills after a brain version upgrade
brain skill status # check what's installed whereTogether, these skills form a complete Capture → Organize → Plan → Execute → Reflect loop — inspired by GTD, adapted for AI-assisted workflows.
Customizing skills: Installed skills live as plain SKILL.md files in your agent's skills directory (e.g.,
~/.claude/skills/). You're free to edit them — but note thatbrain skill upgradewill overwrite your changes. To preserve customizations, either skip upgrading that skill or keep your edits in a separate file alongside SKILL.md.
Brains: Top-level workspaces (e.g., "Work", "Personal"). Only one is active at a time, symlinked to ~/brain.
Projects: Focus areas within a brain (e.g., "website-redesign"). Each has notes.md, todo.md, and optional git repo links.
Dump: Your inbox (00_dump.md) for rapid capture. Process it regularly with brain refile.
- 🚀 Quickstart Guide — Get started in 3 minutes
- 📦 Installation — All installation methods
- 📖 Command Reference — Complete command documentation
- 🤖 MCP Server Setup — AI agent integration (Claude Desktop, Claude Code)
- 💻 Development Guide — Architecture and contributing
Contributions are welcome! See the Development Guide for setup, architecture, and contributing guidelines.
git clone https://github.com/SanderMoon/local-brain.git
cd local-brain
make build
make test- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: https://sandermoon.github.io/local-brain/
MIT License — See LICENSE file for details.

