Harvest Natural Language Time Entry MCP Server

by adrian-dotco

Integrations

  • Runs as a Node.js application, connecting Harvest's time tracking service with Claude's AI interface to enable natural language processing of time entries and leave requests.

Harvest自然言語時間入力MCPサーバー

自然言語を使用してHarvestのタイムエントリを記録できるMCPサーバー。休暇申請などの特別な処理も含みます。このサーバーは、自然言語入力を理解し、休暇申請などの一般的なシナリオを自動的に処理することで、時間管理をより直感的にします。

特徴

  • 🗣️ 自然言語による時間入力解析
  • 🏖️ 特別休暇申請の処理(例:「今日は病気で休みです」)
  • ⏰ 勤務時間の設定が可能
  • 🌍 タイムゾーンのサポート
  • 🎯 プロジェクトとタスクの自動マッチング
  • 📅 スマートな日付解析(今日、昨日など)

前提条件

  • Node.jsがインストールされている
  • ハーベストの記録
  • Harvest Developer Toolsからの個人アクセス トークン
  • アカウントID(トークンと同じページに表示されます)

インストール

インストール

  1. Claudeデスクトップアプリをインストールする
  2. このリポジトリをクローンします:
git clone https://github.com/adrian-dotco/harvest-mcp-server.git cd harvest-mcp-server
  1. 依存関係をインストールしてビルドします。
npm install npm run build
  1. セットアップ スクリプトを実行します。
node build/setup.js
  1. 指示に従って以下を入力してください:
    • Harvest 個人アクセス トークン ( https://id.getharvest.com/developersから)
    • ハーベストアカウントID
    • 標準労働時間(デフォルト:7.5)
    • タイムゾーン(デフォルト:オーストラリア/パース)
  2. Claudeデスクトップアプリを再起動します

これで完了です。これで、Claude で自然言語による時間追跡が使用できるようになりました。

最新情報を入手

最新バージョンに更新するには:

git pull npm install npm run build

セットアップ スクリプトにより、Claude はサーバーのローカル ビルドを使用するように構成されるため、取得した更新は再構築後に自動的に利用できるようになります。

使用法

サーバーは、Harvest と対話するためのいくつかのツールを提供します。

ログ時間

自然言語を使用して時間エントリを記録します。例:

通常時間のエントリ:

"2 hours on Project X doing development work today" "45 minutes on Project Y testing yesterday" "3.5 hours on Project Z meetings last Friday"

休暇申請(標準の勤務時間を自動的に使用します):

"I'm off sick today" "I'm unwell today" "Taking annual leave next week"

タイムレポートを取得する

自然言語クエリを使用して時間レポートを取得します。例:

  1. 期間オプション:
"Show time report for last month" "Get time summary for this week" "Show hours from January 1st to January 31st" "Report time for Q1" "Show me yesterday's hours"
  1. レポートの種類:
  • プロジェクト別(デフォルト):
    "Show time report for last month" "Get project hours for this week"
  • クライアント別:
    "Show time report by client for this month" "Get hours by client for Q1"
  • タスク別:
    "Show time summary by task for January" "Get task breakdown for last week"
  • チームメンバー別:
    "Show team hours for last week" "Get time report by user for this month"
  1. レポートの詳細: 各レポートには次の内容が含まれます。
  • 総労働時間
  • 請求可能な時間と請求不可能な時間
  • 請求可能金額(許可されている場合)
  • レポートタイプに基づいたプロジェクト/クライアント/タスク/ユーザーの詳細

プロジェクト一覧

利用可能なすべての Harvest プロジェクトを一覧表示します。

List my projects

タスク一覧

特定のプロジェクトで利用可能なタスクを一覧表示します。

Show tasks for Project X

リストエントリ

最近の時間エントリを表示します:

Show my recent time entries

構成

サーバーは次の環境変数をサポートしています:

  • HARVEST_ACCESS_TOKEN : Harvest個人アクセストークン
  • HARVEST_ACCOUNT_ID : HarvestアカウントID
  • STANDARD_WORK_DAY_HOURS : 1日の労働時間のデフォルト(デフォルト: 7.5)
  • TIMEZONE : あなたのタイムゾーン (デフォルト: オーストラリア/パース)

発達

サーバーは以下を使用して構築されます:

  • タイプスクリプト
  • MCP SDK
  • 自然言語による日付解析のための chrono-node
  • ハーベスト API v2

貢献するには:

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. プルリクエストを送信する

ライセンス

MITライセンス - 詳細はライセンスを参照

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

自動休暇申請、プロジェクト/タスクのマッチング、日付解析など、Harvest の自然言語による時間追跡とレポートを可能にします。

  1. Features
    1. Prerequisites
      1. Installation
        1. Installation
        2. Staying Updated
      2. Usage
        1. log_time
        2. get_time_report
        3. list_projects
        4. list_tasks
        5. list_entries
      3. Configuration
        1. Development
          1. License

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Integrates Claude with Todoist for natural language task management, supporting project and section organization, task creation, updating, completion, and deletion using everyday language.
              Last updated -
              19
              35
              12
              JavaScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              An interface that allows large language models like Claude to interact with ActivityWatch time tracking data through the Model Context Protocol, enabling queries about application usage, browsing history, and productivity patterns.
              Last updated -
              5
              1
              TypeScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Enables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.
              Last updated -
              1
              1,379
              4
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              Enables management of Payload CMS projects through natural language commands, allowing developers to create, configure, and deploy content models with conversational AI.
              Last updated -
              82
              21
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            ID: u2bir05hxy