activitywatch-mcp-server-py
v2.1.0A 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.
| Parameter | Type | Description |
|---|---|---|
bucket_id * | string | ID of the bucket to fetch events from |
end | End date/time in ISO format (e.g. '2024-02-28T23:59:59Z') | |
limit | Maximum number of events to return (default: 100) | |
start | Start date/time in ISO format (e.g. '2024-02-01T00:00:00Z') |
activitywatch-get-settings Activitywatch Get Settings
Get ActivityWatch settings from the server.
| Parameter | Type | Description |
|---|---|---|
key | Optional settings key to retrieve. If not provided, returns all settings. |
activitywatch-list-buckets Activitywatch List Buckets
List all ActivityWatch buckets with optional type filtering.
| Parameter | Type | Description |
|---|---|---|
include_data | boolean | Include bucket data in response |
type | Filter 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).
| Parameter | Type | Description |
|---|---|---|
query * | array | Array with ONE string containing ALL query statements separated by semicolons. DO NOT split statements into separate array elements. |
timeperiods * | array | Time period(s) to query formatted as array of strings. For date ranges, use format: ['2024-10-28/2024-10-29'] |
name | Optional name for the query (used for caching) |