
8bitgentleman/activitywatch-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
8bitgentleman/activitywatch-mcp-server는 MCP 서버 후보자가 https://github.com/8bitgentleman/activitywatch-mcp-server.에서 수입되었습니다
개요
8bitgentleman/activitywatch-mcp-server는 MCP 서버 후보자가 https://github.com/8bitgentleman/activitywatch-mcp-server.에서 수입되었습니다
개요(AI 번역)
A Model Context Protocol (MCP) 서버로 연결 ActivityWatch, Claude와 같은 LLM을 허용 시간 추적 데이터와 상호 작용합니다.
특징
-List 버킷: 모든 사용 가능한 ActivityWatch Buckets 보기
- Run Queries: 강력한 AQL 실행 (ActivityWatch Query Language) 쿼리
- ** 익지않는 사건을 얻으십시오 **: 어떤 물통에서 이벤트를 직접 검색 -Get Settings: Access ActivityWatch 설정
설치
npm 또는 직접 구축하여 ActivityWatch MCP 서버를 설치할 수 있습니다.
npm에서 설치 (곧 도착)
소스에서 건물
-
Clone 이 저장소:
-
의존성 설치:
-
프로젝트 구축:
필수품
- 활동 설치 및 실행
- Node.js (v14 이상)
- 데스크톱 용 Claude (또는 다른 MCP 클라이언트)
사용법
Desktop용 Claude 사용
- 데스크탑 구성 파일에 대한 Claude를 엽니 다 :
- 윈도우:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- MCP 서버 구성 추가:
소스에서 내장 된 경우, 사용 :
-
데스크탑을 위한 Restart 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": []
}
}
}