# ActivityWatch MCP Server Documentation
**Last updated:** October 11, 2025
An MCP (Model Context Protocol) server that provides LLM agents with tools to query and analyze ActivityWatch time tracking data.
## Quick Navigation
### π Getting Started
- [**Quick Start Guide**](getting-started/quickstart.md) - Get up and running in 5 minutes
### π‘ Core Concepts
- [**Canonical Events**](concepts/canonical-events.md) - How unified activity tracking works
- [**Categories**](concepts/categories.md) - Classify activities with regex rules
### π Reference
- [**Tools Reference**](reference/tools.md) - Complete tool documentation and parameters
- [**ActivityWatch Integration**](reference/activitywatch-integration.md) - How the MCP integrates with ActivityWatch
### ποΈ Architecture
- [**Implementation Details**](architecture/implementation.md) - Technical architecture and design decisions
### π©βπ» Developer Guide
- [**Best Practices**](developer/best-practices.md) - MCP tool description best practices
- [**Logging & Health**](developer/logging-and-health.md) - Operational features and debugging
### πΊοΈ Plans
- [**Active Plans**](plans/index.md) - Forward-looking multi-step initiatives
- [About Plans](plans/README.md) - How and when to draft planning documents
### π Updates
- [**Latest Updates**](updates/index.md) - Task-scoped "What Was Implemented" documents
- [About Updates](updates/README.md) - How to write and organize updates
## What's This For?
This MCP server enables LLM agents (like Claude) to help users:
- **Analyze productivity** - "How much time did I spend coding today?"
- **Track habits** - "What websites do I visit most?"
- **Understand patterns** - "When am I most productive during the day?"
- **Manage categories** - "Create a category for my gaming activities"
## Who Should Use This?
- **End Users**: Anyone who wants LLM assistance with their ActivityWatch data
- **Developers**: Building MCP integrations or extending the functionality
- **Researchers**: Analyzing computer usage patterns with AI assistance
## Key Features
- β
**Unified Activity Data** - Combines window, browser, and editor activity
- β
**AFK Filtering** - Only counts active working time
- β
**Category Management** - LLM-assisted activity classification
- β
**Multi-Device Support** - Aggregates data across devices
- β
**Smart Defaults** - Minimal configuration required
## Architecture Overview
```
βββββββββββββββββββββββββββββββββββββββ
β MCP Tools Layer β β LLM-friendly tool interfaces
βββββββββββββββββββββββββββββββββββββββ€
β Business Logic Services β β Activity analysis & processing
βββββββββββββββββββββββββββββββββββββββ€
β ActivityWatch Client Layer β β Query API integration
βββββββββββββββββββββββββββββββββββββββ€
β ActivityWatch Server β β Data storage & collection
βββββββββββββββββββββββββββββββββββββββ
```
## Documentation Structure
- **Getting Started**: Installation and initial setup
- **Concepts**: Key ideas like canonical events and categories
- **Reference**: Tool APIs and integration details
- **Architecture**: Implementation and design decisions
- **Plans**: Living strategies and multi-phase roadmaps
- **Developer**: Contribution guidelines and operational docs
- **Updates**: Task-scoped implementation notes and logs
---
For questions or issues, see the [GitHub repository](https://github.com/auriora/activitywatch-mcp) or check the troubleshooting sections in each guide.