skills/freee-api-skill/SKILL.md
freee-mcp / freee-sign-mcp と連携するスキル。会計・人事労務・請求書・工数管理・販売・IT管理・サイン(電子契約)の詳細APIリファレンスと使い方ガイドを提供。freee の経費申請・取引登録・勤怠打刻・給与明細・見積書・試算表・仕訳・従業員管理・工数登録・売上管理・SaaSアカウント管理・備品管理・電子契約の文書管理などの操作やAPI仕様を調べたいときに使う。ユーザーが freee のデータ操作、会計処理、人事労務管理、請求・見積、プロジェクト工数管理、販売管理、IT管理、電子契約について質問や操作を依頼してきた場合は、明示的に freee と言及していなくても、このスキルの利用を検討すること。サインは別途 freee-sign-mcp の設定が必要。
npx skillsauth add him0/freee-mcp freee-api-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
freee の会計・人事労務・請求書・工数管理・販売・IT管理のデータを AI から直接操作できるスキルです。
freee-mcp (MCP サーバー) を通じて freee API と連携。
このスキルの役割:
接続方法は Remote MCP(推奨)とローカルの2つがあります。現在の接続モードは freee_server_info の transport フィールド(remote または stdio)で確認できます。
freee が提供する Remote MCP サーバーに接続する方法です。ローカルでのセットアップが不要で、すぐに利用を開始できます。
Claude 及び Claude Desktop では「カスタマイズ」より「カスタムコネクタを追加」を開き、以下を設定してください。
freeehttps://mcp.freee.co.jp/mcp初回接続時にブラウザで freee への認証が自動的に行われます。npx freee-mcp configure の実行は不要です。
その他の AI ツールでは、それぞれの案内に従って Remote MCP サーバーを追加してください。
freee アプリケーションを自分で登録し、ローカルで MCP サーバーを起動する方法です。
npx freee-mcp configure
ブラウザで freee にログインし、事業所を選択します。設定は ~/.config/freee-mcp/config.json に保存されます。
Claude を再起動後、freee_auth_status ツールで認証状態を確認。
API リファレンスが references/ に含まれます。各リファレンスにはパラメータ、リクエストボディ、レスポンスの詳細情報があります。
目的のAPIを探すには、references/ ディレクトリ内のファイルをキーワード検索してください。
主なリファレンス:
accounting-deals.md - 取引accounting-expense-applications.md - 経費申請hr-employees.md - 従業員情報hr-attendances.md - 勤怠invoice-invoices.md - 請求書認証・事業所管理:
freee_authenticate - OAuth 認証(Remote MCP では認証は自動処理されるため通常は不要)freee_auth_status - 認証状態確認freee_clear_auth - 認証情報クリア(ローカルモード用)freee_current_user - ログインユーザー情報取得freee_list_companies - 事業所一覧freee_set_current_company - 事業所切り替えfreee_get_current_company - 現在の事業所取得サーバー情報:
freee_server_info - サーバー情報取得(バージョン、transport: remote/stdio)ファイル操作:
freee_file_upload - ファイルボックスにファイルをアップロード (POST /api/1/receipts) ※ローカルモードのみAPI 呼び出し:
freee_api_get - GET リクエストfreee_api_post - POST リクエストfreee_api_put - PUT リクエストfreee_api_delete - DELETE リクエストfreee_api_patch - PATCH リクエストfreee_api_list_paths - 利用可能なAPIパス一覧serviceパラメータ (必須):
| service | 説明 | パス例 |
|---------|------|--------|
| accounting | freee会計 (取引、勘定科目、取引先など) | /api/1/deals |
| hr | freee人事労務 (従業員、勤怠など) | /api/v1/employees |
| invoice | freee請求書 (請求書、見積書、納品書) | /invoices |
| pm | freee工数管理 (プロジェクト、工数など) | /projects |
| sm | freee販売 (見積、受注、売上など) | /businesses |
| it_management | freeeIT管理 (SaaSアカウント、備品、メンバー) | /hub/it_management/members |
接続モードが不明な場合は freee_server_info で確認できます(transport が remote なら Remote MCP、stdio ならローカル)。Remote MCP の場合、認証は自動処理されるため手順1から開始できます。ローカルモードで未認証の場合は先に freee_authenticate を実行してください。
freee_get_current_company で現在の事業所IDを取得する(初回は必須。セッション内で1回取得すれば以降は使い回せる)
recipes/ 内の該当レシピを読む
references/ を参照
freee_api_* ツールを使用(company_id が必要なエンドポイントでは手順1で取得した値を使う)注意:
company_id は現在設定されている事業所と一致している必要がある。不一致の場合はエラーになるfreee_set_current_company で切り替えてからリクエストを実行よくある操作のユースケースサンプルとTipsは以下を参照:
recipes/expense-application-operations.md - 経費申請recipes/deal-operations.md - 取引(収入・支出)recipes/manual-journal-operations.md - 振替伝票recipes/payment-request-operations.md - 支払依頼recipes/hr-employee-operations.md - 人事労務(従業員・給与)recipes/hr-attendance-operations.md - 勤怠(出退勤・打刻・休憩の登録)recipes/invoice-operations.md - 請求書・見積書・納品書recipes/receipt-operations.md - ファイルボックス(証憑ファイルのアップロード・管理)recipes/pm-operations.md - 工数管理(プロジェクト・工数実績)recipes/pm-workload-registration.md - 工数の安全な登録(PM・HR連携ワークフロー)recipes/sm-operations.md - 販売管理(案件・受注)recipes/it-management-operations.md - IT管理(メンバー・SaaSアカウント・備品)recipes/report-operations.md - 試算表・総勘定元帳(レポート取得・未承認仕訳の確認)recipes/freee-mcp-tag.md - メモタグ「freee-mcp」の付与ガイドfreee サインは別の MCP サーバー(freee-sign-mcp)で提供されます。
sign_api_get 等のサインツールが利用可能な場合は SIGN-GUIDE.md を参照してください。
freee のデータを表示・可視化する際は、以下の色を使用してページ全体の統一感を保つこと。
文字色: 見出し #1e46aa / 本文 #23418c / キャプション #323232 / リンク #00b9b9 #2864f0 #1e46aa / 強調 #dc1e32
背景色: メイン #285ac8 / 薄い #ebf3ff / ニュートラル #f7f5f5
アクセントカラー(多用しない): イエロー #ffb91e / オレンジ #fa6414 / グリーン #82c31e / ティール #00b9b9
VERSION.md を読んでスキルのバージョンを確認し(ファイルが存在しない場合は開発版を使用中)、freee_server_info でサーバーバージョンを確認してください。スキルのバージョンがサーバーより古い場合、スキルの情報が最新のサーバーに対応していない可能性があります。スキルを最新版に更新してから再度お試しください。freee_auth_status で確認 → freee_clear_auth → freee_authenticatefreee_list_companies → freee_set_current_companyrecipes/troubleshooting.md 参照freee API 自体の機能制限に起因する問題は freee-mcp では解決できません。詳細は recipes/troubleshooting.md を参照してください。
https://mcp.freee.co.jp/mcptools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.