Skip to main content
Glama
RescueTime MCP Server

RescueTime MCP Server

RescueTime MCPサーバー

ClaudeがあなたのRescueTime生産性データにアクセスできるようにする軽量なMCPサーバーです。FastMCPを使用して構築されています。

ツール

ツール

説明

get_daily_summary

生産性のパルス、記録された時間、生産的な時間と気が散る時間の内訳

get_top_activities

時間を費やした順にランク付けされたアプリ/ウェブサイト

get_categories

カテゴリ別の時間の内訳(開発、コミュニケーション、ソーシャルなど)

get_productivity_trend

過去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 fastmcp

3. 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 tools
get_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

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    All tools follow a consistent 'get_<descriptive_noun>' pattern with snake_case, making it predictable for an agent to infer function from name.

    Tool Count5/5

    Five tools is well-scoped for a personal productivity monitoring server, covering key aspects without unnecessary complexity or missing essentials.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      12
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects your Whoop health data to Claude, enabling natural language queries about recovery, sleep, strain, and workouts.
      MIT