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.

sign-referencessign-users.md

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

ユーザー

GET /v1/users — ユーザー一覧の取得

ユーザー一覧を取得する。 ここで取得できるユーザーには、チーム内のユーザー、文書の作成者、文書の受領者が含まれます。 そのため、複数のチームのユーザーが含まれる場合があります。

パラメータ

  • page: integer - 取得ページ番号
  • per_page: integer - 取得件数
  • ids[]: array[object] - 配列でユーザーIDを指定して、ユーザー一覧を取得できる
  • team_id: integer(int64) - チームID
  • email: string(email) - メールアドレスを指定してユーザー情報を取得できる(完全一致)
  • status: string - ユーザーのステータス
    • receiving_only - 文書を受領した未登録ユーザー
    • active - 登録済ユーザー
    • unconfirmed - 登録途中ユーザー
    • canceled - 退会済ユーザー (選択肢: receiving_only, active, unconfirmed, canceled)

レスポンス

条件に一致したユーザー一覧(ユーザーID昇順)

POST /v1/users/invitations — ユーザーを招待する

ユーザーを招待する。

リクエストボディ

  • inviter_id: integer(int64) - 招待を実行するユーザーID 例: 1 (最小: 1)
  • email*: string(email) - 被招待者のメールアドレス
  • role: string - 被招待者の権限
    • admin - 全権管理
    • chief_document_manager - 締結・文書管理
    • document_manager - 文書管理
    • document_sender - 作成・送信
    • document_creator - 作成
    • member - メンバー ご利用プランのアクセス制御が無効な場合, admin と member 以外は指定できません (選択肢: admin, chief_document_manager, document_manager, document_sender, document_creator, member) 例: member
  • lastname: string - 被招待者の姓
  • firstname: string - 被招待者の名
  • affiliation: string - 被招待者の部署・役職

レスポンス

ユーザーへ招待メール送付完了

  • id*: integer - ユーザー招待ID
  • team_id*: integer(int64) - 招待先のチームID
  • inviter_id*: integer(int64) - 招待を実行するユーザーID
  • email*: string(email) - 被招待者のメールアドレス
  • status*: string - 招待の状態
    • waiting - 被招待者の確認待ち
    • registered - 被招待者のユーザー登録が完了
  • expires_at: string(date-time) - 招待された側が招待を承認する期限
  • invitation_user_profile*: object - 被招待ユーザーのプロフィール

GET /v1/users/invitations — ユーザーの参加待ちの招待一覧

ユーザーの参加待ちの招待一覧

パラメータ

  • page: integer - 取得ページ番号
  • per_page: integer - 取得件数

レスポンス

取得成功

POST /v1/users/invitations/{invitation_id}/re_invitations — ユーザーを再招待する

ユーザーを再招待する。

パラメータ

  • invitation_id* (path): integer(int64) - 再招待する招待のID

リクエストボディ

  • inviter_id: integer(int64) - 招待を実行するユーザーID 例: 1 (最小: 1)

レスポンス

ユーザーへの再招待メール送付完了

  • id*: integer - ユーザー招待ID
  • team_id*: integer(int64) - 招待先のチームID
  • inviter_id*: integer(int64) - 招待を実行するユーザーID
  • email*: string(email) - 被招待者のメールアドレス
  • status*: string - 招待の状態
    • waiting - 被招待者の確認待ち
    • registered - 被招待者のユーザー登録が完了
  • expires_at: string(date-time) - 招待された側が招待を承認する期限
  • invitation_user_profile*: object - 被招待ユーザーのプロフィール

GET /v1/users/me — 認証中のユーザー情報の取得

現在認証しているユーザーの情報を取得する。 OAuth 2.0認証でのみ利用可能です。APIクライアント(アクセストークン認証)では利用できません。

レスポンス

取得成功

  • id*: integer(int64) - ユーザーID

  • team_id: integer(int64) - チームID。本登録していないユーザーはチームに所属していない。

  • status*: string - ユーザーのステータス

    • receiving_only - 文書を受領した未登録ユーザー
    • active - 登録済ユーザー
    • unconfirmed - 登録途中ユーザー
    • canceled - 退会済ユーザー
  • email: string(email) - メールアドレス

    メールアドレスの登録がない場合は無し。

  • sms_telephone_number: string - SMS用の電話番号

    E.164形式。登録されていない場合は無し。 ex. +8190xxxxxxxx

  • full_name: string - フルネーム。本登録していないユーザーは無い。

DELETE /v1/users/{user_id}/activenesses — ユーザーの退会

特定のユーザーを退会させる。

リクエストボディ

  • executor_id: integer(int64) - 退会処理を実行するユーザーのID (APIクライアントを利用する場合は必須) 例: 1 (最小: 1)

レスポンス

退会処理が成功

  • id*: integer(int64) - ユーザーID

  • team_id: integer(int64) - チームID。本登録していないユーザーはチームに所属していない。

  • status*: string - ユーザーのステータス

    • receiving_only - 文書を受領した未登録ユーザー
    • active - 登録済ユーザー
    • unconfirmed - 登録途中ユーザー
    • canceled - 退会済ユーザー
  • email: string(email) - メールアドレス

    メールアドレスの登録がない場合は無し。

  • sms_telephone_number: string - SMS用の電話番号

    E.164形式。登録されていない場合は無し。 ex. +8190xxxxxxxx

  • full_name: string - フルネーム。本登録していないユーザーは無い。

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.