
8bitgentleman/activitywatch-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
8bitgentleman/activewatch-mcp-serverは[[https://github.com/8bitgentleman/activitywatch-mcp-server.]からインポートされたMCPサーバー候補です
概要
8bitgentleman/activewatch-mcp-serverは[[https://github.com/8bitgentleman/activitywatch-mcp-server.]からインポートされたMCPサーバー候補です
概要(AI 翻訳)
接続するモデルコンテキストプロトコル(MCP)サーバー アクティビティ腕時計, LLM を Claude のようなものにする データを追跡する時間とやり取りします。
##特徴
-リストバケット: 利用可能なすべてのアクティビティを見るWatch Bucket -Run Queries:強力なAQL(ActivityWatch Query Language)クエリを実行
- 未加工でき事を得て下さい: 任意の Bucket から直接イベントを取得する
- 設定: Access ActivityWatch設定の設定
インストール
アクティビティWatch MCPサーバーをnpmからインストールするか、自分でインストールできます。
##npmからインストールする
ソースから###ビル
-
このリポジトリをクローンする:
-
依存関係を取付けて下さい:
-
プロジェクトのビルド:
前提条件
- 活動内容 インストールして実行する時計
- Node.js(v14以上)
- デスクトップ用クロード(またはその他のMCPクライアント)
使用法
デスクトップ用のClaudeを使用して
1。 デスクトップ設定ファイル用のClaudeを開きます。
- ウィンドウ:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- MCP サーバーの設定を追加します。
ソースからビルドした場合は、次のコマンドを使用します。
1。 デスクトップ用のClaudeを再起動する
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
ActivityWatch MCP Server
A Model Context Protocol (MCP) server that connects to ActivityWatch, allowing LLMs like Claude to interact with your time tracking data.
Features
- List Buckets: View all available ActivityWatch buckets
- Run Queries: Execute powerful AQL (ActivityWatch Query Language) queries
- Get Raw Events: Retrieve events directly from any bucket
- Get Settings: Access ActivityWatch configuration settings
Installation
You can install the ActivityWatch MCP server either from npm or by building it yourself.
Installing from npm (coming soon)
# Global installation
npm install -g activitywatch-mcp-server
# Or install locally
npm install activitywatch-mcp-server
Building from Source
-
Clone this repository:
git clone https://github.com/8bitgentleman/activitywatch-mcp-server.git cd activitywatch-mcp-server -
Install dependencies:
npm install -
Build the project:
npm run build
Prerequisites
- ActivityWatch installed and running
- Node.js (v14 or higher)
- Claude for Desktop (or any other MCP client)
Usage
Using with Claude for Desktop
-
Open your Claude for Desktop configuration file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
-
Add the MCP server configuration:
{ "mcpServers": { "activitywatch": { "command": "activitywatch-mcp-server", "args": [] } } }If you built from source, use:
{ "mcpServers": { "activitywatch": { "command": "node", "args": ["/path/to/activitywatch-mcp-server/dist/index.js"] } } } -
Restart Claude for Desktop
-
Look for the MCP icon in Claude’s interface to confirm it’s working
Using a rootless podman container on Linux with Gemini CLI
Make sure to build the image first with:
version=$(npm pkg get version | tr -d '"')
podman build . -t activitywatch-mcp-server:${version}
This example uses the override for Activity Watch not being available on
127.0.0.1 (see next section). If not required, you may omit the AW_API_BASE
environment variable.
{
"mcpServers": {
"activitywatch-mcp-server": {
"command": "/usr/bin/podman",
"args": [
"run",
"--rm",
"--interactive",
"--userns=keep-id",
"-e",
"AW_API_BASE",
"localhost/activitywatch-mcp-server:1.2.1"
],
"env": {
"AW_API_BASE": "http://mydesktop.local:5600/api/0"
}
}
}
}
Override ActivityWatch server host/port
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"activitywatch": {
"command": "activitywatch-mcp-server",
"args": []
}
}
}