RescueTime MCP Server
RescueTime MCPサーバー
ClaudeがあなたのRescueTime生産性データにアクセスできるようにする軽量なMCPサーバーです。FastMCPを使用して構築されています。
ツール
ツール | 説明 |
| 生産性のパルス、記録された時間、生産的な時間と気が散る時間の内訳 |
| 時間を費やした順にランク付けされたアプリ/ウェブサイト |
| カテゴリ別の時間の内訳(開発、コミュニケーション、ソーシャルなど) |
| 過去N日間の生産性パルスの傾向 |
すべてのツールは day パラメータを受け取ります: "today"、"yesterday"、または "YYYY-MM-DD"。
Related MCP server: RescueTime MCP Server
セットアップ
1. APIキーを取得する
rescuetime.com/anapi/manage にアクセスし、APIキーを作成またはコピーします。
2. FastMCPをインストールする
pipx install fastmcpまたは uv を使用する場合:
uv tool install fastmcp3. Claude Codeに追加する
claude mcp add rescuetime \
-e RESCUETIME_API_KEY=your_api_key_here \
-- fastmcp run /path/to/server.pyまたは .mcp.json に手動で追加します:
{
"mcpServers": {
"rescuetime": {
"command": "fastmcp",
"args": ["run", "/path/to/server.py"],
"env": {
"RESCUETIME_API_KEY": "your_api_key_here"
}
}
}
}4. Claude Codeを再起動する
RescueTimeツールがセッションに表示されるはずです。
使用例
接続後、Claudeに以下のような質問ができます:
「今日の私の生産性はどうでしたか?」
「昨日、最も時間を費やしたアプリは何ですか?」
「過去7日間の生産性の傾向を見せて」
「今週、どのカテゴリに時間を費やしましたか?」
要件
Python 3.11以上
FastMCP 3.x
RescueTimeアカウント(無料またはプレミアム)
RescueTime APIキー
仕組み
このサーバーは、APIキーを使用してRescueTime Analytic Data APIを呼び出し、Claudeが推論できる構造化された生産性データを返します。データはClaudeセッションに返される以外、どこにも保存または送信されません。
ライセンス
MIT
Available Tools
5 toolsget_activity_dataA
Get top activities/applications by time spent.
Args: date_str: Date to query - 'today', 'yesterday', or 'YYYY-MM-DD' limit: Maximum number of activities to show (default: 10)
Shows which specific applications and websites you spent time on, ranked by duration. Includes productivity classification for each.
Inputs: date_str, limit. Returns: result
get_category_breakdownA
Get time spent by category.
Args: date_str: Date to query - 'today', 'yesterday', or 'YYYY-MM-DD'
Shows high-level categories like Software Development, Communication, Reference & Learning, etc. with time and productivity classification.
Inputs: date_str. Returns: result
get_hourly_productivityA
Get productivity breakdown by hour.
Args: date_str: Date to query - 'today', 'yesterday', or 'YYYY-MM-DD'
Shows when during the day you were most/least productive. Useful for identifying peak productivity hours and scheduling deep work.
Inputs: date_str. Returns: result
get_productivity_trendB
Get productivity pulse trend for the last N days.
Args: days: Number of days to look back (default: 7, max 14)
Shows the daily productivity pulse with visual bars and calculates averages. Useful for identifying patterns and trends over time.
Inputs: days. Returns: result
get_today_summaryA
Get today's complete RescueTime productivity summary.
This is the recommended daily check-in tool. Returns:
Productivity pulse (0-100 score)
Total time logged
Time breakdown by productivity level
Productive vs distracting percentages
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct focus: activity details, category aggregation, hourly productivity, trend over days, and a comprehensive daily summary. No overlap between tools.
All tools follow a consistent 'get_<descriptive_noun>' pattern with snake_case, making it predictable for an agent to infer function from name.
Five tools is well-scoped for a personal productivity monitoring server, covering key aspects without unnecessary complexity or missing essentials.
The tool set covers daily summary, detailed activities, categories, hourly breakdown, and trends. Minor gaps like historical data export or multi-day comparison are acceptable.
Maintenance
Related MCP Connectors
Read your tracked time and projects, pause tracking or add a note, from Claude or ChatGPT.
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Connect Claude to your Intervals.icu watch data for fitness, workout review, and plan writing.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive access to RescueTime productivity data and features through the Model Context Protocol. Supports analytics retrieval, focus session management, highlights creation, and offline time tracking through natural language interactions.12MIT
- FlicenseAqualityCmaintenanceProvides access to RescueTime productivity data including daily summaries, activity tracking, productivity trends, category breakdowns, and hourly analysis to help understand and optimize time usage patterns.54-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to read your Whoop recovery, sleep, cycle, and workout data through natural language queries.-
- AlicenseNot gradedqualityDmaintenanceConnects your Whoop health data to Claude, enabling natural language queries about recovery, sleep, strain, and workouts.MIT