Skip to main content

Todo.txt MCP Server

PyPI version Python 3.10+ License: MIT

A Model Context Protocol server that connects todo.txt files to AI assistants like Claude. Manage your tasks through natural language while keeping the simplicity and portability of plain text.

Installation

# Recommended
uv tool install todo-txt-mcp

# Or run directly without installing
uvx todo-txt-mcp

# Alternatives
pipx install todo-txt-mcp
pip install todo-txt-mcp

Configuration

Add to your Claude Desktop config:

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

Restart Claude Desktop. The tools icon confirms the server is connected.

Custom todo.txt location

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

todo.sh integration

If you use todo.sh, the server automatically detects your config from ~/.todo/config, ~/.todo.cfg, or standard system locations.

Environment variables

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

Available Tools

Tool Description
list_todos List todos with optional filters
add_todo Create new todos
complete_todo Mark todos as completed
update_todo Modify existing todos
delete_todo Remove todos
search_todos Find todos by text
filter_by_priority Filter by priority (A-Z)
filter_by_project Filter by project (+tag)
filter_by_context Filter by context (@tag)
get_statistics Get todo statistics

Todo.txt Format

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

Contributing

See CONTRIBUTING.md for guidelines. Bug reports and feature requests welcome via GitHub Issues.

License

MIT - see LICENSE.

Metadata

Release files for todo-txt-mcp 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for todo-txt-mcp 1.0.2
File Size Uploaded
todo_txt_mcp-1.0.2.tar.gz 98.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for todo-txt-mcp 1.0.2
File Interpreter ABI Platform
todo_txt_mcp-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 116.1 kB

Release files / todo_txt_mcp-1.0.2.tar.gz

Download URL todo_txt_mcp-1.0.2.tar.gz
Size 98.9 kB
Tags Source
SHA-256 checksum
How to use checksums
736de7469328dd66fe3d88a1f56eda07ee6d89f4e2a937e5ea3616a40f548d09
BLAKE2b-256 checksum
How to use checksums
c35daba3eb3c246b381638c32cca9905dced30fe944df2160bc2de1968c1999c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 20, 2026.

Transparency log

Release files / todo_txt_mcp-1.0.2-py3-none-any.whl

Download URL todo_txt_mcp-1.0.2-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9d1a8908572d05c5b070e682f11c6601903c20ec00028e23429a832f4745d39
BLAKE2b-256 checksum
How to use checksums
30255535be813e98c43bccff1d53bc481ab8e21c3b83c44ee5a6f42df7ce6a70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page