Skip to main content
Glama
Todoist MCP Server

Todoist MCP Server

by mikemc

Todoist MCP Server (Python)

A Todoist MCP server written in Python, using the Todoist Python API. I first created the server by using Claude to translate this TypeScript Todoist MCP server to Python. I'm gradually changing and adding functionality to suit my workflow as I experiment with using Claude to help with task management.

Installation

Prerequisites

Getting a Todoist API Token

  1. Log in to your Todoist account

  2. Go to Settings → Integrations

  3. Find your API token under "Developer"

Configuration with Claude Desktop

Add the MCP server to your claude_desktop_config.json,

{
  "mcpServers": {
    "todoist": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/mikemc/todoist-mcp-server",
        "todoist-mcp"
      ],
      "env": {
        "TODOIST_API_TOKEN": "your_todoist_api_token"
      }
    }
  }
}

Or, to run from a local copy,

{
  "mcpServers": {
    "todoist": {
      "command": "uvx",
      "args": [
        "--from",
        "/absolute/path/to/todoist-mcp-server",
        "todoist-mcp"
      ],
      "env": {
        "TODOIST_API_TOKEN": "your_todoist_api_token"
      }
    }
  }
}

Configuration with Goose (and a local LLM)

You can use Goose and a local LLM provider: LM Studio or Ollama.

Configure the LLM you want Goose to use:

$ goose configure

This command will ask you whether you want to use a local model or a cloud hosted model. Ensure your model provider is running your model first. Specify the address of the model API, and the model name. Many locally deployed LLMs use a format compatible with Ollama, so for both LM Studio or Ollama LLMs, select Ollama.

◇  Which model provider should we use?
│  Ollama 
│
◇  Provider Ollama requires OLLAMA_HOST, please enter a value
│  localhost:1234
│
◇  Model fetch complete
│
◇  Enter a model from that provider:
│  phi-4

Then run the same command again to configure the Todoist MCP:

$ goose configure

This time it will ask about extensions:

◇  What would you like to configure?
│  Add Extension 
│
◇  What type of extension would you like to add?
│  Command-line Extension 
│
◇  What would you like to call this extension?
│  todoist
│
◇  What command should be run?
│  uvx git+https://github.com/mikemc/todoist-mcp-server
│
◇  Please set the timeout for this tool (in secs):
│  60
│
◇  Would you like to add a description?
│  No 
│
◇  Would you like to add environment variables?
│  Yes 
│
◇  Environment variable name:
│  TODOIST_API_TOKEN
│
◇  Environment variable value:
│  ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
◇  Add another environment variable?
│  No 
│
└  Added todoist extension

Now you can run goose and ask it questions about your todo list, or make changes.

$ goose          
starting session | provider: ollama model: phi-4
    logging to ******
    working directory: ******

Goose is running! Enter your instructions, or try asking what goose can do.

( O)> how many todo list tasks have I completed in the last 7 days

─── todoist_get_tasks | todoist ──────────────────────────
filter: last 7 days completed

...
*Ideally* You have been very busy this week. You have completed 15 tasks! Listed below are the tasks.
...

Related MCP server: Todoist MCP Server

Available Tools

To see currently available tools, run

# With GNU grep installed as ggrep (as with `brew install grep` on Mac)
ggrep -Po '(?<=^mcp.tool\(\)\()([^)]+)' src/main.py

As of 2025-05-26,

  • Projects

    • todoist_get_projects

    • todoist_get_project

    • todoist_add_project

    • todoist_update_project

    • todoist_delete_project

  • Sections

    • todoist_get_sections

    • todoist_get_section

    • todoist_add_section

    • todoist_update_section

    • todoist_delete_section

  • Tasks

    • todoist_get_task

    • todoist_get_tasks

    • todoist_filter_tasks

    • todoist_add_task

    • todoist_update_task

    • todoist_complete_task

    • todoist_uncomplete_task

    • todoist_move_task

    • todoist_delete_task

  • Comments

    • todoist_get_comment

    • todoist_get_comments

    • todoist_add_comment

    • todoist_update_comment

    • todoist_delete_comment

License

This project is licensed under the MIT License. See the LICENSE file for details.

Available Tools

17 tools
todoist_add_projectB

Create a new project in Todoist

Args: name: Name of the project color: Color of the project (optional) parent_id: ID of the parent project for creating sub-projects (optional) is_favorite: Whether the project should be marked as favorite (optional) view_style: View style of the project, either 'list' or 'board' (optional)

Inputs: name (required), color, is_favorite, parent_id, +1 more.

todoist_add_sectionB

Create a new section in Todoist

Args: name: Section name project_id: Project ID this section should belong to order: Order among other sections in a project (optional)

Inputs: name (required), project_id (required), order.

todoist_close_taskC

Close a task in Todoist (i.e., mark the task as complete)

Args: task_id: ID of the task to close

Inputs: task_id (required).

todoist_create_taskB

Create a new task in Todoist with optional description, due date, and priority

Args: content: The content/title of the task description: Detailed description of the task (optional) project_id: Task project ID. If not set, task is put to user's Inbox (optional) section_id: ID of section to put task into (optional) parent_id: Parent task ID (optional) order: Non-zero integer value used to sort tasks under the same parent (optional) labels: The task's labels (a list of names that may represent either personal or shared labels) (optional) priority: Task priority from 1 (normal) to 4 (urgent) (optional) due_string: Natural language due date like 'tomorrow', 'next Monday', 'Jan 23' (optional) due_date: Specific date in YYYY-MM-DD format relative to user's timezone (optional) due_datetime: Specific date and time in RFC3339 format in UTC (optional) due_lang: 2-letter code specifying language in case due_string is not written in English (optional) assignee_id: The responsible user ID (only applies to shared tasks) (optional) duration: A positive integer for the amount of duration_unit the task will take (optional) duration_unit: The unit of time that the duration field represents (minute or day) (optional) deadline_date: Specific date in YYYY-MM-DD format relative to user's timezone (optional) deadline_lang: 2-letter code specifying language of deadline (optional)

Inputs: content (required), assignee_id, deadline_date, deadline_lang, +13 more.

todoist_delete_projectC

Deletes a project from the user's Todoist account

Args: project_id: ID of the project to delete

Inputs: project_id (required).

todoist_delete_sectionC

Deletes a section from Todoist

Args: section_id: ID of the section to delete

Inputs: section_id (required).

todoist_delete_taskC

Delete a task from Todoist

Args: task_id: ID of the task to delete

Inputs: task_id (required).

todoist_get_projectC

Get a single project from Todoist

Args: project_id: ID of the project to retrieve

Inputs: project_id (required).

todoist_get_projectsB

Get all projects from the user's Todoist account

Inputs: no named parameters.

todoist_get_sectionC

Get a single section from Todoist

Args: section_id: ID of the section to retrieve

Inputs: section_id (required).

todoist_get_sectionsC

Get all sections from the user's Todoist account

Args: project_id: Filter sections by project ID (optional)

Inputs: project_id.

todoist_get_taskC

Get an active task from Todoist

Args: task_id: ID of the task to retrieve

Inputs: task_id (required).

todoist_get_tasksB

Get a list of tasks from Todoist with various filters

Args: project_id: Filter tasks by project ID (optional) filter: Natural language filter like 'today', 'tomorrow', 'next week', 'priority 1', 'overdue' (optional) priority: Filter by priority level (1-4) (optional) limit: Maximum number of tasks to return (optional)

Inputs: filter, limit, priority, project_id.

todoist_reopen_taskA

Reopen a task in Todoist (i.e., mark the task as incomplete)

Args: task_id: ID of the task to reopen

Inputs: task_id (required).

todoist_update_projectB

Update an existing project in Todoist

Args: project_id: ID of the project to update name: New name for the project (optional) color: New color for the project (optional) is_favorite: Whether the project should be marked as favorite (optional) view_style: View style of the project, either 'list' or 'board' (optional)

Inputs: project_id (required), color, is_favorite, name, +1 more.

todoist_update_sectionB

Updates a section in Todoist

Args: section_id: ID of the section to update name: New name for the section

Inputs: name (required), section_id (required).

todoist_update_taskB

Update an existing task in Todoist

Args: task_id: ID of the task to update content: New content/title for the task (optional) description: New description for the task (optional) labels: New labels for the task (optional) priority: New priority level from 1 (normal) to 4 (urgent) (optional) due_string: New due date in natural language like 'tomorrow', 'next Monday' (optional) due_date: New specific date in YYYY-MM-DD format (optional) due_datetime: New specific date and time in RFC3339 format in UTC (optional) due_lang: 2-letter code specifying language in case due_string is not written in English (optional) assignee_id: The responsible user ID or null to unset (for shared tasks) (optional) duration: A positive integer for the amount of duration_unit the task will take (optional) duration_unit: The unit of time that the duration field represents (minute or day) (optional) deadline_date: Specific date in YYYY-MM-DD format relative to user's timezone (optional) deadline_lang: 2-letter code specifying language of deadline (optional)

Inputs: task_id (required), assignee_id, content, deadline_date, +10 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 17 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific resources (projects, sections, tasks) and actions (add, get, update, delete, close, reopen). There is no overlap or ambiguity; for example, todoist_close_task and todoist_reopen_task are clearly differentiated, and each CRUD operation is uniquely named for its resource.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with the prefix 'todoist_' and snake_case throughout (e.g., todoist_add_project, todoist_get_tasks, todoist_update_task). This predictable naming scheme makes it easy for agents to understand and select the correct tool.

    Tool Count4/5

    With 17 tools, the count is slightly high but reasonable for a comprehensive Todoist integration covering projects, sections, and tasks with full CRUD operations and additional actions like close/reopen. It's well-scoped for the domain, though it could be streamlined by combining some get operations.

    Completeness5/5

    The tool set provides complete CRUD coverage for projects, sections, and tasks, including lifecycle actions (close, reopen) and filtering capabilities. There are no obvious gaps; agents can manage the entire Todoist workflow from creation to deletion with all necessary operations available.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers