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.
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:
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 READMElist-bucketsLists all available ActivityWatch buckets with optional type filtering
run-queryRun a query in ActivityWatch's query language (AQL)
get-eventsGet raw events from an ActivityWatch bucket
get-settingsGet ActivityWatch settings from the server
Comparable tools
Installation
Installation
**From npm (coming soon):**
npm install -g activitywatch-mcp-server**Building from source:**
- Clone the repository
npm installnpm 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
Last updated · Auto-generated from public README + GitHub signals.