freee-api-skill

freee/freee-mcp · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/freee/freee-mcp --skill freee-api-skill
0 commentsdiscussion
summary

freee accounting, HR, invoicing, project management, and sales API access through MCP with detailed references and operation guides.

  • Provides MCP tools for OAuth authentication, company management, and five service APIs: accounting (deals, expenses), HR (employees, attendance), invoicing (invoices, quotes), project management (projects, timesheets), and sales (opportunities, orders)
  • Includes API reference documentation for major endpoints (deals, expense applications, employees, attenda
skill.md

freee API スキル

概要

freee の会計・人事労務・請求書・工数管理・販売のデータを AI から直接操作できるスキルです。

freee-mcp (MCP サーバー) を通じて freee API と連携。

このスキルの役割:

  • freee API の詳細リファレンスを提供
  • freee-mcp 使用ガイドと API 呼び出し例を提供

接続方法は Remote MCP(推奨)とローカルの2つがあります。現在の接続モードは freee_server_info の transport フィールド(remote または stdio)で確認できます。

セットアップ

方法 1: Remote MCP で接続する(推奨)

freee が提供する Remote MCP サーバーに接続する方法です。ローカルでのセットアップが不要で、すぐに利用を開始できます。

Claude 及び Claude Desktop では「カスタマイズ」より「カスタムコネクタを追加」を開き、以下を設定してください。

  • 名前: freee
  • URL: https://mcp.freee.co.jp/mcp

初回接続時にブラウザで freee への認証が自動的に行われます。npx freee-mcp configure の実行は不要です。

その他の AI ツールでは、それぞれの案内に従って Remote MCP サーバーを追加してください。

方法 2: ローカルで 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 - 請求書

使い方

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パラメータ (必須):

service 説明 パス例
accounting freee会計 (取引、勘定科目、取引先など) /api/1/deals
hr freee人事労務 (従業員、勤怠など) /api/v1/employees
invoice freee請求書 (請求書、見積書、納品書) /invoices
pm freee工数管理 (プロジェクト、工数など) /projects
sm freee販売 (見積、受注、売上など) /businesses

基本ワークフロー

接続モードが不明な場合は freee_server_info で確認できます(transport が remote なら Remote MCP、stdio ならローカル)。Remote MCP の場合、認証は自動処理されるため手順1から開始できます。ローカルモードで未認証の場合は先に freee_authenticate を実行してください。

  1. 事業所を確認: freee_get_current_company で現在の事業所IDを取得する(初回は必須。セッション内で1回取得すれば以降は使い回せる)
    • APIは事業所ごとにデータが分離されているため、正しい事業所を選択しないと意図しないデータにアクセスしてしまう
  2. レシピを確認: recipes/ 内の該当レシピを読む
    • よくある操作のパターンと注意点がまとまっているため、直接APIを叩くより効率的でミスが少ない
  3. リファレンスを検索: 必要に応じて references/ を参照
    • レシピにない詳細なパラメータやレスポンス仕様を確認する
  4. 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/freee-mcp-tag.md - メモタグ「freee-mcp」の付与ガイド

エラー対応

  • バージョン確認: VERSION.md を読んでスキルのバージョンを確認し(ファイルが存在しない場合は開発版を使用中)、freee_server_info でサーバーバージョンを確認してください。スキルのバージョンがサーバーより古い場合、スキルの情報が最新のサーバーに対応していない可能性があります。スキルを最新版に更新してから再度お試しください。
  • 認証エラー(Remote MCP): MCP クライアント(Claude Desktop 等)が自動的に再認証を促します。解決しない場合はカスタムコネクタを一度削除し、再度追加してください。
  • 認証エラー(ローカル): freee_auth_status で確認 → freee_clear_authfreee_authenticate
  • 事業所エラー: freee_list_companiesfreee_set_current_company
  • 詳細: recipes/troubleshooting.md 参照

API の機能制限について

freee API 自体の機能制限に起因する問題は freee-mcp では解決できません。詳細は recipes/troubleshooting.md を参照してください。

関連リンク

how to use freee-api-skill

How to use freee-api-skill on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add freee-api-skill
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/freee/freee-mcp --skill freee-api-skill

The skills CLI fetches freee-api-skill from GitHub repository freee/freee-mcp and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/freee-api-skill

Reload or restart Cursor to activate freee-api-skill. Access the skill through slash commands (e.g., /freee-api-skill) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.761 reviews
  • Ganesh Mohane· Dec 24, 2024

    freee-api-skill has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Valentina Mehta· Dec 8, 2024

    I recommend freee-api-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Noor Martinez· Dec 4, 2024

    Useful defaults in freee-api-skill — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Camila Verma· Dec 4, 2024

    freee-api-skill reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Ava Taylor· Nov 27, 2024

    Useful defaults in freee-api-skill — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Isabella Flores· Nov 23, 2024

    I recommend freee-api-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Sakura Zhang· Nov 23, 2024

    freee-api-skill is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Luis Lopez· Nov 19, 2024

    freee-api-skill reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Sakshi Patil· Nov 15, 2024

    Solid pick for teams standardizing on skills: freee-api-skill is focused, and the summary matches what you get after install.

  • William Kim· Oct 18, 2024

    freee-api-skill is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 61

1 / 7