freee
freee Accounting (freeeäŒèš) and freee Invoice (freeeè«æ±æž), the Japanese cloud accounting suite: deals, partners, account items, tax codes, items, sections, memo tags, bank and card lines, manual journals, the journal book, trial balances and the general ledger, the file box, and invoices and quotations. Creates deals, payments, journals, partners and documents. OAuth 2.0.
7 æ¥éç¡æ · ã¯ã¬ãžããã«ãŒãäžèŠ Â· EU ãã¹ã
freee ã«äœã§ãèãã
AnythingMCP çµç±ã§ freee ã«å®éã®ããã³ããã詊ãã â Claude ãããŒã«ãåŒã³åºããåçããŸããããªãã®ã¡ãã»ãŒãžã§ Enter ãæŒããš Cloud ã«ã€ã³ã¹ããŒã«ããŸãã
freee ã Cloud ã«ã€ã³ã¹ããŒã«Claude 㯠AI ã®ãã誀ãããšããããŸããåçãã確èªãã ããã
2 åã§ã»ããã¢ãã
- 1cloud.anythingmcp.com ã§ç¡æãã©ã€ã¢ã«éå§ã
- 2ã³ãã¯ã¿ãŒã¹ãã¢ã§ freee ãã¯ãªãã¯ãè³æ Œæ å ±ã貌ãä»ãã
- 3MCP API ããŒãçºè¡ããAI ã¯ã©ã€ã¢ã³ãã MCP URL ã«åããã
freee ã®ã¬ã€ã
äž»èŠ AI ã¯ã©ã€ã¢ã³ãåãã®ã¹ããããã€ã¹ãããã»ããã¢ããã
freee ã®ã»ããã¢ãã
ã³ãã¯ã¿å®çŸ©ãã®ãã®ããïŒèªèšŒæ å ±ã®å ¥æå ãå¿ èŠãªæš©éããã®ã¢ããã¿ãåŒã³åºã APIã ã³ãã¯ã¿äœè ã«ããè±èªã§æäŸãããŠããŸãã
freee
This connector uses the freee API (https://api.freee.co.jp): freeeäŒèš (freee Accounting) at /api/1 for companies, deals (ååŒ), partners (ååŒå
), account items (åå®ç§ç®), tax codes, items, sections, memo tags, bank and card accounts with their statement lines, transfers, manual journals (æ¯æ¿äŒç¥š), the journal book, trial balances and the general ledger, and the file box; and freeeè«æ±æž (freee Invoice) at /iv for invoices and quotations. Since the invoice system change in October 2023 invoices and quotations are created in freeeè«æ±æž; the old /api/1/invoices endpoints are not used here.
Setup (about 10 minutes)
- Sign in at https://app.secure.freee.co.jp/developers/applications (freee ã¢ããªã¹ãã¢, éçºè åã) and click æ°èŠè¿œå (create an app). A private app (éå ¬éã¢ããª) is enough for your own companies.
- On the tab åºæ¬èšå®, add the callback URL
https://cloud.anythingmcp.com/api/mcp-oauth/callbackon AnythingMCP Cloud, or<your AnythingMCP server URL>/api/mcp-oauth/callbackwhen you host AnythingMCP yourself. - Under æš©éèšå® (permissions) tick read and, for the write tools, write for: äŒèš (ååŒ, ååŒå , åå®ç§ç®, åç®, éšé, ã¡ã¢ã¿ã°, çšåºå, å£åº§, å£åº§æçް, æ¯æ¿äŒç¥š, ä»èš³åž³, 詊ç®è¡š, ãã¡ã€ã«ããã¯ã¹, äºæ¥æ, ãŠãŒã¶ãŒ) and è«æ±æž (è«æ±æž, èŠç©æž). Permissions are set on the app, not as OAuth scopes. Save (ä¿å).
- Copy the Client ID into
FREEE_CLIENT_IDand the Client Secret intoFREEE_CLIENT_SECRET, leaveFREEE_REFRESH_TOKENempty and install. - Click Authorize with Provider and sign in to freee with a user who may see the companies you need; freee asks you to pick a company (äºæ¥æéžæ) and shows the app permissions. Run
freee_get_meto check.
Tokens: an access token lasts 6 hours and is renewed with the refresh token. freee issues a new refresh token at every renewal and the old one stops working; a refresh token unused for 90 days expires, then authorize again. What the AI may do also depends on the role of the freee user in each company.
Company (company_id): every tool except freee_get_me and freee_list_companies needs the company id. Take it from freee_get_me (companies of the user) or freee_list_companies; freee_get_company shows the fiscal years.
Workflow
- Look up ids first:
freee_list_account_items/freee_get_account_item,freee_list_taxes(tax codes for lines),freee_list_partners/freee_get_partner,freee_list_items,freee_list_sections,freee_list_tags,freee_list_walletables,freee_list_users. - Income and expenses:
freee_list_dealsandfreee_get_deal;freee_create_dealregisters one (with payments to settle it right away),freee_create_deal_paymentadds a payment later,freee_update_dealreplaces its lines (keep line ids). - Masters:
freee_create_partner,freee_update_partner,freee_create_item,freee_create_section,freee_create_tag. - Bank and cards:
freee_list_wallet_txnsandfreee_get_wallet_txnfor statement lines,freee_list_transfersfor transfers between own accounts. - Journals:
freee_list_manual_journals,freee_get_manual_journal,freee_create_manual_journal. The full journal book is asynchronous:freee_request_journals, thenfreee_get_journals_statusuntiluploaded, thenfreee_download_journals. - Reports:
freee_get_trial_balance(trial_bs, trial_pl, trial_cr and the year comparisons),freee_get_trial_pl_sections(P/L by section),freee_list_general_ledgers(general ledger, beta). - Evidence:
freee_list_receiptsandfreee_get_receiptfor the file box. - freeeè«æ±æž:
freee_list_invoices,freee_get_invoice,freee_list_invoice_templates,freee_create_invoice,freee_cancel_invoiceandfreee_uncancel_invoice;freee_list_quotations,freee_get_quotation,freee_create_quotation. Documents are created unsent; sending happens in freee. Show the lines and total and wait for the user's yes before creating one.
Reading answers: amounts are integers in JPY (tax included unless the field says otherwise); dates are yyyy-mm-dd in JST. Lists return meta.total_count on deals and journals; page with offset and limit (deals and wallet lines up to 100, manual journals 500, partners, items and tags 3000). fiscal_year in reports is the year the fiscal period starts.
Limits and errors: freee answers status_code and errors with messages, mostly in Japanese; the validation message names the field. 401 means the token expired or was revoked (authorize again), 403 that the user or the app permissions do not allow the call, or, briefly, too many requests (wait about 10 minutes). Reports allow 10 calls per second and return 429 above.
Switched off at install: freee_delete_deal and freee_delete_manual_journal; they cannot be undone, so an admin switches them on when the team needs them.
ããªãã® AI 㯠freee ãã 2 ã¯ãªãã¯å ã
ã³ãã¯ã¿ãŒãã€ã³ã¹ããŒã«ãè³æ Œæ å ±ã貌ãä»ããAI ã«è³ªåã7 æ¥éç¡æãã¯ã¬ãžããã«ãŒãäžèŠã