1. Conduid
  2. AI
  3. Activitywatch MCP Server
MCP server · AI

Activitywatch MCP Server

Model Context Protocol server for ActivityWatch time tracking data

Unclaimed MIT last commit 7 months ago aimcpactivitywatchmcp-server
62Good

Scored 2 hours ago · breakdown

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

From source
git clone https://github.com/8bitgentleman/activitywatch-mcp-server

Tools (10)

activitywatch_add_categoryAdd a new category to ActivityWatch. The category will be appended to the existing list.
ParameterTypeDescription
colorstringOptional hex color for the category, e.g. '#FF0000'
ignore_casebooleanWhether the regex match is case-insensitive (default: true)
name *arrayCategory name hierarchy, e.g. ["Work", "Programming"]
regexstringRegex pattern to match app names / window titles (pipe-separated for OR). Required unless rule_type is 'none'.
rule_typestringRule type: 'regex' (default) or 'none' for parent-only categories
scorenumberOptional productivity score for the category
activitywatch_delete_categoryDelete an ActivityWatch category by its name path.
ParameterTypeDescription
name *arrayName 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
ParameterTypeDescription
bucketId *stringID of the bucket to fetch events from
endstringEnd date/time in ISO format (e.g. '2024-02-28T23:59:59Z')
limitnumberMaximum number of events to return (default: 100)
startstringStart 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.
ParameterTypeDescription
keystringOptional: 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.
ParameterTypeDescription
endstringEnd of the time range in ISO format, e.g. '2024-12-31'. Defaults to now.
limitnumberMaximum number of distinct app+title combinations to return, sorted by duration (default: 50)
min_secondsnumberOnly include combinations with at least this many seconds of total activity (default: 30)
startstringStart 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
ParameterTypeDescription
includeDatabooleanInclude bucket data in response
typestringFilter buckets by type
activitywatch_query_examplesGet examples of properly formatted queries for the ActivityWatch MCP server
activitywatch_run_queryRun a query in ActivityWatch's query language
ParameterTypeDescription
namestringOptional name for the query (used for caching)
query *arrayMUST BE A SINGLE STRING containing all query statements separated by semicolons. DO NOT split into multiple strings.
timeperiods *arrayTime 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.
ParameterTypeDescription
colorstringOptional hex color
ignore_casebooleanWhether the regex is case-insensitive
name *arrayName path of the category to update, e.g. ["Work", "Programming"]
regexstringNew regex pattern
rule_typestringRule type
scorenumberOptional 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
Questions

About Activitywatch MCP Server

How do I install Activitywatch MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Activitywatch MCP Server safe to use with an AI agent?

Its trust score is 62 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 11 source files found that it serves MCP over stdio and makes outbound network calls (21 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Activitywatch MCP Server still maintained?

The last commit was 7 months ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Activitywatch MCP Server provide?

Conduid read 10 tools from the source: activitywatch_add_category, activitywatch_delete_category, activitywatch_get_categories, activitywatch_get_events, activitywatch_get_settings, activitywatch_get_uncategorized_events, activitywatch_list_buckets, activitywatch_query_examples and 2 more. 8 of them publish their parameters, listed under Tools above.

What license is Activitywatch MCP Server released under?

The repository declares the MIT license.