taskdog-mcp
taskdog-mcp is an MCP server that lets Claude manage a local Taskdog task database — full task CRUD, status/time tracking, tagging, notes, dependencies, audit logs, and schedule optimization.
Task management: list (filter by status/tags/archive, sort), get details, create, update, delete (soft-archive or hard), and restore tasks
Status lifecycle: start, complete, pause, cancel, and reopen tasks to move between PENDING, IN_PROGRESS, COMPLETED, and CANCELED
Time tracking: fix actual start/end/duration timestamps (or clear them) for historical accuracy
AI-oriented discovery:
get_executable_tasksreturns PENDING/IN_PROGRESS tasks sorted by priority so Claude can pick work to doDecomposition: break a large task into subtasks with optional grouping tags, sequential dependencies, and archiving of the original
Dependencies: add or remove task-to-task dependencies (with circular-dependency detection)
Tags & notes: set a task's tags, delete tags system-wide, and read or update markdown notes
Statistics: task stats by period (all/7d/30d) plus per-tag task counts
Audit logs: list logs filtered by task, operation, client, time range, or failure, and fetch individual entries with old/new values
Schedule optimization: run one of 9 algorithms (greedy, balanced, backward, EDF, CPM, genetic, monte carlo, etc.) with daily hour limits, date ranges, weekend handling, and override control;
list_algorithmsdiscovers them
Supports Docker container deployment with demo environments, allowing users to try the task management system without installation and run the server in containers.
https://github.com/user-attachments/assets/2c0de3ec-fa3d-4f41-ae01-acbff04931e3
TUI (Textual)

Gantt Chart (CLI)

Try It Out
Try taskdog with ~50 sample tasks. No installation required — just Docker:
docker run --rm -it ghcr.io/kohei-wada/taskdog:demoThe TUI works inside the container, but some keybindings (e.g., Ctrl+P for command palette) may conflict with Docker's key sequences. For the best experience, run the server in a container and connect from your host:
docker run --rm -d -p 8000:8000 --name taskdog-demo ghcr.io/kohei-wada/taskdog:demo
# Wait for the server and demo data to be ready (~15s)
docker logs -f taskdog-demo 2>&1 | grep -m1 "Server ready"
uvx --from taskdog-ui taskdog tui
uvxcomes with uv. It runs the command in a temporary environment without installing anything.
Related MCP server: mcp-task-manager
Installation
Requirements: Python 3.12+, uv
Supported Platforms: Linux, macOS
Experimental: Windows (WSL2 recommended; native support is still being hardened)
Recommended (with systemd/launchd service)
git clone https://github.com/Kohei-Wada/taskdog.git
cd taskdog
make installThis installs the CLI/TUI and server, and sets up a systemd (Linux) or launchd (macOS) service so the server starts automatically.
Arch Linux (AUR)
yay -S taskdogInstalls the CLI/TUI, server, and MCP binaries plus the systemd user service
(enable per-user with systemctl --user enable --now taskdog-server). See
contrib/aur/ for packaging details.
From PyPI
pip install taskdog-ui[server]You'll need to manage the server process yourself (e.g., taskdog-server &).
Windows Users
WSL2 is recommended and follows the same setup flow as Linux.
Native Windows support is experimental. By default, data is stored under
%LOCALAPPDATA%\taskdogand configuration under%APPDATA%\taskdog.The editor integration checks
%EDITOR%first, then falls back tocode,notepad, andvim.
Usage
taskdog add "My first task" --priority 10
taskdog list
taskdog gantt
taskdog tuiFor complete setup including API key configuration, see Quick Start Guide.
Features
Multiple Interfaces: CLI, full-screen TUI, and REST API
Schedule Optimization: 9 algorithms (greedy, genetic, monte carlo, etc.)
Search & Filter: fzf-style queries, progressive filter chains, multi-field sort
Time Tracking: Automatic tracking with planned vs actual comparison
Gantt Chart: Visual timeline with workload analysis
Task Dependencies: With circular dependency detection
Markdown Notes: Editor integration with Rich rendering
Audit Logging: Track all task operations
MCP Integration: Claude Desktop support via Model Context Protocol
Search, filter & sort
Maximize the task list, sort it from the command palette, then narrow it down with / search, Ctrl+U to re-search, and Ctrl+R to build a progressive filter chain (substring + status/tag exclusion):
https://github.com/user-attachments/assets/dcb44390-7b10-49a0-bdfc-01a03d7751f9
Documentation
Quick Start Guide - Step-by-step setup
CLI Commands Reference - Complete command documentation
API Reference - REST API endpoints and examples
Configuration Guide - All configuration options
Design Philosophy - Why Taskdog works this way
Deployment Guide - Docker, systemd, launchd
Write-ups
Background on why taskdog works the way it does, and how it is used day to day:
Building a CLI Task Manager That Solves the "When to Do It" Problem Taskwarrior Lacked - What was missing, and the scheduling model that came out of it
Funneling Slack requests into taskdog and letting /loop run them - Driving taskdog from an external inbox
Architecture
UV workspace monorepo with five packages:
Package | Description | PyPI |
Core business logic and SQLite persistence | ||
HTTP API client library | ||
FastAPI REST API server | ||
CLI and TUI interfaces | ||
MCP server for Claude Desktop |
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE for details.
Available Tools
26 toolsadd_dependencyA
Add a dependency between two tasks.
The task will depend on the specified task (must be completed first).
Args: task_id: ID of the task that will have the dependency depends_on_id: ID of the task it depends on
Returns: Confirmation with updated task info
Inputs: task_id (required), depends_on_id (required). Returns: object
cancel_taskA
Cancel a task.
Changes status to CANCELED.
Args: task_id: ID of the task to cancel
Returns: Updated task data
Inputs: task_id (required). Returns: object
complete_taskA
Mark a task as completed.
Changes status to COMPLETED and records end time.
Args: task_id: ID of the task to complete
Returns: Updated task data with completion confirmation
Inputs: task_id (required). Returns: object
create_taskA
Create a new task.
Args: name: Task name (required) priority: Task priority (higher = more important, default from config) deadline: Deadline in ISO format with time (e.g., '2025-12-11T18:00:00') estimated_duration: Estimated duration in hours (e.g., 0.5 = 30min, 1.5 = 1h30m) tags: List of tags for categorization is_fixed: Whether schedule is fixed (won't be moved by optimizer) planned_start: Planned start datetime in ISO format (e.g., '2025-12-11T09:00:00') planned_end: Planned end datetime in ISO format (e.g., '2025-12-11T17:00:00')
Returns: Created task data with ID
Inputs: name (required), tags, deadline, is_fixed, +4 more. Returns: object
decompose_taskA
Decompose a large task into smaller subtasks.
This tool helps break down complex tasks into manageable subtasks. Subtasks can be linked with sequential dependencies and grouped by tag.
Note: Taskdog does not have parent-child relationships. Instead, use dependencies + tags + notes to express relationships.
Args: task_id: ID of the original task to decompose subtasks: List of subtask definitions, each with: - name: Subtask name (required) - estimated_duration: Hours to complete (required) - priority: Priority level (optional, inherits from original) - tags: Additional tags (optional) group_tag: Tag to add to all subtasks for grouping (e.g., 'feature-x') create_dependencies: If True, create sequential dependencies archive_original: If True, archive the original task after decomposition
Returns: Decomposition result with created subtask IDs
Inputs: task_id (required), subtasks (required), group_tag, archive_original, +1 more. Returns: object
delete_tagA
Delete a tag from the system.
Removes the tag and all its associations with tasks.
Args: tag_name: Name of the tag to delete
Returns: Confirmation with tag name and affected task count
Inputs: tag_name (required). Returns: object
delete_taskB
Delete a task.
Args: task_id: ID of the task to delete hard: If True, permanently delete. If False, archive (soft delete).
Returns: Confirmation message
Inputs: task_id (required), hard. Returns: object
fix_actual_timesA
Fix actual start/end timestamps for a task.
Used to correct timestamps for historical accuracy. Past dates allowed.
Args: task_id: ID of the task to fix actual_start: New actual start in ISO format (e.g., '2025-12-13T09:00:00') actual_end: New actual end in ISO format (e.g., '2025-12-13T17:00:00') actual_duration: Explicit duration in hours (e.g., 0.5 = 30min, 1.5 = 1h30m) clear_start: Clear actual_start timestamp clear_end: Clear actual_end timestamp clear_duration: Clear actual_duration (use calculated value)
Returns: Updated task data with new timestamps
Inputs: task_id (required), clear_end, actual_end, clear_start, +3 more. Returns: object
get_audit_logA
Get detailed information about a specific audit log entry.
Args: log_id: The ID of the audit log entry to retrieve
Returns: Detailed audit log entry including old and new values
Inputs: log_id (required). Returns: object
get_executable_tasksA
Get tasks that AI can potentially execute.
Returns PENDING or IN_PROGRESS tasks sorted by priority. Use this to find tasks to work on.
Args: tags: Filter by tags (e.g., ['coding', 'ai-executable']) limit: Maximum number of tasks to return
Returns: List of executable tasks with details
Inputs: tags, limit. Returns: object
get_statisticsA
Get task statistics.
Args: period: Time period for statistics (all, 7d, 30d)
Returns: Statistics including counts by status, completion rates, etc.
Inputs: period. Returns: object
get_tag_statisticsA
Get statistics for all tags.
Returns: Tag statistics including task counts per tag
Inputs: no named parameters. Returns: object
get_taskA
Get detailed information about a specific task.
Args: task_id: The ID of the task to retrieve
Returns: Task details including notes
Inputs: task_id (required). Returns: object
get_task_notesB
Get notes for a task.
Args: task_id: ID of the task
Returns: Task notes content
Inputs: task_id (required). Returns: object
list_algorithmsA
List available schedule optimization algorithms.
Returns metadata for each algorithm so callers can choose one appropriate for their workload.
Returns:
Dict with algorithms (list of {name, display_name, description})
and total count.
Inputs: no named parameters. Returns: object
list_audit_logsA
List audit logs with optional filtering.
Args: task_id: Filter by task ID operation: Filter by operation type (e.g., 'create_task', 'complete_task') client_name: Filter by client name since: Filter logs after this datetime (ISO format, e.g., '2025-12-11T09:00:00') until: Filter logs before this datetime (ISO format, e.g., '2025-12-11T17:00:00'); a date-only value covers the whole day failed: If True, only show failed operations limit: Maximum number of logs to return
Returns: Dictionary with logs list and metadata
Inputs: limit, since, until, failed, +3 more. Returns: object
list_tasksA
List all tasks with optional filtering.
Args: include_archived: Include archived tasks (default: False) status: Filter by status (PENDING, IN_PROGRESS, COMPLETED, CANCELED) tags: Filter by tags (OR logic) sort_by: Sort field (id, name, priority, deadline, status, planned_start, estimated_duration, created_at, updated_at) reverse: Reverse sort order
Returns: Dictionary with tasks list and metadata
Inputs: tags, status, reverse, sort_by, +1 more. Returns: object
optimize_scheduleA
Auto-generate optimal task schedules.
Schedules tasks with estimated_duration based on priority, deadlines, and dependencies. By default schedules on weekdays only and skips tasks that already have a planned_start (use force_override to override).
Args: algorithm: Algorithm name. One of: greedy (front-load), balanced (even distribution), backward (JIT from deadline), priority_first (priority only), earliest_deadline (EDF), round_robin (parallel progress), dependency_aware (CPM), genetic (evolutionary), monte_carlo (random sampling). Use list_algorithms() to discover available algorithms. max_hours_per_day: Maximum work hours per day (e.g., 6.0 or 8.0) start_date: Optimization start date in ISO format (e.g., '2025-12-15' or '2025-12-15T09:00:00'). Defaults to server current time when omitted. task_ids: Specific task IDs to optimize. If omitted, all schedulable tasks are considered. force_override: If True, override existing schedules include_all_days: If True, schedule on weekends and holidays too
Returns: Optimization result with successful_tasks, failed_tasks, daily_allocations, and summary metrics.
Inputs: algorithm (required), max_hours_per_day (required), task_ids, start_date, +2 more. Returns: object
pause_taskA
Pause a task (reset to PENDING).
Changes status back to PENDING and clears timestamps.
Args: task_id: ID of the task to pause
Returns: Updated task data
Inputs: task_id (required). Returns: object
remove_dependencyA
Remove a dependency between two tasks.
Args: task_id: ID of the task with the dependency depends_on_id: ID of the dependency to remove
Returns: Confirmation with updated task info
Inputs: task_id (required), depends_on_id (required). Returns: object
reopen_taskA
Reopen a completed or canceled task.
Changes status back to PENDING.
Args: task_id: ID of the task to reopen
Returns: Updated task data
Inputs: task_id (required). Returns: object
restore_taskB
Restore an archived task.
Args: task_id: ID of the task to restore
Returns: Restored task data
Inputs: task_id (required). Returns: object
set_task_tagsB
Set tags for a task (replaces existing tags).
Args: task_id: ID of the task tags: New list of tags
Returns: Updated task info with new tags
Inputs: tags (required), task_id (required). Returns: object
start_taskA
Start working on a task.
Changes status from PENDING to IN_PROGRESS and records start time.
Args: task_id: ID of the task to start
Returns: Updated task data with status change confirmation
Inputs: task_id (required). Returns: object
update_taskC
Update an existing task.
Args: task_id: ID of the task to update name: New task name priority: New priority deadline: New deadline in ISO format with time (e.g., '2025-12-11T18:00:00') estimated_duration: New estimated duration in hours (e.g., 0.5 = 30min, 1.5 = 1h30m) tags: New tags list (replaces existing) is_fixed: New fixed status planned_start: New planned start datetime in ISO format (e.g., '2025-12-11T09:00:00') planned_end: New planned end datetime in ISO format (e.g., '2025-12-11T17:00:00')
Returns: Updated task data
Inputs: task_id (required), name, tags, deadline, +5 more. Returns: object
update_task_notesB
Update notes for a task.
Args: task_id: ID of the task content: New notes content (markdown)
Returns: Confirmation message
Inputs: content (required), task_id (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Each tool targets a distinct resource and action combination. Lifecycle verbs like start_task, complete_task, pause_task, cancel_task, and reopen_task are clearly differentiated by their state transitions, and list_tasks vs get_executable_tasks are distinguished by the latter's focus on AI-executable work.
All tool names follow a consistent verb_noun snake_case pattern (e.g., list_tasks, create_task, delete_task, optimize_schedule). Retrieval tools use get_ for single items and list_ for collections, and state-changing verbs are consistent throughout.
With 26 tools, this exceeds the 25-tool threshold for 'too many.' While the domain is broad, several utilities like get_task_notes, set_task_tags, and the various statistics tools could potentially be consolidated.
The tool surface provides comprehensive task lifecycle management: create, read, update, delete/archive/restore, all status transitions, dependencies, tags, notes, audit logs, statistics, scheduling optimization, and decomposition. No obvious gaps exist for a task management system.
Maintenance
Related MCP Connectors
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Simple, fast todo app: manage tasks, projects and tags from Claude and other MCP clients.
ADHD-friendly task management MCP server for ChaTodo: organize tasks, lists, and priorities.
AI-native Kanban board — connect Claude to claim, work and move your tasks over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA task management MCP server that provides tools to create, list, complete, and delete tasks using pluggable storage backends. It enables users to interact with their task lists through natural language using MCP-compatible clients like Claude Desktop.-
- FlicenseNot gradedqualityDmaintenanceA local task management MCP server that enables users to create, update, and manage tasks through natural language conversations with Claude. It provides nine tools for comprehensive task management including creation, filtering, searching, and daily planning without requiring a separate UI or backend service.-
- FlicenseNot gradedqualityDmaintenanceMCP server that wraps a personal task manager REST API, enabling Claude to read and manage tasks via tools like get_tasks and add_task.-
- AlicenseBqualityBmaintenanceA local-first task manager with SQLite backend, exposed as CLI, TUI, and MCP server. Enables AI assistants to manage tasks via tools for add, edit, search, plan, and more.19MIT