Taskwarrior MCP Server
The Taskwarrior MCP Server enables AI assistants to fully manage tasks using the Taskwarrior command-line tool, covering everything from basic operations to intelligent productivity analysis.
Core Task Operations:
List tasks — Filter by status, project, tags, due dates, urgency, or custom Taskwarrior expressions
Add tasks — Create tasks with description, project, priority (H/M/L), due date, tags, and dependencies
Modify tasks — Update any attribute including description, project, priority, due date, and tags
Complete / Delete tasks — Mark tasks done or remove them (deletions are recoverable via undo)
Get task details — View all attributes and annotations for a specific task
Annotate tasks — Add notes or comments to a task
Start / Stop tasks — Track active work by marking tasks in-progress or paused
Undo — Revert the last operation
Organization & Overview:
List projects and tags with task/usage counts
Task summary statistics — Pending task counts broken down by project, priority, and urgency
Agent Intelligence Features:
Smart task recommendations with scoring and reasoning
Identify ready-to-work tasks (no pending dependencies)
Find blocked tasks and analyze dependency bottlenecks
Triage stale/forgotten tasks that need attention
Output Formats: Most tools support both Markdown (human-readable) and JSON (machine-readable) output.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Taskwarrior MCP Server list all tasks in my Work project that are due this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Taskwarrior MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to interact with Taskwarrior, the powerful command-line task management tool.
Features
Full Taskwarrior Integration: List, create, modify, complete, and delete tasks
Project & Tag Management: Organize tasks with projects and tags
Annotations: Add notes and context to tasks
Filtering: Use Taskwarrior's powerful filter expressions
Multiple Output Formats: Get responses in Markdown or JSON
Agent Intelligence: Smart suggestions, dependency analysis, triage tools
Related MCP server: Tasks MCP Server
Prerequisites
Python 3.10 or higher
Taskwarrior installed and available in your PATH
Installing Taskwarrior
# macOS
brew install task
# Ubuntu/Debian
sudo apt install taskwarrior
# Fedora
sudo dnf install task
# Arch Linux
sudo pacman -S taskInstallation
From PyPI (recommended)
pip install taskwarrior-mcpFrom Source
git clone https://github.com/yourusername/taskwarrior-mcp.git
cd taskwarrior-mcp
pip install -e .Verifying Installation
# Check the version
python -c "from taskwarrior_mcp import __version__; print(__version__)"
# Or run the server directly
taskwarrior-mcp --helpConfiguration
See the examples/ directory for complete configuration files.
Claude Desktop
Add to your Claude Desktop configuration file:
Platform | Location |
macOS |
|
Windows |
|
{
"mcpServers": {
"taskwarrior": {
"command": "taskwarrior-mcp"
}
}
}Claude Code CLI
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"taskwarrior": {
"command": "taskwarrior-mcp"
}
}
}Using uvx (no installation required)
{
"mcpServers": {
"taskwarrior": {
"command": "uvx",
"args": ["taskwarrior-mcp"]
}
}
}Advanced Configuration
Use environment variables to customize Taskwarrior behavior:
{
"mcpServers": {
"taskwarrior": {
"command": "taskwarrior-mcp",
"env": {
"TASKRC": "/path/to/custom/.taskrc",
"TASKDATA": "/path/to/custom/.task"
}
}
}
}See examples/ for more configurations including multiple databases.
Available Tools
Core Task Management
Tool | Description |
| List tasks with optional filtering |
| Create a new task |
| Mark a task as completed |
| Modify task attributes |
| Delete a task |
| Get detailed info about a task |
| Get detailed info about multiple tasks at once |
| Add a note to a task |
| Start working on a task |
| Stop working on a task |
| List all projects |
| Get detailed project summaries with priority breakdown, due dates, and active tasks |
| List all tags |
| Undo the last operation |
| Get task statistics |
Agent Intelligence Tools
Tool | Description |
| Get smart task recommendations with scoring and reasoning |
| List tasks that are ready to work on (no pending dependencies) |
| List tasks that are blocked by dependencies |
| Analyze dependency graphs and find bottlenecks |
| Find forgotten/stale tasks that need attention |
| Get rich task context with computed insights |
Usage Examples
Once configured, you can interact with Taskwarrior through your AI assistant:
Basic Task Management
"What tasks do I have?"
"Add a task to review the quarterly report with high priority"
"Show me all tasks in the work project"
"Complete task 5"
"What's due this week?"
Agent Intelligence
"What should I work on next?" - Uses
taskwarrior_suggestfor smart recommendations"What tasks are ready to start?" - Uses
taskwarrior_readyfor unblocked tasks"What's blocking my progress?" - Uses
taskwarrior_blockedandtaskwarrior_dependencies"Any tasks I've forgotten about?" - Uses
taskwarrior_triagefor stale/orphaned tasks"Give me context on task 5" - Uses
taskwarrior_contextfor rich task details
Development
Setup
git clone https://github.com/yourusername/taskwarrior-mcp.git
cd taskwarrior-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"Running Tests
pytestCode Quality
# Format code
black .
ruff check --fix .
# Type checking
mypy taskwarrior_mcp.pyLicense
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines on:
Development setup
Commit message conventions (Conventional Commits)
Pull request process
Code style requirements
Available Tools
13 toolstaskwarrior_addA
Create a new task in Taskwarrior.
Use this tool to add new tasks with optional project, priority, due date, and tags.
Args:
params: AddTaskInput containing description and optional attributes
Returns:
Confirmation message with the created task ID
Examples:
- Simple task: params with description="Buy groceries"
- Task with project: params with description="Review PR", project="work"
- High priority task: params with description="Fix bug", priority="H"
- Task with due date: params with description="Submit report", due="friday"
- Task with tags: params with description="Call mom", tags=["personal", "important"]
Inputs: params (required). Returns: result
taskwarrior_annotateA
Add an annotation (note) to a task.
Use this tool to add notes, comments, or additional context to a task.
Args:
params: AnnotateTaskInput containing task_id and annotation text
Returns:
Confirmation message
Examples:
- Add note: params with task_id="5", annotation="Discussed with John, needs review"
Inputs: params (required). Returns: result
taskwarrior_completeAIdempotent
Mark a task as completed.
Use this tool when a task has been finished and should be marked as done.
Args:
params: CompleteTaskInput containing the task_id to complete
Returns:
Confirmation message
Examples:
- Complete task #5: params with task_id="5"
- Complete by UUID: params with task_id="a1b2c3d4"
Inputs: params (required). Returns: result
taskwarrior_deleteADestructiveIdempotent
Delete a task from Taskwarrior.
Use this tool to remove a task. The task is marked as deleted but can be
recovered with 'undo' if needed.
Args:
params: DeleteTaskInput containing the task_id to delete
Returns:
Confirmation message
Examples:
- Delete task #5: params with task_id="5"
Inputs: params (required). Returns: result
taskwarrior_getARead-onlyIdempotent
Get detailed information about a specific task.
Use this tool to view all attributes and annotations of a single task.
Args:
params: GetTaskInput containing task_id and response_format
Returns:
Detailed task information (markdown or JSON)
Examples:
- Get task #5: params with task_id="5"
- Get task as JSON: params with task_id="5", response_format="json"
Inputs: params (required). Returns: result
taskwarrior_listARead-onlyIdempotent
List tasks from Taskwarrior with optional filtering.
Use this tool to view tasks, search for specific tasks, or get an overview
of pending work. Supports Taskwarrior filter expressions for powerful querying.
Args:
params: ListTasksInput containing filter, status, limit, and response_format
Returns:
Formatted list of tasks (markdown or JSON based on response_format)
Examples:
- List all pending tasks: params with status="pending"
- List tasks for a project: params with filter="project:work"
- List urgent tasks: params with filter="+urgent"
- List tasks due today: params with filter="due:today"
- List completed tasks: params with status="completed"
Inputs: params (required). Returns: result
taskwarrior_modifyAIdempotent
Modify an existing task's attributes.
Use this tool to update task description, project, priority, due date, or tags.
Args:
params: ModifyTaskInput containing task_id and attributes to modify
Returns:
Confirmation message with updated task info
Examples:
- Change description: params with task_id="5", description="Updated task name"
- Change project: params with task_id="5", project="personal"
- Set priority: params with task_id="5", priority="H"
- Add tags: params with task_id="5", add_tags=["urgent"]
- Remove due date: params with task_id="5", due=""
Inputs: params (required). Returns: result
taskwarrior_projectsARead-onlyIdempotent
List all projects in Taskwarrior.
Use this tool to see all projects and the number of tasks in each.
Args:
params: ListProjectsInput with response_format
Returns:
List of projects with task counts
Examples:
- List projects: params with response_format="markdown"
Inputs: params (required). Returns: result
taskwarrior_startAIdempotent
Start working on a task.
Use this tool to indicate you're actively working on a task. This adds the
'active' state to the task.
Args:
params: StartTaskInput containing the task_id to start
Returns:
Confirmation message
Examples:
- Start task #5: params with task_id="5"
Inputs: params (required). Returns: result
taskwarrior_stopAIdempotent
Stop working on a task.
Use this tool to indicate you've paused work on a task.
Args:
params: StopTaskInput containing the task_id to stop
Returns:
Confirmation message
Examples:
- Stop task #5: params with task_id="5"
Inputs: params (required). Returns: result
taskwarrior_summaryARead-onlyIdempotent
Get a summary of task statistics.
Use this tool to get an overview of pending tasks, including counts by
project, priority, and urgency.
Returns:
Summary statistics of tasks
Inputs: no named parameters. Returns: result
taskwarrior_tagsARead-onlyIdempotent
List all tags used in Taskwarrior.
Use this tool to see all tags and how many tasks use each tag.
Args:
params: ListTagsInput with response_format
Returns:
List of tags with usage counts
Examples:
- List tags: params with response_format="markdown"
Inputs: params (required). Returns: result
taskwarrior_undoA
Undo the last Taskwarrior operation.
Use this tool to revert the most recent change to tasks.
Args:
params: UndoInput (no parameters needed)
Returns:
Confirmation message
Examples:
- Undo last action: params with no special values
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose targeting specific operations in Taskwarrior's task management lifecycle. Tools like add, modify, complete, delete, start, and stop handle different states and actions without overlap, while list, get, projects, tags, summary, and annotate serve distinct informational roles. The descriptions reinforce these boundaries, making tool selection unambiguous.
All tool names follow a consistent 'taskwarrior_' prefix with a descriptive verb_noun pattern (e.g., taskwarrior_add, taskwarrior_list, taskwarrior_modify). This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming conventions across the 13 tools.
With 13 tools, this server is well-scoped for managing tasks in Taskwarrior, covering core CRUD operations (add, get, modify, delete), lifecycle states (start, stop, complete), informational queries (list, projects, tags, summary), and utilities (annotate, undo). Each tool earns its place without bloat, aligning with the domain's complexity.
The tool set provides complete coverage for Taskwarrior's domain, including task creation, retrieval, updating, deletion, state management (start/stop/complete), filtering, metadata access (projects/tags), annotations, undo functionality, and summary statistics. No obvious gaps exist; agents can perform all essential workflows without dead ends.
Maintenance
Related MCP Connectors
ADHD-friendly task management MCP server for ChaTodo: organize tasks, lists, and priorities.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
MCP server for Google Tasks: review, plan and tidy your tasks by asking. Deletes always ask first.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn unofficial MCP server that enables AI agents to create and list tasks in Todoist using natural language. It supports task details such as due dates, priorities, and labels, while allowing for project-based filtering.312 PyPIMIT
- 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.-
- AlicenseNot gradedqualityFmaintenanceAn MCP server that provides AI assistants with full access to Todoist tasks, projects, labels, and filters. It enables comprehensive task management, project organization, and productivity tracking through a wide range of specialized tools.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for TickTick task management. Enables AI assistants to create, update, list, search, and complete tasks via natural language.31MIT