A hierarchical planning and task management tool with powerful MCP server integration for AI assistants
Scatterbrain keeps an AI Agent on task, so you don't have to. It does this by treating the AI to act as a planner and implementer, in alternating fashion. This helps the AI break down complex problems into manageable, hierarchical tasks and more importantly, keeps it on track. Its primary strength lies in its Model Context Protocol (MCP) server, which seamlessly integrates with AI assistants like Claude and Cursor, enabling intelligent task management and planning workflows.
output4_small.mov
Installation Options
Shell Script (macOS/Linux):
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/owen-d/scatterbrain/releases/latest/download/scatterbrain-installer.sh | sh
PowerShell (Windows):
powershell -ExecutionPolicy Bypass -c "irm https://github.com/owen-d/scatterbrain/releases/latest/download/scatterbrain-installer.ps1 | iex"
Direct Download: Download pre-built binaries for your platform from the latest release:
- macOS:
scatterbrain-aarch64-apple-darwin.tar.xz
(Apple Silicon) orscatterbrain-x86_64-apple-darwin.tar.xz
(Intel) - Linux:
scatterbrain-x86_64-unknown-linux-gnu.tar.xz
(x64) orscatterbrain-aarch64-unknown-linux-gnu.tar.xz
(ARM64) - Windows:
scatterbrain-x86_64-pc-windows-msvc.zip
# Install Rust if you haven't already
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Clone and build scatterbrain
git clone https://github.com/owen-d/scatterbrain.git
cd scatterbrain
cargo build --release
# Install globally (optional)
cargo install --path .
Once installed, all you need to do is add the following to your Cursor MCP configuration (expose is optional, but allows you to follow progress via the web interface):
{
"mcpServers": {
"scatterbrain": {
"command": "scatterbrain",
"args": [
"mcp",
"--expose",
"3099"
],
"env": {}
}
}
}
Scatterbrain's hierarchical planning system helps you break down complex projects into manageable tasks across multiple abstraction levels:
As you work through your plan, the interface shows your progress and maintains context across all levels:
- "leveled" abstraction system: Planning β Isolation β Ordering β Implementation
- Break complex projects into manageable pieces
- Natural progression from high-level goals to specific actions
- specialized tools for AI assistants
- Plan creation, task management, navigation, and notes
- Seamless integration with Cursor, Claude, and other MCP-compatible tools
- Modern browser-based UI for visual task management
- Real-time updates and intuitive navigation
- Access via
--expose
flag when running MCP server
- Complete command-line interface for all operations
- Shell completions for bash, zsh, fish
- Environment variable support for workflow integration
Usage Modes
Perfect for AI-assisted development and planning:
scatterbrain mcp --expose 8080
- Provides MCP tools to AI assistants
- Optional web UI access
- Ideal for collaborative AI workflows
Direct command-line interaction:
# Create a plan
scatterbrain plan create "Build documentation system"
# Add tasks and navigate
export SCATTERBRAIN_PLAN_ID=1
scatterbrain task add --level 0 "Design architecture" --notes "High-level planning"
scatterbrain move 0
Standalone web server:
scatterbrain serve --port 3000
- Full REST API access
- Web UI at http://localhost:3000
- Programmatic integration
Best of all worlds:
scatterbrain mcp --expose 8080
- MCP server for AI assistants
- Web UI for visual management
- CLI access for scripting
Documentation
- MCP Integration Guide - Complete guide to using scatterbrain with AI assistants
- CLI Reference - Comprehensive command documentation
- Web UI Guide - Browser interface walkthrough
- Examples & Patterns - Real-world usage scenarios
- Architecture Overview - System design and concepts
Scatterbrain organizes work across four abstraction levels:
- Planning (Level 0) - High-level goals and architecture
- Isolation (Level 1) - Independent components and boundaries
- Ordering (Level 2) - Sequence and dependencies
- Implementation (Level 3) - Concrete, actionable tasks
When running as an MCP server, scatterbrain provides these tools to AI assistants:
get_plan
- Retrieve plan details and structurecreate_plan
- Create new plans from promptsadd_task
- Add tasks at appropriate abstraction levelscomplete_task
- Mark tasks as completed with summariesmove_to
- Navigate between tasksget_current
- Get current task contextget_distilled_context
- Get focused planning context- And 10 more specialized tools for comprehensive task management
This project is licensed under the MIT License - see the LICENSE file for details.