Provides comprehensive time tracking and reporting capabilities including starting/stopping timers, retrieving time entries, generating daily/weekly reports with project breakdowns, and managing workspaces, projects, and clients through the Toggl Track API.
MCP Toggl Server
A Model Context Protocol (MCP) server for Toggl Track integration, providing time tracking and reporting capabilities with intelligent caching for optimal performance.
Features
- Time Tracking: Start/stop timers, get current and past time entries
- Smart Reporting: Daily/weekly reports with project and workspace breakdowns
- Performance Optimized: Intelligent caching system minimizes API calls
- Data Hydration: Automatically enriches time entries with project/workspace/client names
- Flexible Filtering: Query by date ranges, workspaces, or projects
- Automation Ready: Structured JSON output perfect for Automation Hub workflows
Installation
Configuration
- Get your Toggl API key from: https://track.toggl.com/profile
- Create a
.env
file:
- Add to your MCP configuration:
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
:
Cursor
Edit .mcp.json
in your project:
Available Tools
Time Tracking
toggl_get_time_entries
Get time entries with optional filters.
toggl_get_current_entry
Get the currently running timer.
toggl_start_timer
Start a new time entry.
toggl_stop_timer
Stop the currently running timer.
Reporting
toggl_daily_report
Generate a daily report with project/workspace breakdowns.
toggl_weekly_report
Generate a weekly report with daily breakdowns.
toggl_project_summary
Get total hours per project for a date range.
toggl_workspace_summary
Get total hours per workspace.
Management
toggl_list_workspaces
List all available workspaces.
toggl_list_projects
List projects in a workspace.
toggl_list_clients
List clients in a workspace.
Cache Management
toggl_warm_cache
Pre-fetch workspace/project/client data for better performance.
toggl_cache_stats
View cache performance metrics.
toggl_clear_cache
Clear all cached data.
Performance Optimization
The server uses an intelligent caching system to minimize API calls:
- First Run: Warms cache by fetching workspaces, projects, and clients
- Subsequent Calls: Uses cached names for hydration (95%+ cache hit rate)
- Smart Invalidation: TTL-based expiry with configurable duration
- Memory Efficient: LRU eviction keeps memory usage under 10MB
Typical Performance
- First report: 2-3 API calls (warm cache + get entries)
- Subsequent reports: 1 API call (just time entries)
- Cache hit rate: >95% for typical usage
Usage Examples
Daily Standup Report
Weekly Summary for Automation Hub
Project Hours Tracking
Integration with Automation Hub
The server returns structured JSON perfect for Automation Hub workflows:
Troubleshooting
API Key Issues
- Ensure your API key is correct (get from https://track.toggl.com/profile)
- API key goes in the username field, "api_token" as password for basic auth
Rate Limiting
- The server implements automatic retry with exponential backoff
- Respects Toggl's rate limits (max 1 request per second)
Cache Issues
- Run
toggl_clear_cache
if data seems stale - Adjust
TOGGL_CACHE_TTL
for your needs (default: 1 hour)
Development
License
GPL-3.0
Support
For issues or questions, please open an issue on GitHub.
Built with 🧡 for the open source community by Very Good Plugins
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables time tracking and reporting through Toggl Track integration with intelligent caching. Supports starting/stopping timers, generating daily/weekly reports, and managing projects with structured JSON output for automation workflows.
Related MCP Servers
- AsecurityAlicenseAqualityEnables natural language time tracking and reporting for Harvest, including automatic leave requests, project/task matching, and date parsing.Last updated -03MIT License
- AsecurityAlicenseAqualityIntegrates with Harvest time tracking API, enabling AI assistants to manage time entries, projects, clients, and tasks through natural language commands.Last updated -1115MIT License
- AsecurityAlicenseAqualityProvides comprehensive integration with the Clockify time tracking API, enabling automated time entry management, project organization, task tracking, and reporting through a standardized interface.Last updated -2911MIT License
TimeCamp MCP Serverofficial
-securityFlicense-qualityA Model Context Protocol server that provides time tracking integration with TimeCamp, allowing AI assistants to create, retrieve, update, and delete time entries through natural language commands.Last updated -