worklog-mcp
🇺🇸 English · 🇷🇺 Русский
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file worklog_mcp-0.1.0.tar.gz.
File metadata
- Download URL: worklog_mcp-0.1.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9281eff43a5293281338cdeab1a4d65fe6c84b7cd0962c8211d6ae027a24f272
|
|
| MD5 |
a0a154e61c4ef0485b5b9e4e04b20c5e
|
|
| BLAKE2b-256 |
6f9c4cf0930d9fd8691feabcd15f91e61f4f4f160f61016bf96f6780be9f3a39
|
File details
Details for the file worklog_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: worklog_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d13b3a6983c7e063a51c83e8eb5b3617aef81abd1283680b647f03f93dd76771
|
|
| MD5 |
98d7a401c7bdf5bfc831b8c578d05c26
|
|
| BLAKE2b-256 |
580c30e80396467dfad1f5f3521986ec57b92dc807a9571bdb86864d2f34d28f
|