Skip to main content

worklog-mcp

🇺🇸 English · 🇷🇺 Русский

PyPI - Version PyPI - Python Version PyPI - Status PyPI - Wheel PyPI - Downloads PyPI - Format MCP Typed

CI Docs Coverage Status Documentation GitHub Release GitHub last commit GitHub commit activity GitHub issues GitHub Repo stars License: MIT

An MCP server that records finished work in your daily log. Point it at a directory of log files; it appends one done item to the checklist of the newest one.

If you keep a note per day with a checklist of what got done, the assistant that did the work can write the line itself. The directory is configured once, when the server starts, so it never travels through the conversation — the model sees the file's name and the line it wrote, and nothing else.

{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/your/notes"]
    }
  }
}

That is the whole setup. The assistant now has append and check.

Install

uv tool install worklog-mcp

Requires Python 3.13+. No editor, vault format or note-taking app is assumed: a log file is any text file with a markdown checklist in it.

Add it to your agent

Claude Code
claude mcp add worklog -- worklog-mcp serve --dir /path/to/notes

Add --scope user to make it available in every project.

Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"]
    }
  }
}
Cursor · ~/.cursor/mcp.json
{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"]
    }
  }
}
VS Code · .vscode/mcp.json — note the servers key
{
  "servers": {
    "worklog": {
      "type": "stdio",
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"]
    }
  }
}
Windsurf · ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"]
    }
  }
}
Zed · settings.json — context_servers
{
  "context_servers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"],
      "env": {}
    }
  }
}
Cline · cline_mcp_settings.json
{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"]
    }
  }
}
Codex CLI · ~/.codex/config.toml
[mcp_servers.worklog]
command = "worklog-mcp"
args = ["serve", "--dir", "/path/to/notes"]

Or: codex mcp add worklog -- worklog-mcp serve --dir /path/to/notes

Gemini CLI · ~/.gemini/settings.json
{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve", "--dir", "/path/to/notes"]
    }
  }
}
OpenCode · opencode.json
{
  "mcp": {
    "worklog": {
      "type": "local",
      "command": ["worklog-mcp", "serve", "--dir", "/path/to/notes"]
    }
  }
}

How to use it

1. Keep the path out of the config file, if you like. Both options read an environment variable — WORKLOG_DIR and WORKLOG_FILE_PATTERN — so the snippet can carry no path at all:

{
  "mcpServers": {
    "worklog": {
      "command": "worklog-mcp",
      "args": ["serve"],
      "env": { "WORKLOG_DIR": "/path/to/notes" }
    }
  }
}

2. Narrow down which files count, if the directory holds more than logs. --pattern is a regular expression matched against the file name:

worklog-mcp serve --dir ~/notes --pattern '^\d{4}-\d{2}-\d{2}\.md$'

Without a pattern, every non-hidden file in the directory is a candidate, and the newest one wins.

3. Check the setup from a terminal whenever a call reports something missing:

worklog-mcp check --dir ~/notes
# ok: file="2026-09-06.md" items=3

Exit codes are 0 ok, 2 no directory, 3 no log file, 4 no checklist.

Why it's cool

  • The path stays out of the conversation. It is a launch argument, read by the local process. Results carry a file name, never a directory.
  • It never creates a log file. A missing file or directory is reported and the call stops, so the assistant cannot reorganize your notes. The one thing it does add is a checklist, when today's file has none yet.
  • Repeating a call is safe. An item whose text is already in the checklist is not written twice, so a retried workflow does not double a line.
  • Your formatting survives. The new item reuses the indent and bullet marker of the checklist's first item, and the file keeps its line endings; the write is atomic, so an editor watching the file never sees it truncated.

Documentation

📖 Full documentation — configuration, ready-made client snippets, exactly how the file and the checklist are picked, the tool contracts and an API reference. Available in English and Russian.

License

MIT — see LICENSE.


uv Ruff ty pytest Material for MkDocs Conventional Commits Semantic Versions Keep a Changelog

Metadata

Release files for worklog-mcp 0.1.0

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

Source distribution (sdist)

Source distribution for worklog-mcp 0.1.0
File Size Uploaded Provenance
worklog_mcp-0.1.0.tar.gz 14.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for worklog-mcp 0.1.0
File Interpreter ABI Platform
worklog_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / worklog_mcp-0.1.0.tar.gz

Download URL worklog_mcp-0.1.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9281eff43a5293281338cdeab1a4d65fe6c84b7cd0962c8211d6ae027a24f272
BLAKE2b-256 checksum
How to use checksums
6f9c4cf0930d9fd8691feabcd15f91e61f4f4f160f61016bf96f6780be9f3a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / worklog_mcp-0.1.0-py3-none-any.whl

Download URL worklog_mcp-0.1.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d13b3a6983c7e063a51c83e8eb5b3617aef81abd1283680b647f03f93dd76771
BLAKE2b-256 checksum
How to use checksums
580c30e80396467dfad1f5f3521986ec57b92dc807a9571bdb86864d2f34d28f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for worklog-mcp 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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