Purpose: lazy-toggl-mcp is an MCP (Model Context Protocol) server used to integrate Toggl time tracking into MCP-enabled clients. Through tool calls, it lets clients start or stop a timer, view the currently running time entry, and list available workspaces.
Main capabilities:
- start_tracking: Starts a timer for a new task. Inputs include title (string, task title/description), workspace_id (integer, optional; uses the default workspace when not provided), project_id (integer, optional), tags (string array, optional).
- stop_tracking: Stops the currently running time entry, requires no input, and returns a stop confirmation.
- list_workspaces: Lists all available workspaces, requires no input, and returns workspace IDs and names.
- show_current_time_entry: Displays the currently running time entry. If a timer is running, returns the task description, entry ID, workspace, start time, elapsed time, tags, and project (if any); if no timer is running, returns a notice that there is no running entry.
Usage:
- Clone or create the project, enter the directory, and install dependencies with uv: cd lazy-toggl-mcp, then run uv sync.
- Obtain a Toggl API Token: Log in to Toggl Track, click the avatar in the upper right corner, go to Profile or Settings, find the API Token and copy it.
- Configure the MCP server: Add the configuration to the MCP settings file, replace the path with the project's actual path, and replace the placeholder with the real Toggl API Token.
API integration: This server uses the Toggl Track API v9 and involves the following endpoints: GET /me (get user information), GET /workspaces (list workspaces), GET /me/time_entries/current (get the currently running time entry), POST /workspaces/{workspace_id}/time_entries (start a timer), PATCH /workspaces/{workspace_id}/time_entries/{time_entry_id}/stop (stop a timer).
Use cases: Suitable for users who want to manage Toggl timers through an MCP client via natural language or tool calls, for example to quickly start timing a task, stop the current timer, view the current task status, or confirm workspace information.
Limitations: The materials do not describe a graphical interface, automatic retries, offline caching, multi-user collaboration, or features beyond the four tools above; a valid Toggl account and API Token are required before use, and you must complete the MCP client configuration yourself. The project uses the MIT License.