Skip to main content

MCP server for Toggl Track time tracking — full CRUD for time entries, projects, clients, tags, tasks, and reports

Project description

toggl-track-mcp

MCP server for Toggl Track — full CRUD for time entries, projects, clients, tags, tasks, and Reports API v3.

Quick Start

Install

# Using uvx (no install needed)
uvx toggl-track-mcp

# Or install with pip
pip install toggl-track-mcp

Configure

Set your Toggl API token (get it from https://track.toggl.com/profile):

export TOGGL_API_TOKEN="your-api-token"

Optionally set a default workspace:

export TOGGL_WORKSPACE_ID="your-workspace-id"

Claude Desktop Configuration

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "toggl-track": {
      "command": "uvx",
      "args": ["toggl-track-mcp"],
      "env": {
        "TOGGL_API_TOKEN": "your-api-token"
      }
    }
  }
}

Claude Code Configuration

claude mcp add toggl-track -- uvx toggl-track-mcp

Then set the env var TOGGL_API_TOKEN in your shell.

Available Tools (35)

Time Entries (8)

Tool Description
list_time_entries List recent time entries, optionally filtered by date range
get_current_time_entry Get the currently running timer
get_time_entry Get a specific time entry by ID
start_time_entry Start a new timer
stop_time_entry Stop a running timer
create_time_entry Log a completed time entry (past time)
update_time_entry Update fields on an existing time entry
delete_time_entry Delete a time entry

Projects (5)

Tool Description
list_projects List projects, optionally filtered by status or name
get_project Get project details
create_project Create a new project
update_project Update project fields
delete_project Delete a project

Clients (7)

Tool Description
list_clients List clients, optionally filtered by status or name
get_client Get client details
create_client Create a new client
update_client Update client fields
delete_client Delete a client permanently
archive_client Archive a client (soft delete)
restore_client Restore an archived client

Tags (4)

Tool Description
list_tags List all tags in workspace
create_tag Create a new tag
update_tag Rename a tag
delete_tag Delete a tag

Tasks (5)

Tool Description
list_tasks List tasks for a project (Pro only)
get_task Get task details
create_task Create a new task on a project
update_task Update task fields
delete_task Delete a task

Workspaces (3)

Tool Description
list_workspaces List all accessible workspaces
get_workspace Get workspace details
get_me Get authenticated user profile

Reports (3)

Tool Description
get_summary_report Summary report grouped by project/client (Reports API v3)
search_detailed_report Detailed time entry search with filters (Reports API v3)
get_weekly_report Weekly report with daily breakdowns (Reports API v3)

Example Prompts

  • "Start a timer for code review on Project X"
  • "What am I currently tracking?"
  • "Stop my current timer"
  • "Show me a summary of hours this week"
  • "List all projects in my workspace"
  • "Create a new client called Acme Corp"
  • "How much time did I spend on Project Y last month?"

Development

# Clone and install
git clone https://github.com/youruser/toggl-track-mcp.git
cd toggl-track-mcp
uv sync --extra dev

# Run tests
uv run pytest

# Run the server locally
TOGGL_API_TOKEN=your-token uv run toggl-track-mcp

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toggl_track_mcp-0.1.0.tar.gz (62.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toggl_track_mcp-0.1.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file toggl_track_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: toggl_track_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 62.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for toggl_track_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d983ca679a05810cb9979c72da6575ba9d02172632a17b7610c08c3a6342266
MD5 1ebdc980749691a562686b8206c81b7f
BLAKE2b-256 8a52b82dd0c239e79beb8c196b67738caf8bec5d323a3d415a74ceb25470e7e0

See more details on using hashes here.

File details

Details for the file toggl_track_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for toggl_track_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b11088278ab672f697ccfa1fd4806342755aae2bcd7131d786ab2747368bc16
MD5 3b7b0a4441d66cd7d435a63958e85286
BLAKE2b-256 01574a0a33e2618dff6fee68c1a617eacba7aa1d2065ceb80755c5660a58c689

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page