wdttg - terminal time tracker with a built-in MCP server for AI agents

wdttg - terminal time tracker with a built-in MCP server for AI agents

wdttg-tui•byplattnum

A Rust terminal time tracker that stores time entries as markdown tables and ships an MCP server so AI agents can create, validate, and query time entries.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Stores time entries as GFM markdown tables, one file per month, that are human-readable and editable.
  • •Exposes MCP tools for creating entries with validation and overlap checking, plus update, delete, and lookup.
  • •Generates aggregated reports by client, project, and activity with billable amounts.
  • •Manages a client/project/activity hierarchy with billable rates through MCP tools.

BEST FOR

  • •Freelancers who want AI assistants to log and validate time entries conversationally.
  • •Users who prefer local, portable plain-markdown time data over cloud time-tracking services.

ABOUT WDTTG-TUI

wdttg - terminal time tracker with a built-in MCP server for AI agents is cataloged as an MCP server attributed to plattnum. A Rust terminal time tracker that stores time entries as markdown tables and ships an MCP server so AI agents can create, validate, and query time entries. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for wdttg - terminal time tracker with a built-in MCP server for AI agents are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Why use an MCP server instead of letting the AI edit markdown directly?

The MCP server performs parsing, validation, overlap detection, chronological sorting, and atomic file writes programmatically, rather than relying on the model to read and rewrite the file correctly.

Does the MCP server share data with the terminal UI?

Yes; the TUI and MCP server share the same data files, so entries created by AI appear in the timeline quickly.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 9c92798d52fd · 采集于 2026-11-13 11:34:44 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

wdttg - Where Did The Time Go?

A terminal time tracker for freelancers, built in Rust. No cloud, no subscriptions, no app store approval queues. Just markdown files, a TUI, and an MCP server because life's too short for time entry forms.

Buy Me A Coffee

Timeline view
More screenshots Reports view Manage view

Why this exists

I built the where-did-the-time-go Obsidian plugin to scratch this itch the first time around. It worked great, but I got tired of being tied to a specific application platform. Plugin approval on Obsidian takes forever, and at the end of the day the data format was already just markdown tables.

Markdown is everywhere now — every IDE reads it, every AI agent works well with it. So instead of fighting an approval process, I pulled the concept out into its own thing: a lightweight TUI for visualization and an MCP server so AI agents can do the heavy lifting.

The core idea is dead simple: I did X between A and B. Categorize it so I can report on it and bill from it.

This is not a task manager. My tasks live in tickets, ad-hoc journal entries, kanban boards — wherever makes sense at the time. This tool only cares about what you did and when. A meeting with a client. A two-hour dev session. A quick call that ran long. Log it, tag it, move on.

How it works with AI

The MCP server is the real unlock here. Instead of clicking through forms, I just tell Claude what I did:

"I had a sprint planning meeting with Acme from 9 to 10:30 this morning"

Claude calls the MCP tools, validates the entry, checks for overlaps, and logs it. If I'm too vague, it asks for the missing pieces.

Why MCP instead of letting the AI edit markdown directly?

Without the MCP server, the AI would have to read the raw markdown into its context, parse the table, mentally compare timestamps to check for overlaps, format a new row correctly, and write the whole file back. Any of those steps can go wrong — the LLM might miscalculate a time comparison, botch the table formatting, or hallucinate that a time slot is free when it isn't. And every entry eats context tokens just to read and rewrite the file.

With the MCP server, create_entry handles all of that programmatically — parsing, validation, overlap detection, chronological sorting, atomic file writes. The AI just says "create this entry" and gets back a definitive yes or a structured error. No guesswork, no wasted tokens, no risk of corrupting the file.

The TUI and MCP server share the same data files, so entries created by AI show up in the timeline within ~200ms.

Features

  • Infinite vertical timeline — endless scrolling into the past or future with keyboard and mouse
  • MCP server for AI agent integration (Claude Code, Cursor, etc.)
  • GFM markdown storage — one file per month, human-readable and editable
  • Client/project/activity hierarchy with billable rates
  • Overlap detection and time snapping
  • Report generation with billable amounts
  • File watching for real-time sync between TUI and MCP

Install

macOS and Linux only. Windows is not yet supported.

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/plattnum/wdttg-tui/releases/latest/download/wdttg-tui-installer.sh | sh

From source

Requires Rust 1.85+ (2024 edition).

git clone https://github.com/plattnum/wdttg-tui.git
cd wdttg-tui
cargo install --path crates/wdttg-tui

Getting Started

1. Initialize

wdttg init

Interactive setup wizard — asks for time format (12h/24h), week start day, data directory, and your first client. Press Enter to accept defaults at each step.

Welcome to wdttg! Let's set things up.

Time format [24h/12h] (24h): 
Week start [monday/sunday] (monday): 
Data directory (/Users/you/.local/share/wdttg/data): 

Set up your first client:
  Client name (Personal): Acme Corp
  Hourly rate (0): 150
  Currency (USD): 

✓ Config saved to ~/.config/wdttg/config.toml
✓ Client data saved to ~/.local/share/wdttg/data/clients.toml

2. Launch the TUI

wdttg

3. Set up AI integration (optional)

The MCP server is launched automatically by your AI client — you don't run wdttg serve manually. Just add the config and your AI can create/query time entries for you.

See MCP Server Setup below.

Export reports

wdttg export --format csv --preset this-month          # CSV to stdout
wdttg export --format json --preset last-week           # JSON to stdout
wdttg export --format csv --start 2026-03-01 --end 2026-03-31 --client acme > report.csv

Or press x on the Reports tab to export the current view as CSV to your data directory.

Reinitialize

wdttg init --force    # resets preferences and client data (keeps time entries)

Upgrading

After installing a new version, restart any AI clients (Claude Desktop, Claude Code, Cursor, etc.) that run the MCP server. They cache the old binary — the MCP server won't pick up changes until the AI client restarts and re-launches wdttg serve.

cargo install --path crates/wdttg-tui   # or download new release
# Then restart Claude Desktop / reload Claude Code

MCP Server Setup

Claude Code

Add to your project's .mcp.json (or ~/.claude/mcp.json for global access):

{
  "mcpServers": {
    "wdttg": {
      "command": "wdttg",
      "args": ["serve"]
    }
  }
}

If running from source instead of an installed binary:

{
  "mcpServers": {
    "wdttg": {
      "command": "cargo",
      "args": ["run", "-p", "wdttg-tui", "--", "serve"],
      "cwd": "/path/to/wdttg-tui"
    }
  }
}

Available MCP Tools

ToolDescription
Time entries
list_entriesList time entries with date range, presets, and filters
get_entryGet a single entry by ID or start/end timestamps
create_entryCreate a new time entry with validation and overlap checking
update_entryUpdate an entry (supports partial updates)
delete_entryDelete an entry by ID or timestamps
check_overlapsCheck if a proposed time range conflicts with existing entries
available_slotsFind free time gaps within a datetime range
Reports
generate_reportAggregated report by client/project/activity with billable amounts
get_statusToday/week totals, entry counts, config summary
Clients & projects
list_clientsList clients with their projects and activities
create_clientAdd a new client
update_clientUpdate client fields
archive_clientArchive/unarchive a client (cascades to projects + activities)
create_projectAdd a project under a client
update_projectUpdate project fields
archive_projectArchive/unarchive a project
create_activityAdd an activity under a client
update_activityUpdate activity fields
archive_activityArchive/unarchive an activity

Testing with MCP Inspector

Use the MCP Inspector to interactively test and debug the server:

# From source
npx -y @modelcontextprotocol/inspector cargo run -p wdttg-tui -- serve

# Or using the installed binary
npx -y @modelcontextprotocol/inspector wdttg serve

This opens a web UI (usually http://localhost:6274) where you can browse available tools, invoke them with custom inputs, and inspect results.

Configuration

Configuration is split into two files:

Preferences — ~/.config/wdttg/config.toml

Machine-local settings. Created by wdttg init.

[preferences]
time_format = "24h"
week_start = "monday"
day_start_hour = 6
day_end_hour = 22
snap_minutes = 15
tag_style = "flat"            # "flat" | "powerline" | "triangle"
# data_dir = "/custom/path"   # optional, overrides default data location

tag_style controls how tag chips are separated on timeline entries. flat is the default and works on any terminal. powerline uses Powerline chevron glyphs (U+E0B0) that blend chip colors — requires a Powerline / Nerd Font in your terminal. triangle uses U+25B6 and works on any Unicode terminal but doesn't blend as smoothly. Press T in the TUI to cycle styles at runtime; the chosen style is persisted to this file.

Client data — <data_dir>/clients.toml

Clients, projects, activities, and billing info. Lives alongside time entries so the whole data directory is portable and syncable (git, Dropbox, etc.).

[bill_from]
name = "Jane Freelancer"
email = "jane@example.com"

[[clients]]
id = "acme"
name = "Acme Corp"
color = "#FF6B6B"
rate = 150.0
currency = "USD"

[[clients.projects]]
id = "webapp"
name = "Web App"
color = "#4ECDC4"

[[clients.activities]]
id = "dev"
name = "Development"
color = "#45B7D1"

Data Format

Time entries are stored as GFM tables in ~/.local/share/wdttg/data/YYYY-MM.md:

# 2026-03

| Start | End | Description | Client | Project | Activity | Notes |
|-------|-----|-------------|--------|---------|----------|-------|
| 2026-03-15 09:00 | 2026-03-15 10:30 | Sprint planning | acme | webapp | meeting | |
| 2026-03-15 11:00 | 2026-03-15 13:00 | API auth refactor | acme | webapp | dev | ticket ACME-412 |
| 2026-03-15 14:00 | 2026-03-15 14:30 | Quick sync with design team | acme | webapp | meeting | |
| 2026-03-15 14:30 | 2026-03-15 17:00 | Frontend dashboard work | acme | webapp | dev | |

Development

cargo build                    # Build everything
cargo test                     # Run all tests
cargo test -p wdttg-core       # Core library tests
cargo test -p wdttg-mcp        # MCP integration tests
cargo run -p wdttg-tui         # Run the TUI
cargo clippy --all-targets     # Lint
cargo fmt --check              # Check formatting

Workspace

CratePurpose
wdttg-coreLibrary: parsing, validation, storage, reporting
wdttg-tuiBinary: terminal UI (ratatui + crossterm)
wdttg-mcpLibrary: MCP server tool implementations

Companion: bulletd

wdttg pairs well with bulletd — a terminal bullet journal built on the same principles: local-first, plain Markdown, MCP-enabled. Together they cover the daily workflow: bulletd captures what you need to do, wdttg captures how long it took. Both run as MCP servers, so your AI agent can manage your task log and time entries in the same conversation.

Organizational tracking systems — Jira, Linear, Asana — are built for planned work, not the ad-hoc reality of your day. You're not going to file a ticket for "check rollout status on Google Play Console" or "help debug staging." And MCP integrations to those systems are either nonexistent, not allowed, or painfully slow. These tools let you capture what actually happens locally, then reconcile back to the official system when it matters.

Support

If this is useful to you, consider buying me a coffee.

Buy Me A Coffee

License

MIT - Do whatever you want with it.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for wdttg - terminal time tracker with a built-in MCP server for AI agents from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/wdttg-tui)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops