MCP server exposing the ATimeLogger REST API (activities, reports, types)
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Atimelogger MCP.
get_current_statusRunning/paused activities with elapsed time
list_activity_typesActivity type names as a group tree (source of names for other tools)
start_activityStart by type name; optional backdating (`at` wall-clock time or `started_minutes_ago`)
stop_activityStop the active activity (name optional if only one is active); same backdating options
pause_resume_activityPause or resume
log_intervalRetroactively log a completed entry (wall-clock times, optional comment/tags)
A standalone MCP (Model Context Protocol) server that exposes the ATimeLogger REST API to AI assistants β locally over stdio (Claude Desktop / Claude Code / OpenAI Codex) or remotely as a connector (claude.ai in the browser, Claude mobile apps, ChatGPT). Scope: activities (start/stop/pause/log), reports/history, and activity types.
The same package also installs atimelogger-cli β a read-only JSON CLI that needs no AI assistant at all. Use it from cron jobs, status bars, and shell pipelines; it shares the server's internals (fuzzy type names, period words, DST-correct timezones) but runs entirely on its own. A library entry point covers the third case, calling ATimeLogger in-process from your own code.
Requires Node 20+.
Generate a Personal Access Token in the ATimeLogger web app: Settings β API Tokens β Generate token. The value (starting with atl_pat_) is shown only once β copy it right away. You can revoke the token from the same page at any time.
Register the server. No install or build step needed β npx fetches the published package on first run:
Claude Code β a one-liner:
Claude Desktop β a JSON block to merge into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop:
OpenAI Codex (CLI, IDE extension, or the ChatGPT desktop app's Codex mode) β also a one-liner; the configuration is shared by all three Codex surfaces:
Equivalent ~/.codex/config.toml block:
MCP support in Codex is not gated by plan β it works with any ChatGPT subscription that includes Codex, or with a plain API key. (Using the tools from the ChatGPT web/mobile app is a different path β see Connect from ChatGPT below.)
Instead of the published package, you can clone and build:
Troubleshooting: a 401 from any tool means the token is invalid, expired, or was revoked β generate a new one in Settings β API Tokens and update ATL_TOKEN in the MCP config.
No token yet? The server also starts without ATL_TOKEN in docs-only mode: the app_help tool (official app documentation) works, so you can ask your assistant how ATimeLogger features work before setting up API access; the time-tracking tools return setup instructions until a token is configured.
| Tool | Purpose |
|---|---|
get_current_status | Running/paused activities with elapsed time |
list_activity_types | Activity type names as a group tree (source of names for other tools) |
start_activity | Start by type name; optional backdating (at wall-clock time or started_minutes_ago) |
stop_activity | Stop the active activity (name optional if only one is active); same backdating options |
pause_resume_activity | Pause or resume |
log_interval | Retroactively log a completed entry (wall-clock times, optional comment/tags) |
update_activity | Change the comment/tags of an existing entry (running or past) without touching its times |
time_report | Aggregated per-type statistics for a period (today, this_week, last_month, β¦ or explicit dates) |
list_intervals | Raw history grouped by day, paged, max 100-day range |
app_help | Official app documentation (atimelogger.pro/docs) β the assistant looks up how app features work (goals, widgets, sync, export, β¦) instead of guessing |
Tools accept human-readable type names (fuzzy matched); internal ids also flow through tool outputs and parameters for exact targeting, but are never shown to the user. Durations are returned as "2h 15m" strings; times are shown in the user's ATimeLogger timezone unless a timezone parameter is given.
Things you can say to your assistant once the server is registered:
Timers
"Start tracking work" Β· "Stop the timer" Β· "Pause reading, I'll be back in 10" Β· "What am I tracking right now?"
Backdating β forgot to press start or stop:
"Start Development β I actually began at 11:30" Β· "Stop work, I finished 20 minutes ago" Β· "I've been in a meeting since 14:00, track it"
Logging past activities
"Log 2 hours of Reading yesterday from 9 to 11pm" Β· "Add a gym session for last Saturday morning, 90 minutes, tag it 'legs'" Β· "I slept from 23:30 to 7:15, log it"
Annotating existing entries
"Add a note to the current timer: reviewing the Q3 report" Β· "Tag this morning's Work session with 'client-x'" Β· "Update yesterday's meeting entry β it was the architecture sync"
Reports & history
"Where did my week go?" Β· "How much did I work in June, broken down by week?" Β· "Compare my sleep this month vs last month" Β· "Show everything I tracked today" Β· "Which day last week had the most Development time?"
Learning the app β answered from the official documentation rather than guesswork:
"How do goals work?" Β· "Why isn't my sync picking up yesterday's entries?" Β· "What's the difference between a group and a type?" Β· "Can I export to CSV?" Β· "How do I edit an entry's times?"
Combinations β the assistant chains tools on its own:
"Stop whatever is running and start Work" Β· "Continue from where the last entry ended β start Development from that time" Β· "Fill yesterday's gap between lunch and the meeting with Reading"
Activity names are fuzzy-matched against your own type list, so "start dev" finds "Development"; the assistant asks when a name is ambiguous.
atimelogger-cli is installed by the same package and stands on its own β no MCP client, no assistant, no API key beyond the same ATL_TOKEN. It is a read-only JSON CLI for scripts and automation (cron jobs, status bars, shell pipelines) where speaking MCP is impractical, and it reuses the internals the MCP tools are built on: fuzzy type names, period words, DST-correct timezones, humanized durations.
Commands: status, types, report, intervals, plus doctor β run atimelogger-cli --help for all options. doctor is the first thing to run when something is off: it checks the token's presence and shape, whether the host is reachable, whether the token still authenticates, and whether the account has trackable types, telling you which layer broke instead of leaving you to guess. It exits 1 when unhealthy and never echoes the token. Output is always JSON (pretty by default, --compact for one line) with stable keys: durations carry both a humanized string and raw seconds, paging is a has_more boolean, and empty results give [] rather than dropping the key β so jq pipelines don't break on a quiet day. Errors go to stderr as {"error": "..."} with exit code 1 (2 for usage mistakes, including an unresolvable --type). The CLI never starts, stops, or edits anything β write operations stay in the MCP server, where a human is in the loop; scripted writes from cron are retry-prone and can corrupt your timeline.
The package also exports its task-shaped core, so a long-running process can call ATimeLogger in-process instead of spawning a binary per request β useful for daemons, bots, editor plugins, or anything that wants the conveniences (fuzzy type names, period words, DST-correct timezones, humanized durations) without the MCP transport.
Prefer clientFromEnv() over hand-rolling createClient({ token: process.env.ATL_TOKEN }) β the latter ignores ATL_BASE_URL and would silently target production. Unlike the MCP server and the CLI, it throws rather than exiting the host process when no token is configured.
Writes are part of the client rather than something you assemble against api, because the sequencing matters: update does a read-modify-write, since a raw PUT soft-deletes every interval missing from the payload and would silently destroy the entry's tracked time. (The CLI stays read-only for a different reason β unattended shell retries, not programs.)
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/atimelogger-mcp)<a href="https://allmcps.com/mcp/atimelogger-mcp"><img src="https://allmcps.com/api/badge/atimelogger-mcp?style=directory" alt="Atimelogger MCP on AllMCPs" /></a>