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-employee-profiles.md

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

従業員の姓名・住所など

従業員の姓名・住所などの操作

GET /api/v1/employees/{employee_id}/profile_rule — 従業員の姓名・住所などの取得

概要 指定した従業員・日付の姓名などの情報を返します。

注意点 本APIは、給与計算対象外の従業員には非対応です。employee_idに給与計算対象外の従業員IDを指定した場合、本APIを利用できません。

パラメータ

  • company_id*: integer - 事業所ID

  • year*: integer - 従業員情報を取得したい年

  • month*: integer - 従業員情報を取得したい月

    締め日支払い日設定が翌月払いの従業員情報の場合は、指定したmonth + 1の値が検索結果として返します。

    翌月払いの従業員の2022/01の従業員情報を取得する場合は、year=2021,month=12を指定してください。

  • employee_id* (path): integer - 従業員ID

レスポンス

  • employee_profile_rule: object

PUT /api/v1/employees/{employee_id}/profile_rule — 従業員の姓名・住所などの更新

概要 指定した従業員の姓名・住所などを更新します。

注意点 本APIは、給与計算対象外の従業員には非対応です。employee_idに給与計算対象外の従業員IDを指定した場合、本APIを利用できません。

パラメータ

  • employee_id* (path): integer - 従業員ID

リクエストボディ

  • company_id*: integer(int32) - 更新対象事業所ID(必須) (最小: 1, 最大: 2147483647)

  • year*: integer(int32) - 更新対象年(必須) 例: 2021 (最小: 2000, 最大: 2100)

  • month*: integer(int32) - 更新対象月(必須)

    締め日支払い日設定が翌月払いの従業員情報の場合は、指定したmonth + 1の値が更新されます。

    翌月払いの従業員の2022/01の従業員情報を更新する場合は、year=2021,month=12を指定してください。 例: 1 (最小: 1, 最大: 12)

  • employee_profile_rule*: object

    • last_name*: string - 姓 null不可 例: 山田
    • first_name*: string - 名 null不可 例: 太郎
    • last_name_kana*: string - 姓カナ 例: ヤマダ
    • first_name_kana*: string - 名カナ 例: タロウ
    • zipcode1: string - 住民票住所の郵便番号1 例: 000
    • zipcode2: string - 住民票住所の郵便番号2 例: 0000
    • prefecture_code: integer - 住民票住所の都道府県コード(-1: 設定しない、0: 北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄) 例: 4 (最小: -1, 最大: 46)
    • address: string - 住民票住所の市区町村以降の住所
    • address_kana: string - 住民票住所の市区町村以降の住所カナ
    • phone1: string - 電話番号1(先頭番号、例:03-1111-222x の03部分) 例: 000
    • phone2: string - 電話番号2(中間番号、例:03-1111-222x の1111部分) 例: 0000
    • phone3: string - 電話番号3(末尾番号、例:03-1111-222x の222x部分) 例: 0000
    • residential_zipcode1: string - 現住所の郵便番号1 例: 000
    • residential_zipcode2: string - 現住所の郵便番号2 例: 0000
    • residential_prefecture_code: integer - 現住所の都道府県コード(-1: 設定しない、0: 北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄) 例: 4 (最小: -1, 最大: 46)
    • residential_address: string - 現住所の住所
    • residential_address_kana: string - 現住所の住所カナ
    • employment_type: string - 雇用形態 board-member: 役員, regular: 正社員, fixed-term: 契約社員, part-time: アルバイト・パート, temporary: 派遣社員, (空文字列): その他 (選択肢: board-member, regular, fixed-term, part-time, temporary, )
    • title: string - 肩書
    • gender: string - 性別 unselected: 未選択, male: 男性, female: 女性(デフォルト: unselected: 未選択) (選択肢: unselected, male, female) 例: male
    • married: boolean - null不可 配偶者の有無
    • is_working_student: boolean - null不可 勤労学生かどうか
    • widow_type: string - 寡夫/寡婦かどうか null不可 na: 空白, widower: 寡夫, widow: 寡婦, special_widow: 特別寡婦, one_parent: ひとり親 (選択肢: na, widower, widow, special_widow, one_parent)
    • disability_type: string - 障害者かどうか null不可 na: 空白, general: 障害者, heavy: 特別障害者 (選択肢: na, general, heavy)
    • email: string - メールアドレス 例: test@example.com
    • householder_name: string - 世帯主の名前 世帯主の続柄に myself:本人 を指定している場合は、世帯主の名前は自動で従業員名で更新するため指定できません。 例: 山田 吾郎
    • householder: string - 世帯主の続柄 myself:本人, husband:夫, wife:妻, father:父, mother:母, child:子供, senior_brother:兄, junior_brother:弟, senior_sister:姉, junior_sister:妹, grandchild:孫, grandfather:祖父, grandmother:祖母, father_in_law:義父, mother_in_law:義母, grandfather_in_law:義祖父, grandmother_in_law:義祖母, other:その他 (選択肢: myself, husband, wife, father, mother, child, senior_brother, junior_brother, senior_sister, junior_sister, grandchild, grandfather, grandmother, father_in_law, mother_in_law, grandfather_in_law, grandmother_in_law, other) 例: father

レスポンス

GET /api/v1/employees/{employee_id}/profile_rule と同じ

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.