All skills
freee avatar

/freee-api-skill

@f5d1212
by freeefreee/freee-mcp503 stars
58

freee-mcp / freee-sign-mcp と連携するスキル。会計・人事労務・請求書・工数管理・販売・IT管理・固定資産・業務委託管理・サーベイ・開業・人事評価・申告・サイン(電子契約)の詳細APIリファレンスと使い方ガイドを提供。freee の経費申請・取引登録・勤怠打刻・給与明細・見積書・試算表・仕訳・従業員管理・工数登録・売上管理・SaaSアカウント管理・備品管理・固定資産管理・業務委託先の企業ユーザー/部門管理・サーベイ企画/実施回の取得・開業申請用データの参照/更新・人事評価結果の取得・法人税申告データや帳票の参照・電子契約の文書管理などの操作やAPI仕様を調べたいときに使う。ユーザーが freee のデータ操作、会計処理、人事労務管理、請求・見積、プロジェクト工数管理、販売管理、IT管理、固定資産管理、業務委託管理、サーベイ、開業、人事評価、申告、電子契約について質問や操作を依頼してきた場合は、明示的に freee と言及していなくても、このスキルの利用を検討すること。サインは別途 freee-sign-mcp の設定が必要。

Use this Skill: https://skilld.dev/gh/freee/freee-mcp/freee-api-skill

This session only. Nothing lands on disk.

referenceshr-attendances.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

勤怠

勤怠の操作

GET /api/v1/employees/{employee_id}/work_records/{date} — 勤怠の取得

概要 指定した従業員・日付の勤怠情報を返します。

パラメータ

  • company_id*: integer - 事業所ID
  • employee_id* (path): integer - 従業員ID
  • date* (path): string(date) - 従業員情報を取得したい年月日(YYYY-MM-DD)(例:2018-08-01)

PUT /api/v1/employees/{employee_id}/work_records/{date} — 勤怠の更新

概要 指定した従業員の勤怠情報を更新します。

注意点 振替出勤・振替休日・代休出勤・代休の登録はAPIでは行うことができません。 examples 出勤日について出退勤時刻および休憩時間を更新する場合は以下のようなパラメータをリクエストします。 { "company_id": 1, "break_records": [ { "clock_in_at": "2017-05-25 12:00:00", "clock_out_at": "2017-05-25 13:00:00" } ], "work_record_segments": [ { "clock_in_at": "2017-05-25 09:10:00", "clock_out_at": "2017-05-25 18:20:00" } ] } 勤務パターンや既定の所定労働時間を変更する場合は use_default_work_pattern に false を指定するとともに、各設定を上書きするパラメータをリクエストします。 { "company_id": 1, "break_records": [ { "clock_in_at"...

パラメータ

  • employee_id* (path): integer - 従業員ID
  • date* (path): string(date) - 更新対象年月日(YYYY-MM-DD)(例:2018-08-01)

レスポンス

  • break_records: array[object] - 休憩時間のリスト
  • work_record_segments: array[object] - 出退勤のリスト
    • 登録されている全ての出退勤時間のリストを返します。
  • clock_in_at: string(date-time) - 出勤時刻
    • 出勤時刻を返します。出退勤が複数登録されている場合は、最初の出退勤の出勤時間を返します。
  • clock_out_at: string(date-time) - 退勤時刻
    • 退勤時刻を返します。出退勤が複数登録されている場合は、最後の出退勤の退勤時間を返します。
  • date: string(date-time) - 対象日付
  • day_pattern: string - 勤務パターン
    • normal_day: 所定労働日
    • prescribed_holiday: 所定休日
    • legal_holiday: 法定休日
  • schedule_pattern: string - スケジュールパターン
    • substitute_holiday_work: 振替出勤
    • substitute_holiday: 振替休日
    • compensatory_holiday_work: 代休出勤
    • compensatory_holiday: 代休
    • special_holiday: 特別休暇
  • early_leaving_mins: integer(int32) - 早退分の時間(分単位)
  • half_special_holiday_mins: integer(int32) - 特別休暇の半休を利用した時間(分単位)
  • hourly_special_holiday_mins: integer(int32) - 特別休暇の時間休を利用した時間(分単位)
  • is_absence: boolean - 欠勤かどうか
  • is_editable: boolean - 勤怠データが編集可能かどうか
  • lateness_mins: integer(int32) - 遅刻分の時間(分単位)
  • normal_work_clock_in_at: string(date-time) - 所定労働開始時刻
  • normal_work_clock_out_at: string(date-time) - 所定労働終了時刻
  • normal_work_mins: integer(int32) - 所定労働時間
  • note: string - 勤怠メモ
  • paid_holidays: array[object] - 年次有給休暇の実績
  • special_holiday: number(float) - この日に対する特別休暇取得日数。半休の場合は0.5が入ります。時間休の場合はhourly_special_holiday_minsを所定労働時間で割った値が入るため、実際の時間を確認するにはhourly_special_holiday_minsを参照してください。
  • special_holiday_setting_id: integer(int32) - 特別休暇設定ID
  • use_attendance_deduction: boolean - 欠勤・遅刻・早退を控除対象時間に算入するかどうか
  • use_default_work_pattern: boolean - デフォルトの勤務時間設定を使っているかどうか
  • use_half_compensatory_holiday: boolean - 代休の半休を利用したかどうか
  • total_overtime_work_mins: integer(int32) - 時間外労働時間(分)(Webの勤怠登録画面にて詳細項目の「勤務時間の長さを自動で計算しない」にチェックを入れた場合0が返却されます。時間外労働時間はtotal_overtime_except_normal_work_minsを参照してください。)
  • total_prescribed_holiday_work_mins: integer(int32) - 所定休日労働時間(分)
  • total_holiday_work_mins: integer(int32) - 法定休日労働時間(分)
  • total_latenight_work_mins: integer(int32) - 深夜労働時間(分)
  • not_auto_calc_work_time: boolean - 勤怠登録時に勤務時間の長さを自動で計算しないかどうか
  • total_excess_statutory_work_mins: integer(int32) - 法定内残業時間(分)
  • total_latenight_excess_statutory_work_mins: integer(int32) - 深夜の法定内残業時間(分)
  • total_overtime_except_normal_work_mins: integer(int32) - 所定外法定外労働時間(分)
  • total_latenight_overtime_except_normal_work_min: integer(int32) - 深夜の所定外法定外労働時間(分)

DELETE /api/v1/employees/{employee_id}/work_records/{date} — 勤怠の削除

概要 指定した従業員の勤怠情報を削除します。

パラメータ

  • employee_id* (path): integer - 従業員ID
  • date* (path): string(date) - 削除対象年月日(YYYY-MM-DD)(例:2018-08-01)
  • company_id*: integer(int32) - 事業所ID

Source: SKILL.md on GitHub

1 warningtoday5 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill provides a comprehensive interface for AI agents to interact with the freee suite of APIs (Accounting, HR, Invoices, IT Management, etc.) via the Model Context Protocol (MCP). It includes exhaustive documentation, usage recipes, and security-conscious guidelines that instruct the agent to treat all retrieved financial and tax data as information rather than executable commands.

  • Sockettoday

    No alerts

  • Snyktoday

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    3/83 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f5d1212. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 3 weeks ago
metadata
{
  "author": "freee_jp",
  "homepage": "https://github.com/freee/freee-mcp"
}
  • API
  • MCP
  • freee
  • accounting
  • hr
  • invoicing
  • project-management
  • expense-tracking
  • payroll

README badge

README badge for freee/freee-mcp

Provides detailed API reference and usage guides for freee's accounting, HR, invoicing, project management, sales, and IT management services through the freee-mcp MCP server. Use this skill when you need to query or perform operations on freee data like expense reports, transactions, employee records, timesheets, invoices, or project hours.

Generated from the current SKILL.md.

Does this skill work with both Remote MCP and local setup?
Yes. The skill supports Remote MCP (recommended, auto-authenticated via browser) and local MCP server setup (requires running `npx freee-mcp configure`). Use `freee_server_info` to check which transport mode is active.
Which freee products does this skill cover?
The skill covers accounting, HR/payroll, invoicing, project time tracking, sales management, IT management, and expense applications. Signing (electronic contracts) requires a separate `freee-sign-mcp` setup.
Do I need to specify a company ID for API calls?
Yes. You must first fetch the current company ID using `freee_get_current_company`, and it must match the company you want to operate on. Use `freee_set_current_company` to switch between companies before making API calls.
What should I do if I get an authentication error?
For Remote MCP, the client will prompt for re-authentication; if that fails, remove and re-add the custom connector. For local mode, use `freee_auth_status` to check status, then run `freee_clear_auth` followed by `freee_authenticate`.
Where do I find API details and usage examples?
The skill includes `recipes/` for common workflows (expense applications, deals, payroll, invoicing, etc.) and `references/` with detailed API parameters and response specs. Start with relevant recipes before consulting references.

Generated from the current SKILL.md. These answers refresh after source changes.