概要
ドイツの人事・給与プラットフォーム HR WORKS に v2 REST API でアクセスします。従業員、不在、病欠、リモートワーク(在宅勤務)、勤務時間、労働時間口座、給与支払い、人事ファイル、プロジェクト、応募者、組織単位、祝日、コストセンターを扱えます。
ガイド付きセットアップ
HR WORKS を Claude に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで HR WORKS を接続して、MCP URL を Claude に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。
こう聞いてみよう
HR WORKS のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → HR WORKS をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
HR WORKS + Claude
ドイツの人事・給与プラットフォーム HR WORKS に v2 REST API でアクセスします。従業員、不在、病欠、リモートワーク(在宅勤務)、勤務時間、労働時間口座、給与支払い、人事ファイル、プロジェクト、応募者、組織単位、祝日、コストセンターを扱えます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
HRWORKS_ACCESS_KEY, HRWORKS_SECRET_ACCESS_KEY
ステップ 1 — 認証情報を取得
- HR WORKS で Administration → API を開き、API キーのペア(アクセスキーとシークレットアクセスキー)を作成します。
- アクセスキーを
HRWORKS_ACCESS_KEYに、シークレットアクセスキーをHRWORKS_SECRET_ACCESS_KEYに貼り付けて、コネクターをインストールします。 - まず
hrworks_list_organization_unitsかhrworks_list_personsを実行して、キーのペアが使えることを確認します。
トークンはコネクターが管理します: HR WORKS が発行するトークンの有効期間は約 15 分です。コネクターはキーのペアをトークンに交換し、期限が切れる前に更新し、401 が返ったときは再ログインします。そのため、長い会話やスケジュール実行も途切れずに動きます。
できること: 48 個のツールで、従業員とそのマスターデータ、組織単位、祝日、不在、病欠、リモートワーク(在宅勤務)、勤務時間と労働時間口座、休暇口座、稼働可能時間、人事ファイル、給与支払い、出張旅費精算、プロジェクト、応募者と求人、コストセンターと原価対象を読み取れます。書き込みを行うツールは 3 つです。hrworks_create_working_times は勤務時間や休憩を記録し、hrworks_update_working_times は既存の勤務時間を変更し、hrworks_delete_working_times は記録済みの勤務時間を削除します(インストール時はオフ)。HR WORKS はいずれもバックグラウンドで処理してジョブ ID を返し、その結果は hrworks_get_working_times_job で確認します。書き込む前に、AI は対象者、日付、時刻をあなたに確認します。その他のツールはすべて読み取り専用です。
合計と残高: hrworks_list_time_accounts は月ごとの所定労働時間、実労働時間、残業時間の残高を返し、hrworks_list_leave_accounts は複数人の休暇付与日数と、承認済み・計画済み・失効予定の日数をまとめて返します。hrworks_get_absences_accumulated、hrworks_get_sick_leaves_accumulated、hrworks_get_remote_work_accumulated は、個々の記録を一覧にする代わりに、期間内の日数を人ごとに集計します。hrworks_get_available_working_hours は不在を差し引いた稼働可能時間を返すので、キャパシティ計画に使えます。
機密データ: マスターデータ、人事ファイル、給与支払い、病欠は、個人データ、給与データ、健康データです。このデータを閲覧してよい人だけが使う MCP サーバーにコネクターを置くか、該当するツールをオフにしてください。
日付の範囲: 不在、病欠、リモートワーク、各集計、稼働可能時間には beginDate と endDate(YYYY-MM-DD)が必要で、1 回の呼び出しで指定できるのは最大 1 年、interval=days の場合は最大 31 日です。勤務時間はさらに厳しく、1 回の呼び出しで最大 31 日、かつ暦月 2 か月までです。そのため AI は月ごとに取得します。出張旅費精算にも beginDate と endDate が必要です。
人の指定: 人に関するツールの多くは、社員番号か HR WORKS のユーザー名を受け付けます。どちらを使うかは personIdentifierType または usePersonnelNumbers で HR WORKS に伝えます。1 人分の給与支払いには、その人の UUID が必要です。UUID は hrworks_get_person と hrworks_list_persons_master_data が返します。
すでにインストール済みですか? 以前にインストールしたコネクターにも、カタログ更新で新しいツールが届きます。AnythingMCP でコネクターを開き、Catalog update available の下で新しいツールの一覧を確認して Apply update をクリックしてください。認証情報や自分で追加したツールはそのまま残ります。なお、hrworks_list_travel_expense_reports には beginDate と endDate が必要になり、hrworks_list_working_times は 1 回の呼び出しで暦月 2 か月以内の最大 31 日までとなりました。
サンドボックス: https://api.demo-hrworks.de の HR WORKS デモ環境で試すには、コネクターのベース URL と、認証設定のログイン URL をデモのホストに変更します。
制限: ほとんどの一覧は 1 ページ 50 件です。続きがある場合、AI は次の page を取得します。HR WORKS はアカウントごとにレート制限を設けています。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Claude にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
推奨ルート:設定ファイルを触らずに claude.ai web で動作します。
- Claude で Plugins(一部のプランではまだ Customize)→ Connectors を開きます。
- + Add をクリックし、Add custom connector を選びます。
- 名前(例:
HR WORKS)とリモート MCP サーバー URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Continue をクリックし、検出された設定のまま、もう一度 Continue をクリックします。 - Sign in now を選んで Add をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。
下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。
利用可能なツール
| Tool | What it does |
|---|---|
hrworks_health_check | Check whether the HR WORKS API is reachable |
hrworks_list_organization_units | List all active organization units (Organisationseinheiten) of the company with their uuid, number and name |
hrworks_get_organization_unit | Return the data of a specific organization unit |
hrworks_list_present_persons | List all persons currently 'in the office' for a given organization unit |
hrworks_list_permanent_establishments | List all permanent establishments (Betriebsstätten) of the company with id and name |
hrworks_list_holidays | List company holidays for a given year and (optionally) country |
hrworks_list_persons | List all persons (employees) in the company |
hrworks_get_person | Return the base data of a specific person (employee) |
hrworks_list_persons_master_data | Return the current master data (full personal data, contract details, addresses, bank info, etc.) for one or more persons |
hrworks_get_persons_today | Return day-related objects (working hours, attendance, absences) for the current day for one or more persons |
hrworks_get_leave_account | Return the leave account (vacation balance) of a single person up to a reference date |
hrworks_list_absences | List absences (vacation, parental leave, etc.) for one or more persons over a date interval |
hrworks_list_absence_types | List all absence types (vacation, parental leave, special leave, etc.) configured for the customer account, with their keys for use as… |
hrworks_list_vacation_types | List vacation types defined for the customer account (subset of absence types focused on vacation/leave) |
hrworks_list_sick_leaves | List sick leaves (Krankheitstage) for one or more persons over a date interval |
hrworks_list_sick_leave_types | List all sick leave types configured for the customer account with their keys (used as filter values for hrworks_list_sick_leaves) |
hrworks_list_remote_work | List remote work / home office records for one or more persons over a date interval |
hrworks_list_working_times | List logged working times (time tracking) for one or more persons over a date interval |
hrworks_list_time_recording_regulations | List all time-recording regulations configured for the customer (defines which working time types are allowed per regulation) |
hrworks_list_projects | List time-tracking projects of the company |
hrworks_get_project | Return the data of a specific time-tracking project by id |
hrworks_list_project_customers | List the customers used for project time tracking |
hrworks_list_job_applications | List job applications |
hrworks_list_posts | List all recruiting posts (job postings) of the company |
hrworks_get_post | Return the data of a single recruiting post by uuid |
hrworks_list_applicants | List applicants (only those with at least one job application) |
hrworks_get_applicant | Return data of a specific applicant by uuid |
hrworks_list_cost_centers | List all cost centers (Kostenstellen) of the company with their number/id and name |
hrworks_list_cost_objectives | List all cost objectives (Kostenträger) of the company |
hrworks_list_wage_salary_types | List all wage/salary types defined for the customer account (used in payroll exports) |
hrworks_list_travel_expense_reports | List travel expense reports (Reisekostenabrechnungen) in a date interval, optionally for some people |
hrworks_list_time_accounts | Return the time accounts (Arbeitszeitkonto: target hours, worked hours, overtime balance) of people for one or more months |
hrworks_list_leave_accounts | Return the leave accounts (vacation entitlement, approved, requested, planned and expiring days) of several people at once, up to a… |
hrworks_get_available_working_hours | Return the working hours people are available in a date interval (target hours minus absences), summed or split by day, week or month |
hrworks_get_absences_accumulated | Return the number of working days of absence per absence type (vacation, special leave, ...) for each person in a date interval, instead of… |
hrworks_get_sick_leaves_accumulated | Return the number of working days of sick leave per sick leave type for each person in a date interval |
hrworks_get_remote_work_accumulated | Return the number of remote work (home office) days for each person in a date interval |
hrworks_get_person_master_data | Return the current master data of one person: name, contact data, address, organization unit, employment, contract and similar fields |
hrworks_list_personnel_file_entries | List the entries of one person's digital personnel file (Personalakte), optionally filtered by category, creation date, attached documents… |
hrworks_list_person_wage_payments | List the wage payments (Lohnzahlungen: wage type, amount, period) recorded for one person |
hrworks_list_wage_payments | List wage payments across all people, optionally only for one wage type (see hrworks_list_wage_salary_types) |
hrworks_create_working_times | Record working times or breaks for one or more people |
hrworks_update_working_times | Change working times that already exist in HR WORKS, with the same item format as hrworks_create_working_times |
hrworks_get_working_times_job | Return the status and result of a create or update of working times, by the job id those tools returned |
hrworks_get_working_time_status | Return whether a person is clocked in right now and, if so, the running working time: start, type (working time, business errand, doctor's… |
hrworks_list_onboarding_documents | List the onboarding documents (Onboarding-Dokumente) of new employees: name, join date, organization unit, superior, status and the… |
hrworks_get_onboarding_document | Return one onboarding document by id, with all the data the new employee entered (address, bank account, tax and social security data… |
hrworks_delete_working_times | Delete recorded working times |
プロンプトの例
- 「営業の組織単位に所属する全員の、2026 年 9 月と 10 月の残業時間の残高を見せて。」
- 「Anna Becker さんと Jonas Weber さんの今年の残りの休暇日数と、そのうち計画済みの日数を教えて。」
- 「開発チームが 11 月に稼働できる時間を週ごとに出して。」
- 「倉庫チームの第 3 四半期の病欠日数と在宅勤務日数を人ごとに集計して。」
- 「社員番号 1042 の昨日の勤務時間を 8:00 から 16:30、休憩 12:00 から 12:30 で記録して、HR WORKS が受け付けたか確認して。」
- 「Jonas Weber さんの人事ファイルに今年追加された給与関連の記録はどれ?」
FAQ
Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。
次のステップ
このガイドは役に立ちましたか?