Provides an MCP server that exposes freee API calls for Claude with OAuth 2.0 PKCE and multi-company support
Configuration
View docs{
"mcpServers": {
"him0-freee-mcp": {
"command": "npx",
"args": [
"@him0/freee-mcp"
],
"env": {
"FREEE_CLIENT_ID": "YOUR_CLIENT_ID",
"FREEE_CLIENT_SECRET": "YOUR_CLIENT_SECRET"
}
}
}
}You run a local MCP server that exposes freee API calls to Claude through a dedicated skill, enabling you to fetch accounting, HR, invoicing, time tracking, and sales data securely with OAuth 2.0. This setup streamlines how Claude accesses freee data by combining a server that handles API calls with a skill that provides a structured API reference.
You first install and configure the MCP server, then connect Claude Desktop to start issuing requests like retrieving deals or creating invoices. The server validates requests, handles authentication, and forwards calls to the freee API, returning responses that Claude formats for you.
Prerequisites you need before starting are Node.js and npm or an equivalent package manager that can run npx. You also need a freee developer account to obtain API credentials.
Step 1. Install and configure the MCP server locally by running the interactive setup command.
npx @him0/freee-mcp configureStep 2. During setup you will provide OAuth credentials and select the freee account context. You can access the current company and switch contexts as needed.
After configuration, add the MCP server to Claude Desktop so it can invoke the local MCP process.
{
"mcpServers": {
"freee": {
"command": "npx",
"args": ["@him0/freee-mcp"]
}
}
}In Claude Desktop, ensure the new MCP server entry is active. Claude Code will fetch API reference data from the Skill and use the MCP tool to call the local server.
Environment variables are supported for credentials during initial setup, but placing sensitive values in environment variables is discouraged for ongoing use. Prefer running the interactive configuration to populate the required configuration file.
Install the Claude plugin to access API-reference-enhanced skills. This provides accurate API details for the Freee MCP endpoints across five areas: Accounting, HR & Payroll, Invoices, Time Tracking, and Sales.
Use the following tools to manage authentication, context, and API calls.
Initiates OAuth authentication with the freee API to obtain access and refresh tokens.
Checks whether your OAuth tokens are still valid and not expired.
Clears stored authentication tokens and resets the auth state.
Switches the active freee company (office) context for subsequent API calls.
Returns the currently selected company context.
Retrieves a list of all available companies you can switch between.
Fetches information about the currently authenticated user.
Issues a GET request to a Freee API endpoint and returns the response.
Issues a POST request to a Freee API endpoint and returns the response.
Issues a PUT request to a Freee API endpoint and returns the response.
Issues a DELETE request to a Freee API endpoint and returns the response.
Issues a PATCH request to a Freee API endpoint and returns the response.
Lists available API paths defined in the OpenAPI schema for quick reference.