| Crates.io | aw-mcp-server |
| lib.rs | aw-mcp-server |
| version | 0.1.0 |
| created_at | 2026-01-11 21:46:11.164233+00 |
| updated_at | 2026-01-11 21:46:11.164233+00 |
| description | MCP server for ActivityWatch API integration |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2036499 |
| size | 79,039 |
A Rust-based MCP (Model Context Protocol) server for ActivityWatch - the open-source automated time tracker.
Query your ActivityWatch time tracking data through MCP tools:
http://localhost:5600)git clone https://github.com/yourusername/aw-mcp-rs.git
cd aw-mcp-rs
cargo build --release
The binary will be available at target/release/aw-mcp-server.
# Default (connects to localhost:5600)
./target/release/aw-mcp-server
# Custom ActivityWatch URL
ACTIVITYWATCH_URL=http://localhost:5600/api/0 ./target/release/aw-mcp-server
Add to your ~/.claude.json:
{
"mcpServers": {
"activitywatch": {
"command": "/path/to/aw-mcp-server"
}
}
}
List all ActivityWatch buckets.
{
"response_format": "markdown" // or "json"
}
Get a specific bucket by ID.
{
"bucket_id": "aw-watcher-window_hostname",
"response_format": "markdown"
}
Get events from a bucket with optional filters.
{
"bucket_id": "aw-watcher-window_hostname",
"limit": 10,
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-01T23:59:59Z",
"response_format": "markdown"
}
Count events in a bucket.
{
"bucket_id": "aw-watcher-window_hostname",
"start": "2024-01-01T00:00:00Z",
"end": "2024-01-01T23:59:59Z"
}
# Build
cargo build
# Test
cargo test
# Run with debug logging
RUST_LOG=debug cargo run
MIT