activitywatch-mcp-server-py

v2.1.0
activitywatch-mcp-server-py Checked 1 day ago Published 9 months ago

A Model Context Protocol server providing tools to interact with ActivityWatch time tracking data

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

activitywatch-get-events Activitywatch Get Events

Get raw events from an ActivityWatch bucket.

ParameterTypeDescription
bucket_id *stringID of the bucket to fetch events from
endEnd date/time in ISO format (e.g. '2024-02-28T23:59:59Z')
limitMaximum number of events to return (default: 100)
startStart date/time in ISO format (e.g. '2024-02-01T00:00:00Z')

activitywatch-get-settings Activitywatch Get Settings

Get ActivityWatch settings from the server.

ParameterTypeDescription
keyOptional settings key to retrieve. If not provided, returns all settings.

activitywatch-list-buckets Activitywatch List Buckets

List all ActivityWatch buckets with optional type filtering.

ParameterTypeDescription
include_databooleanInclude bucket data in response
typeFilter buckets by type (e.g., "window", "web", "afk")

activitywatch-query-examples Activitywatch Query Examples

Get examples of properly formatted queries for the ActivityWatch MCP server. This tool takes no parameters and returns helpful examples showing the correct format for ActivityWatch Query Language (AQL) queries.

activitywatch-run-query Activitywatch Run Query

Run a query in ActivityWatch's query language (AQL).

ParameterTypeDescription
query *arrayArray with ONE string containing ALL query statements separated by semicolons. DO NOT split statements into separate array elements.
timeperiods *arrayTime period(s) to query formatted as array of strings. For date ranges, use format: ['2024-10-28/2024-10-29']
nameOptional name for the query (used for caching)