Documentation
Everything you need to get started with Flanner - the AI-powered plan file management system
Installation
Prerequisites
- Python 3.8 or higher
- Git installed and initialized in your project
- Claude Code installed (optional, for MCP integration)
Step 1: Clone or Download
git clone https://github.com/yourusername/flanner.git
cd flannerStep 2: Install Dependencies
Windows:
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txtLinux/Mac:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txtStep 3: Install Flanner Command
Install Flanner globally to use the flanner command from anywhere:
pip install -e .Quick Start
Navigate to Your Project
Make sure you're in a git repository:
cd your-project
git init # if not already initializedInitialize Flanner
Run the init command to set up everything:
flanner initThis command will:
- Create the database at ~/.flanners/data.db
- Detect your git repository root
- Create .plans/ directory for plan files
- Update .gitignore to exclude plan files
- Automatically register with Claude Code
Verify Installation
Check that everything is working:
flanner statusStart Using with Claude
Restart Claude Code and ask Claude to manage your plan files:
CLI Commands
Core Commands
flanner initInitialize Flanner in your project
flanner statusCheck server status and project information
flanner listList all projects
flanner list --project PROJECT_NAMEList plan files for a specific project
Plan File Management
flanner syncSync existing plan files into database
flanner sync --dry-runPreview sync without making changes
flanner sync --project PROJECT_NAMESync specific project only
Web Interface
flanner webLaunch web UI on default port (8080)
flanner web --open-browserLaunch and auto-open browser
flanner web --port 3000Launch on custom port
Claude Code Integration
flanner claude-infoShow integration status
flanner registerRegister MCP server with Claude Code
flanner register --forceForce update configuration
flanner unregisterUnregister from Claude Code
Project Configuration
flanner config PROJECT_NAME --plan-dir DIRConfigure project settings
flanner setup-gitignore PROJECT_NAMEUpdate .gitignore manually
Plan File Format
All plan files managed by Flanner include YAML frontmatter with metadata:
---
mcp_plan_file: true
plan_manager_version: '1.0'
project_id: 3d816ecd-489a-4fa0-abe2-15ec93f60d5a
project_name: my-app
plan_file_id: 59c34f9c-8471-47fc-97f2-8dcfefa15434
plan_name: architecture
version: 2
created_at: 2025-01-15T10:30:00Z
created_by: claude
---
# Architecture Plan
Your plan content here...Web Interface
Features
Dashboard
Overview of all projects with statistics
Project Management
Create and manage projects
Markdown Preview
Beautiful rendering with syntax highlighting
Version History
Timeline view of all changes
Plan Editor
Edit plans with live preview
Responsive Design
Works on all devices
Claude Code Integration
Automatic Registration
Flanner automatically registers with Claude Code during initialization. No manual configuration needed!
flanner claude-info # Check integration statusManual Registration
If needed, you can manually register or update:
flanner registerflanner register --force # Force updateflanner unregister # Unregister