Skip to main content
Glama
saaqibz

toggl-mcp

by saaqibz

Toggl MCP

An MCP (Model Context Protocol) server that lets AI assistants log time entries to Toggl Track.

What it does

Exposes three tools to MCP clients (e.g. Claude):

  • get_tags — lists existing Toggl tags (cached daily)

  • get_entry_descriptions — lists existing time entry descriptions (cached daily)

  • create_time_entry — logs a new time entry with a start time, end time, description, and tag

Also exposes toggl://tags, toggl://entries, and toggl://now as MCP resources.

Time input is in Eastern Time (America/New_York) and converted to UTC before submission.

Related MCP server: Lazy Toggl MCP Server

Setup

  1. Copy .env.example to .env and fill in your values:

BASEURL=https://api.track.toggl.com/api/v9/
CACHE_FOLDER=cache
TOGGL_APIKEY=<your api key>
WORKSPACE_ID=<your workspace id>

To find your workspace ID, call the /me endpoint with your API key.

  1. Install dependencies (requires Python 3.10+):

uv sync
  1. Run the server:

uv run main.py

MCP Client Config

To use with Claude Desktop, add to your MCP config:

{
  "mcpServers": {
    "toggl": {
      "command": "uv",
      "args": ["run", "/path/to/toggl/main.py"]
    }
  }
}

Running Tests

uv run pytest

Tests live in the tests/ directory. The dev dependency group includes pytest.

Where to get Toggl API Key

  1. Log in to Toggl Track

  2. Go to Profile Settings (click your avatar in the bottom-left)

  3. Scroll to the bottom — your API token is listed under API Token

  4. Click Click to reveal and copy the token

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saaqibz/toggl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server