Metadata-Version: 2.4
Name: todo-txt-mcp
Version: 1.0.2
Summary: Model Context Protocol server for todo.txt file management with AI assistants like Claude
Project-URL: Homepage, https://github.com/danielmeint/todo-txt-mcp
Project-URL: Documentation, https://github.com/danielmeint/todo-txt-mcp#readme
Project-URL: Repository, https://github.com/danielmeint/todo-txt-mcp.git
Project-URL: Issues, https://github.com/danielmeint/todo-txt-mcp/issues
Project-URL: Changelog, https://github.com/danielmeint/todo-txt-mcp/blob/main/CHANGELOG.md
Author-email: Daniel Meint <pilots-4-trilogy@icloud.com>
Maintainer-email: Daniel Meint <pilots-4-trilogy@icloud.com>
License: MIT License
        
        Copyright (c) 2025 Daniel Meint
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: ai,claude,cli,mcp,model-context-protocol,productivity,task-management,todo,todo.txt
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Office/Business :: Scheduling
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Requires-Dist: mcp[cli]>=1.9.2
Requires-Dist: pydantic-settings>=2.9.0
Requires-Dist: pydantic>=2.11.5
Requires-Dist: pytodotxt>=3.0.0
Description-Content-Type: text/markdown

# Todo.txt MCP Server

[![PyPI version](https://badge.fury.io/py/todo-txt-mcp.svg)](https://badge.fury.io/py/todo-txt-mcp)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A [Model Context Protocol](https://modelcontextprotocol.io/) server that connects [todo.txt](http://todotxt.org/) files
to AI assistants like Claude. Manage your tasks through natural language while keeping the simplicity and portability of
plain text.

## Installation

```bash
# 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`

```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

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

### todo.sh integration

If you use [todo.sh](https://github.com/todotxt/todo.txt-cli), the server automatically detects your config from
`~/.todo/config`, `~/.todo.cfg`, or standard system locations.

### Environment variables

```bash
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](http://todotxt.org/):

```
(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](CONTRIBUTING.md) for guidelines. Bug reports and feature requests welcome
via [GitHub Issues](https://github.com/danielmeint/todo-txt-mcp/issues).

## License

MIT - see [LICENSE](LICENSE).
