{"id":29480946,"url":"https://github.com/kyteproject/togglgo-mcp","last_synced_at":"2026-05-15T12:34:26.949Z","repository":{"id":304144125,"uuid":"1017553027","full_name":"KyteProject/togglgo-mcp","owner":"KyteProject","description":"A lightweight MCP (Model Context Protocol) server for Toggl time tracking, built in Go.","archived":false,"fork":false,"pushed_at":"2025-07-11T09:35:01.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-11T12:39:00.813Z","etag":null,"topics":["api","go","golang","mcp","mcp-client","mcp-server","time-tracking","toggl"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KyteProject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-10T17:57:44.000Z","updated_at":"2025-07-11T09:35:05.000Z","dependencies_parsed_at":"2025-07-11T12:39:02.765Z","dependency_job_id":"9312eee8-12eb-4a7e-9edc-aa8f8e5e6387","html_url":"https://github.com/KyteProject/togglgo-mcp","commit_stats":null,"previous_names":["kyteproject/togglgo-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/KyteProject/togglgo-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyteProject%2Ftogglgo-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyteProject%2Ftogglgo-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyteProject%2Ftogglgo-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyteProject%2Ftogglgo-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyteProject","download_url":"https://codeload.github.com/KyteProject/togglgo-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyteProject%2Ftogglgo-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265375402,"owners_count":23755228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","go","golang","mcp","mcp-client","mcp-server","time-tracking","toggl"],"created_at":"2025-07-14T23:55:10.203Z","updated_at":"2026-05-15T12:34:26.916Z","avatar_url":"https://github.com/KyteProject.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toggl MCP Server\n\n![Go](https://img.shields.io/badge/go-%2300ADD8.svg?style=for-the-badge\u0026logo=go\u0026logoColor=white)\n![Coverage](https://img.shields.io/badge/coverage-86.4%25-brightgreen?style=for-the-badge)\n![Tests](https://img.shields.io/badge/tests-passing-brightgreen?style=for-the-badge)\n\nA lightweight MCP (Model Context Protocol) server for Toggl time tracking, built in Go.\n\n## Features\n\n### Time Entry Management\n\n- ⚠️ **start_time_entry** - Start a new time entry\n- ⚠️ **stop_time_entry** - Stop the current running time entry\n- ✅ **get_current_time_entry** - Get the currently running time entry\n- ✅ **get_time_entries** - Get time entries with optional date filtering\n- ✅ **get_time_entries_for_day** - Get time entries for a specific day (convenience)\n\n### Project Management\n\n- ✅ **create_project** - Create a new project\n- ✅ **get_projects** - Get projects in a workspace\n\n### TODO\n\n- **update_time_entry**\n- **update_project**\n\n### Out of Scope\n\nFor now I've chosen to leave these out-of-scope to minimise risk of accidental destructive actions.\n\n- 🚫 **delete_project**\n- 🚫 **delete_entry**\n\n## Project Structure\n\n```shell\ntogglgo-mcp/\n├── main.go              # Entry point\n├── app/\n│   ├── client.go        # Toggl API client\n│   ├── handlers.go      # MCP tool handlers\n│   ├── types.go         # Type definitions\n│   └── utils.go         # Helper functions\n├── go.mod\n├── go.sum\n└── README.md\n```\n\n## Setup\n\n1. Get your Toggl API token from [Toggl Track Profile](https://track.toggl.com/profile)\n2. Set the environment variable:\n\n   ```bash\n   export TOGGL_API_TOKEN=your_api_token_here\n   ```\n\n## Installation\n\n```bash\ngo mod tidy\ngo build -o toggl-mcp\n```\n\n## Development\n\n### Prerequisites\n\n- Go 1.21 or later\n- Toggl API token for testing\n\n### Building and Testing\n\n```bash\n# Install dependencies\ngo mod tidy\n\n# Run tests\ngo test ./app -v\n\n# Run tests with coverage\ngo test ./app -cover\n\n# Build the binary\ngo build -o toggl-mcp\n\n# Run the MCP server (for debugging)\n./toggl-mcp\n```\n\n## Install \u0026 Usage with Claude Desktop\n\nYou can use this MCP server as a custom tool in Claude Desktop (Anthropic's desktop app) by configuring it in your Claude config file.\n\n### 1. Build the MCP Server\n\n```bash\ngo build -o toggl-mcp\n```\n\n### 3. Configure Claude Desktop\n\nEdit (or create) your Claude Desktop config file, usually located at:\n\n- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\nAdd a section pointing to the binary, for example:\n\n```json\n{\n  \"mcpServers\": {\n    \"toggl\": {\n      \"command\": \"/Users/yourname/togglgo-mcp/toggl-mcp\",\n      \"env\": {\n        \"TOGGL_API_TOKEN\": \"your-token-here\"\n      }\n    }\n  }\n}\n```\n\n**Note:**\n\n- Make sure the `command` path points to your built `toggl-mcp` binary.\n- You can set the `TOGGL_API_TOKEN` here or in your shell environment.\n- Claude Desktop will launch the MCP server as needed.\n\n### 4. Start Claude Desktop\n\n- Restart Claude Desktop. It will detect and use your custom MCP tool.\n- You can now use the Toggl tools from within Claude Desktop.\n\n## API Reference\n\n### Time Entry Tools\n\n#### start_time_entry\n\n- `description` (required) - Description of the time entry\n- `workspace_id` (required) - Workspace ID\n- `project_id` (optional) - Project ID\n\n#### stop_time_entry\n\n- `workspace_id` (required) - Workspace ID\n\n#### get_current_time_entry\n\nNo parameters required.\n\n#### get_time_entries\n\n- `start_date` (optional) - Start date (YYYY-MM-DD)\n- `end_date` (optional) - End date (YYYY-MM-DD)\n\n**Important:** The Toggl API uses inclusive start, exclusive end date logic. To get entries for a single day (e.g., July 9th), use `start_date=2025-07-09` and `end_date=2025-07-10`.\n\n#### get_time_entries_for_day\n\n- `date` (required) - Date to get entries for (YYYY-MM-DD)\n\nConvenience tool that automatically handles the date range for a single day.\n\n### Project Tools\n\n#### create_project\n\n- `name` (required) - Project name\n- `workspace_id` (required) - Workspace ID\n- `color` (optional) - Project color\n- `client_id` (optional) - Client ID\n\n#### get_projects\n\n- `workspace_id` (required) - Workspace ID\n- `active` (optional) - Filter by active status\n\n## Testing\n\nThe project includes comprehensive test coverage (86.4%) for all major components.\n\n### Running Tests\n\n```bash\n# Run all tests\ngo test ./app\n\n# Run tests with verbose output\ngo test ./app -v\n\n# Run tests with coverage\ngo test ./app -cover\n\n# Generate detailed coverage report\ngo test ./app -coverprofile=coverage.out\ngo tool cover -html=coverage.out -o coverage.html\n\n# Generate function-level coverage report\ngo tool cover -func=coverage.out\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyteproject%2Ftogglgo-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyteproject%2Ftogglgo-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyteproject%2Ftogglgo-mcp/lists"}