donelog
Status: under development. v0.1.0 is not released yet.
- donelog records each piece of work your AI coding agent (Claude Code) does as a task, automatically, through MCP.
- You can list and search those tasks later by keyword or status. Short Japanese words such as 「認証」 work too.
- You can ask in plain words, like "Is the login feature done?", and get an answer backed by real task IDs.
Guides
| Guide | For |
|---|---|
| CLI guide (日本語) | Using donelog in a terminal, step by step |
| VS Code extension guide (日本語) | Using donelog from the sidebar of VS Code or Cursor |
Installation
You need uv and Python 3.11 or later. donelog is not on PyPI yet, so install it from the repository:
git clone https://github.com/pham2006-ux/donelog.git
cd donelog
uv tool install .
Check that it works (open a new terminal first):
donelog --version
If the command is not found, run uv tool update-shell and open a new terminal.
Quick start
Run these in the folder of the project you want to track:
donelog init # create .donelog/ and add instructions to CLAUDE.md
donelog add "Write the README" # add a task by hand
donelog list # newest first
donelog search 認証 # keyword search
donelog done T-0001 # mark as done
donelog status T-0001 todo # change the status (todo, in_progress, done)
donelog edit T-0001 --title "Write the README (EN)" # change what a task says
donelog delete T-0001 # delete for good (asks first)
Connect to Claude Code
The easiest way is to let donelog do it. Run this in your project folder:
donelog init --connect-claude
This runs claude mcp add for you. You can also run it yourself: donelog init prints the exact command for your machine, for example:
claude mcp add --scope local donelog -- /home/you/.local/bin/donelog mcp
The server is registered for that project only (the local scope).
Then restart Claude Code and check the connection:
claude mcp list
You should see donelog: ... ✓ Connected. From now on, Claude Code records its work with the add_task and update_task tools, following the instructions that donelog init added to CLAUDE.md.
If something is missing, donelog doctor checks the whole setup and tells you how to fix each problem.
Windows notes
-
Use PowerShell or the VS Code terminal. Run the commands one by one.
-
If you run donelog from a clone with
uv runinstead ofuv tool install,donelog initprints a command with the full path to Python, for example:claude mcp add --scope local donelog -- "C:\path\to\donelog\.venv\Scripts\python.exe" -m donelog mcp
-
Claude Code treats
C:\workandc:\workas different folders. Terminals useC:, but VS Code usesc:.donelog init --connect-clauderegisters both, so Claude Code finds donelog wherever you start it. -
To remove the registration:
claude mcp remove donelog
VS Code extension
The vscode-extension/ folder has a VS Code extension that shows the tasks in the sidebar, updates live while Claude Code works, and lets you search, ask, add, complete and export tasks. It uses the donelog command above, so install that first.
It is not on the Marketplace yet. To try it, build and install it from the repository (you need Node.js 20 or later):
cd vscode-extension
npm ci
npx vsce package --no-dependencies
code --install-extension donelog-0.1.0.vsix
See the VS Code extension guide for a step-by-step walkthrough, and vscode-extension/README.md for a summary.
Ask in plain words (AI search)
donelog ask "Is the login feature done?"
Answer: Done
The login form was added in T-0003 and its tests in T-0007.
Evidence:
T-0003 done Add the login form 2026-12-02 14:36
T-0007 done Add login tests 2026-12-02 15:10
The answer is one of Done, In progress, Not started or Not recorded, with the IDs of the tasks it is based on. donelog only shows IDs that really exist in your task log; anything else the AI returns is removed. With many tasks, donelog first picks the 100 most related (by keywords and newness) and sends only those.
Inside Claude Code (no extra cost)
When you are already in Claude Code, just ask it, for example "Is the login feature done?".
Claude Code answers with the search_tasks tool, so no extra AI call is made.
Choosing the AI (backend)
donelog ask uses the backend set in .donelog/config.json:
{"ask_backend": "claude-code", "model": null}
ask_backend |
How it works | Cost |
|---|---|---|
claude-code (default) |
Runs your installed Claude Code in non-interactive mode (claude -p) |
Included in your Claude Pro/Max plan |
anthropic-api |
Calls the Anthropic API | Pay per use |
You can also choose per question: donelog ask --backend anthropic-api "...".
model is optional; null means Claude Code's default model, or claude-opus-5-5 for the API.
claude-code: donelog removes ANTHROPIC_API_KEY from the environment of the Claude Code it starts, so the question is always answered within your plan, never billed to an API key.
anthropic-api: install the optional package and set the key in an environment variable named DONELOG_ANTHROPIC_API_KEY (not ANTHROPIC_API_KEY: if that one is set, Claude Code itself switches from your plan to API billing; see this support article).
uv tool install --reinstall ".[api]"
$env:DONELOG_ANTHROPIC_API_KEY = "sk-ant-..." # this terminal only
donelog never creates or reads .env files.
Commands
| Command | What it does |
|---|---|
donelog init [--connect-claude] |
Create .donelog/, add it to .gitignore, add instructions to CLAUDE.md (asks first), and register the MCP server with Claude Code (--connect-claude) or show how to |
donelog add "title" |
Add a task by hand (-m summary, --status, -f file, -t tag) |
donelog list [--status S] |
List tasks, newest first |
donelog search WORDS [--status S] |
Search the title, summary, files and tags. Every word must match |
donelog show ID |
Show one task |
donelog done ID |
Mark a task as done |
donelog status ID... STATUS |
Change the status of one or more tasks to todo, in_progress or done (also back from done). All or nothing |
donelog edit ID |
Change a task's title (--title), summary (-m), status, files (-f, --no-files) or tags (-t, --no-tags). Options you leave out keep their value |
donelog delete ID... [--yes] |
Delete tasks for good. Asks first unless --yes. All or nothing; deleted IDs are never reused |
donelog ask "question" [--backend B] |
AI search: answer from the task log |
donelog export [--format md|json] [-o FILE] |
Export all tasks |
donelog doctor |
Check the setup (project, task log, AI settings, CLAUDE.md, Claude Code connection) and show how to fix problems |
donelog mcp |
Start the MCP server (Claude Code runs this) |
Status is one of todo, in_progress, done (or all for filters). IDs look like T-0001; 1 also works.
JSON output for scripts and editors
Add --json to init, add, list, search, show, done, status, edit, delete, ask, doctor or export -o FILE to get exactly one line of JSON. The VS Code extension uses this.
{"ok": true, "data": {"count": 1, "truncated": false, "tasks": [{"display_id": "T-0001", "title": "...", "status": "done"}]}}
{"ok": false, "error": {"code": "not_initialized", "message": "..."}}
Error codes: not_initialized, not_found, invalid, config, ask_failed, database, io, conflict. The exit code is 1 when ok is false. With --json, init never asks questions: add --yes to update CLAUDE.md. Likewise delete --json needs --yes. status returns results with one {task, changed, before} per ID (and task/changed for the first one); edit returns {task, changed, before}, where before is the task as it was (the VS Code extension uses it for Undo); delete returns deleted, the list of deleted tasks.
MCP tools
| Tool | What it does |
|---|---|
add_task |
Add a task (title, summary, status, files, tags). If a todo or in-progress task has the same title, that task is moved on instead (never back), keeping its summary |
update_task |
Change the status and/or summary |
search_tasks |
Search by keywords and status |
list_tasks |
List tasks, newest first |
get_task |
Get one task |
add_todo_tasks |
Add several todo tasks at once, for example from a requirements document. Titles that already exist are skipped |
list_unverified_tasks |
List done tasks that no AI has checked yet |
verify_task |
Record whether a done task is really finished. If it is not, the task goes back to in progress with a note |
Planning and checking
- From a requirements document to tasks. Give Claude Code your requirements document and ask for tasks. It shows the list first, and after you agree, it registers every item as a todo task.
- Checking done tasks. Before its first change in a session, Claude Code checks the done tasks that nobody has checked yet. A task that is really finished is marked verified. A task that is not finished goes back to in progress with a note, and Claude Code asks you before it fixes anything.
Data and privacy
- Tasks are stored in
.donelog/donelog.db(SQLite) inside your project. There is no telemetry. - Everything except
donelog askworks offline and sends nothing. donelog asksends your question and up to 100 tasks (titles, summaries, file names, tags) to Claude, through Claude Code or the Anthropic API, depending on the backend.donelog initadds.donelog/to.gitignore. To share tasks with your team, commit an export instead:donelog export --format md -o DONELOG.md.
Development
uv sync --all-extras # install dependencies (including the optional anthropic package)
uv run pytest # run the tests
uv run ruff check . # lint
uv run ruff format . # format
Contributing
Bug reports and ideas are welcome. See CONTRIBUTING.md. Changes are listed in CHANGELOG.md.
License
Metadata
Release files for donelog 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| donelog-0.1.1.tar.gz | 44.2 kB | Without provenance | Details for donelog-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| donelog-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for donelog-0.1.1-py3-none-any.whl |
Total release size: 96.6 kB
Release files / donelog-0.1.1.tar.gz
| Download URL | donelog-0.1.1.tar.gz |
|---|---|
| Size | 44.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
937d270ef6b03375912cffa00e3f0a34c3c1e32e1e08614166841dbef545384d
|
|
BLAKE2b-256 checksum How to use checksums |
86f8bae7a390194ce2b000b51d596e8e8d4c17a4353a4c2b252e20b6714e9583
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / donelog-0.1.1-py3-none-any.whl
| Download URL | donelog-0.1.1-py3-none-any.whl |
|---|---|
| Size | 52.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
342c4073f72e0f73d84ccf5a89b3876318064bb3097d688838e1478ca777dd58
|
|
BLAKE2b-256 checksum How to use checksums |
89b3c48613008e94c142cb71f6b1605639c94dfb4e3c9a5f9cf3531d11949142
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for donelog 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.