Skip to main content
Glama

Todoist MCP Server

CI codecov Python 3.12+ License: MIT

A local MCP server for Todoist task management, designed for use with Claude.

Wraps both the Todoist REST v2 and Sync API v1 to provide comprehensive task management capabilities through the Model Context Protocol.

Features

  • Task CRUD — create, read, update, complete, delete, and move tasks

  • Batch operations — update multiple tasks in a single API call via the Sync API

  • Project management — list projects, resolve by name (case-insensitive)

  • Labels — create, rename, delete, and apply labels to tasks

  • Comments — read and add comments on tasks (Markdown supported)

  • Completed tasks — query tasks completed within a date range (weekly review metrics)

  • Graceful degradation — server starts without Todoist tools if API token is missing

Related MCP server: Todoist MCP Server

Setup

1. Get your Todoist API token

Go to Todoist Developer Settings and copy your API token.

2. Install

git clone https://github.com/stevesimpson418/todoist-mcp-server.git
cd todoist-mcp-server

# Install dependencies (creates .venv/ in the project directory)
uv sync

New to uv? uv sync reads pyproject.toml, creates a .venv/ virtualenv inside the project folder, and installs all dependencies into it. You don't need to activate it — uv run <command> handles that automatically.

3. Configure environment

cp .env.example .env
# Edit .env and add your TODOIST_API_TOKEN

4. Connect to Claude

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

Tip: Run uv run which python from the project directory to get the exact path for command.

{
  "mcpServers": {
    "todoist": {
      "command": "/absolute/path/to/todoist-mcp-server/.venv/bin/python",
      "args": ["-m", "todoist_mcp_server.server"],
      "env": {
        "TODOIST_API_TOKEN": "your_token_here"
      }
    }
  }
}

Adding to Claude Code CLI

Use the claude mcp add command to register the server. This works from any directory.

claude mcp add --scope user todoist-mcp-server \
  --transport stdio \
  --env TODOIST_API_TOKEN=your_token_here \
  -- /path/to/todoist-mcp-server/.venv/bin/python -m todoist_mcp_server.server

Replace /path/to/todoist-mcp-server with the actual path where you cloned the repo.

Tip: Run uv run which python from the project directory to get the exact .venv/bin/python path for the command.

The --scope user flag saves to ~/.claude.json so the server is available across all projects. Without it, the command defaults to local scope (tied to whatever directory you run it from). To scope it to a single project instead, use --scope project which writes to .mcp.json in the project root.

To verify the server is registered:

claude mcp list

Restart Claude Code after adding. The Todoist tools should appear in the /mcp menu.

Note: Claude Code CLI uses a different configuration from Claude Desktop. The claude mcp add command is the recommended way to register MCP servers — do not add them to ~/.claude/settings.json as that file is used for permissions and hooks only.

Updating

To pull the latest version and update dependencies:

cd /path/to/todoist-mcp-server
git pull
uv sync

Restart Claude Desktop or Claude Code CLI after updating.

Available tools

Tool

Description

list_todoist_projects

List all projects

get_project_tasks

Get tasks from a project

list_todoist_labels

List all labels

get_completed_tasks

Query completed tasks by date range

get_task_comments

Get comments on a task

create_task

Create a new task

update_task

Update task fields

move_task

Move task to another project

complete_task

Mark task as complete

delete_task

Permanently delete a task

batch_update_tasks

Batch update multiple tasks

add_task_comment

Add a comment to a task

create_todoist_label

Create a new label

rename_todoist_label

Rename a label

delete_todoist_label

Delete a label

Usage Examples

Weekly review — see what you accomplished:

1. get_completed_tasks(since="2026-03-28", until="2026-04-04")  → completed this week
2. list_todoist_projects()                                       → see all projects
3. get_project_tasks(project_name="Inbox")                       → triage leftover inbox tasks

Reorganise tasks across projects:

1. get_project_tasks(project_name="Inbox")                          → find tasks to sort
2. move_task(task_id="123456", project_name="Home Renovation")      → move to the right project
3. batch_update_tasks(tasks=[
       {"id": "234567", "labels": ["waiting-on"]},
       {"id": "345678", "priority": 3}
   ])                                                               → bulk tidy-up

Quick capture with context:

1. create_task(
       content="Review pull request #42",
       project_name="Work",
       due_string="tomorrow 10am",
       priority=3
   )
2. add_task_comment(task_id="456789", content="See https://github.com/org/repo/pull/42")

Development

# Install dev dependencies
uv sync --dev

# Run tests
uv run pytest -v

# Run tests with coverage
uv run pytest --cov=todoist_mcp_server --cov-report=term-missing

# Lint
uv run ruff check src/ tests/

# Format
uv run ruff format src/ tests/

# Install git hooks
lefthook install

Local .env file

When running the server manually outside Claude Desktop/Code (e.g., for development or debugging), you can create a .env file in the project root so the server picks up the API token without passing environment variables:

TODOIST_API_TOKEN=your_token_here

This is only needed for local development. The Claude Desktop and Claude Code CLI configs pass this value directly via the env block.

Releases

This project uses release-please for automated versioning and releases. The version is determined by Conventional Commits:

  • fix: commits bump the patch version (e.g. 0.1.0 → 0.1.1)

  • feat: commits bump the minor version (e.g. 0.1.1 → 0.2.0)

  • BREAKING CHANGE in the commit footer bumps the major version

When commits land on main, release-please opens (or updates) a Release PR that:

  • Bumps the version in pyproject.toml

  • Updates CHANGELOG.md with grouped entries

Merging the Release PR creates a git tag and GitHub Release automatically.

Packaging & Distribution

This server is currently distributed as source via git. To install:

git clone https://github.com/stevesimpson418/todoist-mcp-server.git
cd todoist-mcp-server
uv sync

This is the standard distribution model for local-stdio MCP servers today. The project is already configured for wheel builds via hatchling, so future distribution options include:

  • PyPI — publish to PyPI, then install with uv tool install todoist-mcp-server or pip install todoist-mcp-server. Would require adding a publish workflow to CI.

  • uvx — once on PyPI, uvx todoist-mcp-server runs the server without cloning the repo. Claude Desktop/Code config would point to the uvx-managed binary instead of a local .venv.

License

MIT

Available Tools

15 tools
add_task_commentA

Add a comment to a Todoist task.

Creates a new comment on the specified task. Supports Markdown formatting.

Inputs: content (required), task_id (required). Returns: object

batch_update_tasksA

Batch update multiple Todoist tasks in a single API call.

Uses the Todoist Sync API for efficiency — processes all operations in one request. Each operation can update fields and/or move a task to a different project. This is ideal for triage workflows where you need to process many tasks at once.

Inputs: operations (required). Returns: object

complete_taskA

Mark a Todoist task as complete.

The task will be moved to completed status. For recurring tasks, this advances to the next occurrence.

Inputs: task_id (required). Returns: object

create_taskA

Create a new task in Todoist.

Creates a task with the given content in the specified project. Optionally attach labels, a due date, and a description.

Inputs: content (required), labels, project, due_date, +1 more. Returns: object

create_todoist_labelB

Create a new personal label in Todoist.

Inputs: name (required), color. Returns: object

delete_taskA
Destructive

Permanently delete a Todoist task.

This action is irreversible. Consider complete_task() instead if you want to keep a record of the task.

Inputs: task_id (required). Returns: object

delete_todoist_labelA
Destructive

Permanently delete a Todoist label.

This removes the label from all tasks that have it. This action is irreversible.

Inputs: label_id (required). Returns: object

get_completed_tasksA
Read-only

Get completed tasks from Todoist within a date range.

Returns tasks completed between since and until (inclusive). Ideal for weekly review metrics — see how many tasks were completed and when.

Example: get_completed_tasks(since="2026-03-12", until="2026-03-19")

Returns: [{"id": "123", "content": "Buy milk", "project_id": "456", ...}, ...]

Inputs: since (required), until (required), limit. Returns: result

get_project_tasksA
Read-only

Get all tasks from a Todoist project.

Returns tasks with: id, content, description, labels, due, priority, project_id.

Inputs: project (required). Returns: result

get_task_commentsA
Read-only

Get all comments on a Todoist task.

Returns all comments attached to the specified task, ordered by creation time.

Inputs: task_id (required). Returns: result

list_todoist_labelsA
Read-only

List all personal Todoist labels.

Returns every label with its ID, name, and color. Labels are referenced by name in task operations.

Example: list_todoist_labels()

Returns: [{"id": "111", "name": "Home", "color": "blue"}, ...]

Inputs: no named parameters. Returns: result

list_todoist_projectsA
Read-only

List all Todoist projects.

Returns every project in the user's account with its ID and name. Use this to discover valid project names for other tools.

Example: list_todoist_projects()

Returns: [{"id": "12345", "name": "Inbox"}, {"id": "67890", "name": "Work Tasks"}, ...]

Inputs: no named parameters. Returns: result

move_taskB

Move a task to a different Todoist project.

Inputs: project (required), task_id (required). Returns: object

rename_todoist_labelB

Rename an existing Todoist label.

Inputs: label_id (required), new_name (required). Returns: object

update_taskA

Update fields on an existing Todoist task.

Only specified fields are changed; others remain untouched. Note: setting labels replaces all existing labels on the task.

Inputs: task_id (required), labels, content, due_date, +1 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool has a distinct purpose: task CRUD, comment operations, label management, and project listing. There is no overlap that would confuse an agent; even similar tools like update_task and batch_update_tasks are clearly differentiated by scope.

    Naming Consistency4/5

    All tools use snake_case verb_noun patterns, which is consistent. However, there is a minor inconsistency: some tools include 'todoist' (e.g., create_todoist_label) while others do not (e.g., create_task). This is a small deviation from a pure pattern.

    Tool Count5/5

    15 tools cover the main Todoist entities (tasks, comments, labels, projects) without being overwhelming. The count is well-scoped for the server's purpose.

    Completeness2/5

    The tool set is missing several key operations: no create/delete/rename projects, no get single task by ID, no delete or update comments. These gaps would force agents to work around missing functionality, causing potential failures.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers