freee-mcp  by freee

AI agent integration for business APIs

Created 1 year ago
314 stars

Top 86.2% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project provides a Model Context Protocol (MCP) server and Claude Plugin to enable direct integration of freee's business APIs (Accounting, HR, Invoicing, etc.) with AI models like Claude. It targets developers and power users seeking to automate workflows by connecting freee's services to AI agents, offering a streamlined and secure way to access financial and operational data.

How It Works

The architecture separates API reference management (SKILL) from API execution (MCP Server). Claude Code first queries the SKILL for relevant API documentation (endpoints, parameters) and then uses the MCP server to perform the actual API calls. The MCP server validates requests against OpenAPI schemas, handles secure OAuth 2.0 + PKCE authentication with automatic token renewal, and communicates with the freee APIs. This approach optimizes Claude's context usage by injecting API references dynamically and centralizes complex authentication and validation logic.

Quick Start & Requirements

  • Installation: Requires Node.js and pnpm. Users must register a freee application to obtain Client ID/Secret and set the callback URL to http://127.0.0.1:54321/callback. Configuration is handled interactively via npx freee-mcp configure, which guides through authentication and company selection. The output is added to Claude Desktop's claude_desktop_config.json. The plugin is installed using npx skills add freee/freee-mcp.
  • Links: Official quick-start is via the npx commands and configuration file editing.

Highlighted Details

  • Supports five core freee API suites: Accounting, HR & Payroll, Invoicing, Time Tracking, and Sales.
  • Features robust OAuth 2.0 + PKCE authentication with automatic token refresh capabilities.
  • Enables dynamic switching and management of multiple freee business accounts (事業所).
  • API request validation is performed against OpenAPI schemas for data integrity.

Maintenance & Community

The project employs an AI-driven development flow, prioritizing code consistency. Contributions are managed through GitHub Issues rather than direct Pull Requests; maintainers will implement proposed changes. Community interaction, questions, and information exchange occur on a dedicated Discord server.

Licensing & Compatibility

The project is licensed under the Apache-2.0 license, which permits commercial use and integration into proprietary software.

Limitations & Caveats

This project is currently under active development and may exhibit unexpected behavior or bugs. Direct Pull Requests are not accepted; all proposed changes must be submitted as Issues for maintainer review and implementation.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
67
Issues (30d)
24
Star History
208 stars in the last 30 days

Explore Similar Projects

Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Jared Palmer Jared Palmer(SVP at GitHub; Founder of Turborepo; Author of Formik, TSDX), and
1 more.

copilot-sdk by github

2.5%
8k
AI agentic workflow SDK for application integration
Created 1 month ago
Updated 1 day ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

composio by ComposioHQ

0.3%
27k
Toolset for AI agent integrations via function calling
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.