MCP Hub
Back to servers

Taskwarrior MCP Server

An MCP server that enables AI assistants to interact with the Taskwarrior command-line task management tool. It allows users to list, create, modify, and organize tasks using projects, tags, and annotations through natural language.

Updated
Jan 31, 2026

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

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 task

Installation

From PyPI (recommended)

pip install taskwarrior-mcp

From Source

git clone https://github.com/yourusername/taskwarrior-mcp.git
cd taskwarrior-mcp
pip install -e .

Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "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"]
    }
  }
}

Available Tools

ToolDescription
taskwarrior_listList tasks with optional filtering
taskwarrior_addCreate a new task
taskwarrior_completeMark a task as completed
taskwarrior_modifyModify task attributes
taskwarrior_deleteDelete a task
taskwarrior_getGet detailed info about a task
taskwarrior_annotateAdd a note to a task
taskwarrior_startStart working on a task
taskwarrior_stopStop working on a task
taskwarrior_projectsList all projects
taskwarrior_tagsList all tags
taskwarrior_undoUndo the last operation
taskwarrior_summaryGet task statistics

Usage Examples

Once configured, you can interact with Taskwarrior through your AI assistant:

  • "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?"

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

pytest

Code Quality

# Format code
black .
ruff check --fix .

# Type checking
mypy taskwarrior_mcp.py

License

MIT License - see LICENSE for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Reviews

No reviews yet

Sign in to write a review