toggl-track-mcp
Integrates with the Toggl Track time tracking service, letting AI assistants log and query tracked time, organize projects, clients, tags, and tasks, and generate time reports through natural language.
Full control over a Toggl Track account: start/stop and manage time entries and live timers, and create/read/update/delete projects, clients, tags, tasks, and workspaces. Also pulls Reports API v3 data such as summary reports grouped by project/client/user, detailed entry searches, and weekly hour breakdowns.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
toggl-track-mcp
A Model Context Protocol (MCP) server for Toggl Track — the popular time tracking tool.
This server gives AI assistants (Claude Desktop, Claude Code, Cursor, etc.) full control over your Toggl Track account: start/stop timers, manage projects, clients, tags, tasks, and pull reports — all through natural language.
35 tools covering every Toggl Track entity with full create, read, update, and delete support.
Prerequisites
Python 3.10+
uv package manager (recommended) or pip
Toggl Track account with an API token
Getting Your API Token
Log in to Toggl Track
Go to your Profile (click avatar bottom-left > Profile Settings)
Scroll to the bottom — your API Token is there
Copy it — you'll need it in the next step
Related MCP server: Toggl MCP Server
Installation
Option A: pip install from PyPI (recommended)
pip install toggl-track-mcpOption B: Run directly with uvx (no install needed)
uvx toggl-track-mcpOption C: Install from GitHub (latest)
pip install git+https://github.com/dovahkaal/TogglTrackMcp.gitOption D: Clone and install locally (for development)
git clone https://github.com/dovahkaal/TogglTrackMcp.git
cd TogglTrackMcp
uv syncConfiguration
The server needs one environment variable:
Variable | Required | Description |
| Yes | Your Toggl Track API token |
| No | Default workspace ID. If not set, auto-detects from your Toggl profile |
Claude Desktop
Add this to your claude_desktop_config.json:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Using PyPI install (simplest)
{
"mcpServers": {
"toggl-track": {
"command": "uvx",
"args": ["toggl-track-mcp"],
"env": {
"TOGGL_API_TOKEN": "your-api-token-here"
}
}
}
}Using a local clone
{
"mcpServers": {
"toggl-track": {
"command": "uv",
"args": ["--directory", "/path/to/TogglTrackMcp", "run", "toggl-track-mcp"],
"env": {
"TOGGL_API_TOKEN": "your-api-token-here"
}
}
}
}Replace
/path/to/TogglTrackMcpwith the actual path where you cloned the repo. On Windows use double backslashes:C:\\Users\\you\\TogglTrackMcp.
After saving, restart Claude Desktop. You should see the Toggl Track tools appear in the tools menu (hammer icon).
Claude Code
claude mcp add toggl-track -e TOGGL_API_TOKEN=your-api-token-here -- uvx toggl-track-mcpCursor / Other MCP Clients
Use the same configuration pattern — set command to uvx, args to ["toggl-track-mcp"], and pass TOGGL_API_TOKEN in the environment.
Running Standalone
export TOGGL_API_TOKEN="your-api-token-here"
uvx toggl-track-mcpThe server communicates over stdio using the MCP protocol — it's meant to be launched by an MCP client, not used directly in a terminal.
Available Tools (35)
Time Entries (8)
Tool | Description |
| List recent time entries, optionally filtered by date range (YYYY-MM-DD) |
| Get the currently running timer, or confirms no timer is running |
| Get a specific time entry by its ID |
| Start a new live timer with optional description, project, tags |
| Stop a currently running timer |
| Log a completed time entry for past work (start time + duration) |
| Update any field on an existing time entry |
| Permanently delete a time entry |
Projects (5)
Tool | Description |
| List all projects, optionally filtered by active status or name |
| Get full details for a specific project |
| Create a new project with optional client, color, billable settings |
| Update project name, client, color, status, or other fields |
| Permanently delete a project |
Clients (7)
Tool | Description |
| List clients, filterable by status (active/archived) or name |
| Get full details for a specific client |
| Create a new client with optional notes |
| Update client name or notes |
| Permanently delete a client |
| Soft-delete a client (and its projects) — can be restored later |
| Restore a previously archived client |
Tags (4)
Tool | Description |
| List all tags in the workspace |
| Create a new tag |
| Rename an existing tag |
| Permanently delete a tag |
Tasks (5)
Tool | Description |
| List tasks for a project (requires Toggl Pro) |
| Get details for a specific task |
| Create a task on a project, with optional time estimate |
| Update task name, estimate, or active status |
| Permanently delete a task |
Workspaces (3)
Tool | Description |
| List all workspaces you have access to |
| Get details for a specific workspace |
| Get your Toggl profile (email, timezone, default workspace) |
Reports — Toggl Reports API v3 (3)
Tool | Description |
| Aggregated time summary grouped by project, client, or user |
| Search and filter individual time entries with full detail |
| Weekly breakdown showing hours per day |
Example Prompts
Once connected, just talk naturally:
"Start a timer for code review on Project X"
"What am I currently tracking?"
"Stop my timer"
"Log 2 hours for the meeting with Acme Corp yesterday at 2pm"
"Show me a summary of my hours this week"
"List all my projects and clients"
"How much time did I spend on Project Y last month?"
"Create a new tag called 'urgent'"
"Archive the client Acme Corp"
Architecture
src/toggl_track_mcp/
├── server.py # FastMCP instance + lifespan context
├── api/
│ ├── client.py # Async HTTP client (auth, rate limiting, errors)
│ ├── time_entries.py # Toggl API v9 endpoints per entity
│ ├── projects.py
│ ├── clients.py
│ ├── tags.py
│ ├── tasks.py
│ ├── workspaces.py
│ └── reports.py # Reports API v3 endpoints
└── tools/
├── time_entries.py # MCP tool definitions per entity
├── projects.py
├── clients.py
├── tags.py
├── tasks.py
├── workspaces.py
└── reports.pyAPI layer: Async
httpxclient with rate limiting (1 req/sec), typed exceptions, and automatic workspace detectionTools layer:
@mcp.tool()decorators with LLM-optimized docstrings and graceful error messagesLifespan pattern: HTTP client is created once at startup and shared across all tool calls
Development
# Clone
git clone https://github.com/dovahkaal/TogglTrackMcp.git
cd TogglTrackMcp
# Install with dev dependencies
uv sync --extra dev
# Run tests (43 tests, all mocked — no API token needed)
uv run pytest
# Run tests with verbose output
uv run pytest -vContributing
Contributions are welcome! Feel free to open issues or submit pull requests at github.com/dovahkaal/TogglTrackMcp.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
Read your tracked time and projects, pause tracking or add a note, from Claude or ChatGPT.
Time tracking you talk to: log, check and fix your work hours from your AI assistant.
Track time in Clockify: time entries, projects, clients, tags and reports; start, stop and log time.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Clockify time tracking API to manage time entries, projects, tasks, and workspaces through natural language commands.81 npm5ISC
- AlicenseAqualityDmaintenanceEnables control of Toggl time tracking directly from LLMs like Claude or ChatGPT. Supports starting/stopping timers, viewing current and historical time entries, managing projects, and generating weekly summaries through natural language.815 npm3MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to the TrackingTime API v4 for managing projects, tasks, and team assignments. Users can start or stop timers, log manual time entries, and organize project workflows using natural language.10 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the Toggl time tracking API to manage time entries, projects, and workspaces through natural language.22MIT