MCP Catalogs
Home

activitywatch-mcp-server

by 8bitgentleman·65·Score 46

MCP server for ActivityWatch time tracking data, allowing LLMs to query and interact with time tracking information.

productivityai-llmmonitoring
19
Forks
1
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

The ActivityWatch MCP server connects to ActivityWatch, a time tracking application, and exposes its data and query capabilities to LLMs through the MCP protocol. It allows users to retrieve time tracking data, run queries using ActivityWatch's query language (AQL), access bucket information, and retrieve settings. The server is written in TypeScript and offers both npm installation and source building options, with detailed documentation for various use cases and environments.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Productivity analysis: Query time tracking data to understand how time is spent across different applications and activities
you:Personal insights: Ask questions about time usage patterns and get detailed reports from ActivityWatch through an AI interface
you:Automated reporting: Create custom reports by running complex AQL queries through MCP to extract specific time tracking metrics
you:What is the most common query format error?
you:How do I connect to ActivityWatch running on a different host?

When to choose this

Choose this server if you use ActivityWatch for time tracking and want to query your data through natural language prompts in Claude.

When NOT to choose this

Avoid this if you don't use ActivityWatch, need real-time data access, or require a more comprehensive analytics solution.

Tools this server exposes

4 tools extracted from the README
  • list-buckets

    Lists all available ActivityWatch buckets with optional type filtering

  • run-query

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

  • get-events

    Get raw events from an ActivityWatch bucket

  • get-settings

    Get ActivityWatch settings from the server

Comparable tools

watchtime-mcptimetagger-mcprescue-time-mcp

Installation

Installation

**From npm (coming soon):**

npm install -g activitywatch-mcp-server

**Building from source:**

  1. Clone the repository
  2. npm install
  3. npm run build

Configuration

Add to Claude Desktop config:

{
  "mcpServers": {
    "activitywatch": {
      "command": "activitywatch-mcp-server",
      "args": []
    }
  }
}

If built from source:

{
  "mcpServers": {
    "activitywatch": {
      "command": "node",
      "args": ["/path/to/activitywatch-mcp-server/dist/index.js"]
    }
  }
}

FAQ

What is the most common query format error?
The most frequent error is splitting query statements into separate array elements instead of combining them in one string. All statements should be in a single string within the query array.
How do I connect to ActivityWatch running on a different host?
Use the environment variable AW_API_BASE or the --aw-api-base flag: `export AW_API_BASE=http://mydesktop.local:5600/api/0`

Compare activitywatch-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.