About Activitywatch MCP Server
Activitywatch MCP Server is an MCP server published by 8bitgentleman in the AI category: model Context Protocol server for ActivityWatch time tracking data. Conduid read 10 tools from its source: activitywatch_add_category, activitywatch_delete_category, activitywatch_get_categories, activitywatch_get_events, activitywatch_get_settings, activitywatch_get_uncategorized_events and 4 more. No package is published for it, so it installs from a source checkout.
The repository has 74 stars and 22 forks, is licensed MIT, and its last commit was on 15 Apr 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include activitywatch.
Install
git clone https://github.com/8bitgentleman/activitywatch-mcp-serverTools (10)
activitywatch_add_categoryAdd a new category to ActivityWatch. The category will be appended to the existing list.| Parameter | Type | Description |
|---|---|---|
| color | string | Optional hex color for the category, e.g. '#FF0000' |
| ignore_case | boolean | Whether the regex match is case-insensitive (default: true) |
| name * | array | Category name hierarchy, e.g. ["Work", "Programming"] |
| regex | string | Regex pattern to match app names / window titles (pipe-separated for OR). Required unless rule_type is 'none'. |
| rule_type | string | Rule type: 'regex' (default) or 'none' for parent-only categories |
| score | number | Optional productivity score for the category |
activitywatch_delete_categoryDelete an ActivityWatch category by its name path.| Parameter | Type | Description |
|---|---|---|
| name * | array | Name path of the category to delete, e.g. ["Work", "Programming"] |
activitywatch_get_categoriesGet all ActivityWatch categories (classification rules). Returns the list of categories with their regex rules used to classify window events.activitywatch_get_eventsGet raw events from an ActivityWatch bucket| Parameter | Type | Description |
|---|---|---|
| bucketId * | string | ID of the bucket to fetch events from |
| end | string | End date/time in ISO format (e.g. '2024-02-28T23:59:59Z') |
| limit | number | Maximum number of events to return (default: 100) |
| start | string | Start date/time in ISO format (e.g. '2024-02-01T00:00:00Z') |
activitywatch_get_settingsGet ActivityWatch settings. Can retrieve all settings or a specific key if provided.| Parameter | Type | Description |
|---|---|---|
| key | string | Optional: Get a specific settings key instead of all settings |
activitywatch_get_uncategorized_eventsFetch window events that have NOT been matched by any category rule, grouped and sorted by total duration. Use this to discover what activities need new category rules. Returns the top N app+title combinations by time spent.| Parameter | Type | Description |
|---|---|---|
| end | string | End of the time range in ISO format, e.g. '2024-12-31'. Defaults to now. |
| limit | number | Maximum number of distinct app+title combinations to return, sorted by duration (default: 50) |
| min_seconds | number | Only include combinations with at least this many seconds of total activity (default: 30) |
| start | string | Start of the time range in ISO format, e.g. '2024-01-01'. Defaults to 30 days ago. |
activitywatch_list_bucketsList all ActivityWatch buckets with optional type filtering| Parameter | Type | Description |
|---|---|---|
| includeData | boolean | Include bucket data in response |
| type | string | Filter buckets by type |
activitywatch_query_examplesGet examples of properly formatted queries for the ActivityWatch MCP serveractivitywatch_run_queryRun a query in ActivityWatch's query language| Parameter | Type | Description |
|---|---|---|
| name | string | Optional name for the query (used for caching) |
| query * | array | MUST BE A SINGLE STRING containing all query statements separated by semicolons. DO NOT split into multiple strings. |
| timeperiods * | array | Time periods to query. Format: ['2024-10-28/2024-10-29'] where dates are in ISO format and joined with a slash |
activitywatch_update_categoryUpdate an existing ActivityWatch category by its name path. Replaces the matching category with new values.| Parameter | Type | Description |
|---|---|---|
| color | string | Optional hex color |
| ignore_case | boolean | Whether the regex is case-insensitive |
| name * | array | Name path of the category to update, e.g. ["Work", "Programming"] |
| regex | string | New regex pattern |
| rule_type | string | Rule type |
| score | number | Optional productivity score |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 11 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:3
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 21 callssrc/bucketList.ts:41, src/bucketList.ts:101, src/bucketList.ts:119
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 11 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README