Sponsored by Deepsite.site

Todo.txt MCP Server

Created By
danielmeint10 months ago
🔗 Model Context Protocol server for todo.txt files - Connect your todo.txt to AI assistants like Claude Desktop
Content

Todo.txt MCP Server

PyPI version Python 3.10+ License: MIT

A powerful Model Context Protocol (MCP) server that connects your todo.txt files to AI assistants like Claude Desktop. Manage your todo list through natural language while maintaining the simplicity and portability of the todo.txt format.

✨ Features

  • 🔍 Natural Language Interface: Ask AI to find, create, and manage your todos
  • 📝 Full CRUD Operations: Create, read, update, and delete todos with AI assistance
  • 🎯 Smart Filtering: Search by text, priority, projects (+project), or contexts (@context)
  • 📊 Statistics & Insights: Get comprehensive stats about your productivity
  • 🔄 todo.sh Integration: Automatically works with existing todo.sh setups
  • 💾 File Safety: Automatic backups and configurable safety limits
  • ⚡ Modern Installation: Install with uvx, uv, pipx, or pip

🚀 Quick Start

1. Install

# Quick test (no installation required)
uvx todo-txt-mcp

# Install globally (recommended)
uv tool install todo-txt-mcp
More installation options
# Using pipx (isolated environment)
pipx install todo-txt-mcp

# Using pip (traditional)
pip install todo-txt-mcp

2. Configure Claude Desktop

Add to your Claude Desktop configuration:

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

{
  "mcpServers": {
    "todo-txt": {
      "command": "uvx",
      "args": ["todo-txt-mcp"]
    }
  }
}

3. Restart Claude Desktop

Look for the 🔨 tools icon to confirm the server is connected.

💬 Example Conversations

Once configured, you can interact with your todos naturally:

You: "Add a todo to call mom tomorrow with high priority"

You: "Show me all my work-related todos"

You: "What's my most important task right now?"

You: "Mark the grocery shopping task as completed"

You: "How many todos do I have in my @phone context?"

🛠️ Available Tools

The server provides these MCP tools for AI interaction:

ToolDescription
list_todosList all todos (with optional filters)
add_todoCreate new todo items
complete_todoMark todos as completed
update_todoModify existing todos
delete_todoRemove todos
search_todosFind todos by text content
filter_by_priorityFilter by priority level (A-Z)
filter_by_projectFilter by project tags (+project)
filter_by_contextFilter by context tags (@context)
get_statisticsGet comprehensive todo statistics

📄 Todo.txt Format Support

Fully compatible with the todo.txt specification:

(A) Call Mom +family @phone
x 2025-05-31 2025-05-30 (B) Buy groceries +shopping @errands
Write project proposal +work @computer
(C) Schedule dentist appointment +health @phone

⚙️ Configuration

Works with Existing todo.sh Setup

If you're already using todo.sh, the server automatically detects your configuration:

  • ~/.todo/config
  • ~/.todo.cfg
  • /etc/todo/config
  • /usr/local/etc/todo/config

Custom Configuration

Specify a custom todo.txt file:

{
  "mcpServers": {
    "todo-txt": {
      "command": "uvx",
      "args": ["todo-txt-mcp", "/path/to/your/todo.txt"]
    }
  }
}

Environment Variables

Configure via environment variables:

TODO_MCP_TODO_FILE_PATH=/path/to/todo.txt
TODO_MCP_BACKUP_ENABLED=true
TODO_MCP_MAX_FILE_SIZE=10000000

🔒 Security & Privacy

  • Local only: All processing happens on your machine
  • No network requests: Your todos never leave your device
  • File safety: Automatic backups and size limits
  • Sandboxed: Only accesses configured todo.txt files

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

📋 Roadmap

  • Due date support and reminders
  • Recurring todos
  • Multiple file support
  • Sync capabilities
  • Advanced search with regex
  • Bulk operations

📜 License

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

🙏 Acknowledgments

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.