freee-api-skill
freee/freee-mcp
Access freee accounting, HR, invoicing, and business management APIs through AI agents.
What is freee-api-skill?
This skill provides detailed API reference and usage guides for freee's integrated business management platform, covering accounting, HR/payroll, invoicing, project management, sales, IT asset management, fixed assets, partner management, surveys, business launch, employee evaluation, and tax filing. Use it when you need to query or manipulate freee data or understand API specifications.
- Query and manipulate freee accounting data (transactions, accounts, partners)
- Manage HR and payroll operations (employees, attendance, salary slips)
- Create and manage invoices, quotes, and delivery notes
- Track project time and resource allocation
- Manage sales opportunities and orders
- Administer IT assets, SaaS accounts, and equipment
How to install freee-api-skill
npx skills add https://github.com/freee/freee-mcp --skill freee-api-skill- freee-mcp server installed and configured (Remote MCP or local mode)
- Valid freee account with appropriate permissions
- OAuth authentication completed (automatic for Remote MCP, manual for local mode)
How to use freee-api-skill
- 1.Verify connection mode using freee_server_info (remote vs. local)
- 2.Confirm current company/business using freee_get_current_company
- 3.Switch companies if needed with freee_set_current_company
- 4.Consult relevant recipe in recipes/ directory for your use case
- 5.Look up detailed API specifications in references/INDEX.md
- 6.Call appropriate freee_api_* tool (GET, POST, PUT, PATCH, DELETE) with correct service parameter and company_id
Use cases
- Automate expense application workflows and approval processes
- Register transactions and create journal entries programmatically
- Manage employee records, attendance tracking, and payroll data
- Generate and track quotes, invoices, and sales orders
- Monitor project workload and time allocation across teams
- Accounting and finance teams
- HR and payroll administrators
- Project and resource managers
- Sales and business development teams
- IT operations and asset managers
freee-api-skill FAQ
Remote MCP handles authentication automatically; local mode requires manual OAuth via freee_authenticate. Check transport field in freee_server_info output.
Verify: (1) company_id matches current company from freee_get_current_company, (2) you have permission for that operation, (3) skill version matches server version (check VERSION.md). See troubleshooting/INDEX.md for detailed error resolution.
Yes. Survey, business launch, employee evaluation, and some tax return endpoints are Remote MCP only. Check for ⚠ freee-mcp(リモート版) 限定 notes in recipes and references.
Use freee_file_upload tool (local mode only) or POST /api/1/receipts endpoint. See recipes/receipt-operations.md for detailed workflow.
Start with recipes/ for common workflows, then consult references/INDEX.md to locate service-specific API documentation with parameter and response details.
Full instructions (SKILL.md)
Source of truth, from freee/freee-mcp.
name: freee-api-skill description: "freee-mcp / freee-sign-mcp と連携するスキル。会計・人事労務・請求書・工数管理・販売・IT管理・固定資産・業務委託管理・サーベイ・開業・人事評価・申告・サイン(電子契約)の詳細APIリファレンスと使い方ガイドを提供。freee の経費申請・取引登録・勤怠打刻・給与明細・見積書・試算表・仕訳・従業員管理・工数登録・売上管理・SaaSアカウント管理・備品管理・固定資産管理・業務委託先の企業ユーザー/部門管理・サーベイ企画/実施回の取得・開業申請用データの参照/更新・人事評価結果の取得・法人税申告データや帳票の参照・電子契約の文書管理などの操作やAPI仕様を調べたいときに使う。ユーザーが freee のデータ操作、会計処理、人事労務管理、請求・見積、プロジェクト工数管理、販売管理、IT管理、固定資産管理、業務委託管理、サーベイ、開業、人事評価、申告、電子契約について質問や操作を依頼してきた場合は、明示的に freee と言及していなくても、このスキルの利用を検討すること。サインは別途 freee-sign-mcp の設定が必要。" license: Apache-2.0 metadata: author: freee_jp homepage: https://github.com/freee/freee-mcp
freee API スキル
概要
freee の会計・人事労務・請求書・工数管理・販売・IT管理・固定資産・業務委託管理・サーベイ・開業・人事評価・申告のデータを AI から直接操作できるスキルです。
freee-mcp (MCP サーバー) を通じて freee API と連携。
このスキルの役割:
- freee API の詳細リファレンスを提供
- freee-mcp 使用ガイドと API 呼び出し例を提供
セットアップ
freee_* ツールが利用できている場合、セットアップは不要です。
以下のいずれかに該当する場合のみ SETUP.md を読み、ユーザーに接続手順を案内してください。
freee_*ツールが1つも利用できないfreee_auth_statusが未認証を返し、「エラー対応」の手順でも解決しない- ユーザーが接続方法・初期設定について質問している
接続モードは freee_server_info の transport フィールドで確認できます(remote = Remote MCP、stdio = ローカル)。
リファレンス
API リファレンスが references/ に含まれます。各リファレンスにはパラメータ、リクエストボディ、レスポンスの情報があります。
目的の API を探す手順:
references/INDEX.mdを読む(service ごとのファイル名と内容の一覧)- 索引で特定できない場合は
references/内のファイルをキーワード検索する
リファレンスの記法:
名前*は必須、無印は任意- 見出しの
### リクエストボディ*はリクエストボディ自体が必須であることを示す - パラメータは特記なき限り query。
(path)(header)は該当箇所に明記 - パラメータ名末尾の
[]はパラメータ名の一部であり API 呼び出し時に省略してはいけない GET /xxx と同じは、同一ファイル内の該当エンドポイントと内容が同一であることを示す- レスポンスはトップレベルの項目のみ記載。ネストした構造は実際に API を呼び出して確認する
法人税の帳票 XML(XTX / XBRL)の各要素と紙の帳票の項目との対応は
tax-return-references/ にあります。索引と共通仕様は
tax-return-references/index.md にあり、帳票ごとのファイルは
その索引の帳票一覧から sheet_code で引きます(系列の別表や内訳書は
1 ファイルに複数帳票をまとめています)。
使い方
MCP ツール
認証・事業所管理:
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パラメータ (必須):
accounting- freee会計(取引、勘定科目、取引先など) 例:/api/1/dealshr- freee人事労務(従業員、勤怠など) 例:/api/v1/employeesinvoice- freee請求書(請求書、見積書、納品書) 例:/invoicespm- freee工数管理(プロジェクト、工数など) 例:/projectssm- freee販売(見積、受注、売上など) 例:/businessesit_management- freeeIT管理(SaaSアカウント、備品、メンバー) 例:/hub/it_management/membersfixed_asset_management- freee固定資産(固定資産の一覧、詳細、登録、更新、削除) 例:/hub/fixed_asset_management/fixed_assetspartner_management- freee業務委託管理(業務委託先の企業ユーザー・部門) 例:/hub/partner_management/orderer/company_userssurvey- freeeサーベイ(サーベイ企画、実施回)※ freee-mcp(リモート版) 限定 例:/hub/survey/base_surveyslaunch- freee開業(開業申請用データの参照・更新)※ freee-mcp(リモート版) 限定 例:/hub/launch/kaigyo_applicationemployee_evaluation- 人事評価(人事評価結果の取得)※ freee-mcp(リモート版) 限定 例:/hub/employee_evaluation/evaluation_resultstax_return- freee申告(法人税申告・帳票参照) 例:/hub/tax_return/corporate
基本ワークフロー
接続モードが不明な場合は freee_server_info で確認できます(transport が remote なら Remote MCP、stdio ならローカル)。Remote MCP の場合、認証は自動処理されるため手順1から開始できます。ローカルモードで未認証の場合は先に freee_authenticate を実行してください。
- 事業所を確認:
freee_get_current_companyで現在の事業所IDを取得する(初回は必須。セッション内で1回取得すれば以降は使い回せる)- APIは事業所ごとにデータが分離されているため、正しい事業所を選択しないと意図しないデータにアクセスしてしまう
- レシピを確認:
recipes/内の該当レシピを読む- よくある操作のパターンと注意点がまとまっているため、直接APIを叩くより効率的でミスが少ない
- リファレンスを検索: 必要に応じて
references/INDEX.mdから該当ファイルを引く- レシピにない詳細なパラメータやレスポンス仕様を確認する
- API を呼び出す:
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/survey-operations.md- サーベイ(サーベイ企画・実施回の取得)recipes/launch-operations.md- 開業(開業申請用データの参照・更新)recipes/fixed-asset-management-operations.md- 固定資産管理(安全な更新・削除判断・Web画面への引き継ぎ)recipes/corporate-tax-return-operations.md- 申告(法人税申告・帳票の参照)recipes/report-operations.md- 試算表・総勘定元帳(レポート取得・未承認仕訳の確認)recipes/freee-mcp-tag.md- メモタグ「freee-mcp」の付与ガイド
freee サイン(電子契約)
freee サインは別の MCP サーバー(freee-sign-mcp)で提供されます。
sign_api_get 等のサインツールが利用可能な場合は SIGN-GUIDE.md を参照してください。
データの可視化
freee のデータをグラフ・表・HTML 等で可視化する場合は COLORS.md を読み、そこで指定された配色を使うこと。
エラー対応
- バージョン確認:
VERSION.mdを読んでスキルのバージョンを確認し(ファイルが存在しない場合は開発版を使用中)、freee_server_infoでサーバーバージョンを確認してください。スキルのバージョンがサーバーより古い場合、スキルの情報が最新のサーバーに対応していない可能性があります。スキルを最新版に更新してから再度お試しください。 - 認証エラー(Remote MCP): MCP クライアント(Claude Desktop 等)が自動的に再認証を促します。解決しない場合はカスタムコネクタを一度削除し、再度追加してください。
- 認証エラー(ローカル):
freee_auth_statusで確認 →freee_clear_auth→freee_authenticate - 事業所エラー:
freee_list_companies→freee_set_current_company - 詳細:
troubleshooting/INDEX.md参照(症状別に auth / company / expense-errors / support へ分かれています)
freee-mcp(リモート版) 限定のエンドポイントについて
一部のAPIエンドポイントは freee-mcp(リモート版)でのみ利用可能で、ローカルモードでは利用できない。該当する recipes/ references/ には「⚠ freee-mcp(リモート版) 限定」の注記がある。
該当エンドポイントを呼び出す前に freee_server_info で transport を確認し、stdio(ローカルモード)の場合は呼び出さず、ユーザーに freee-mcp(リモート版)への切り替え(設定方法)を案内すること。
API の機能制限について
freee API 自体の機能制限に起因する問題は freee-mcp では解決できません。詳細は troubleshooting/support.md を参照してください。
Related skills
More from freee/freee-mcp and the wider catalog.

gpt-image-2-style-library
Generate production-ready GPT-Image2 prompts using curated style templates and visual guidelines.

manga-drama
漫剧生成器 - 基于 Seedance 的漫画风格短剧生成工具。支持以主角图片为基础,自动生成漫剧分镜脚本并生成视频。适用于创作漫画风格的短视频、角色故事、动画短片等。当用户想要生成漫画风格的视频短剧、角色故事或漫剧时使用此技能。

wechat-article-extractor
Extract metadata and content from WeChat Official Account articles via URL parsing.

xiaohongshu-cover-generator
Generate Xiaohongshu-style cover images from topics using AI.

aframe-webxr
Declarative HTML framework for building browser-based 3D, VR, and AR experiences with minimal JavaScript.

animated-component-libraries
Pre-built animated React components from Magic UI and React Bits for faster interactive UI development.