How to connect SmartHR to AI agents
checked by the operator
TL;DR
| Verdict | Business or paid only There is an official route, but it needs a business contract, a specific paid plan, a seller or similar role, or a review |
|---|---|
| Who can use it | Companies contracting SmartHR (HR/labor staff and administrators). It is not a service for individuals. The API is available according to the contract plan, and API integration is offered even on the 0-yen plan (up to 30 employees). Issuing an access token requires administrator privileges. |
| Method | Official API |
| Pricing | There is no extra charge for the API itself (included in the SmartHR contract). SmartHR is priced monthly by employee count, and there is a 0-yen plan (up to 30 employees). Paid plan pricing is by inquiry. |
| Risk | It handles sensitive employee personal information (family composition, addresses, birth dates, insurance and pension numbers, bank accounts, and pay). The resources and employee fields permitted to the access token become exactly the agent's reach. |
There is no official MCP, but the official REST API (v1) is extensive. With an access token issued by an administrator, agents can read and write employees, departments, family, payslips, and more, with permissions narrowable per resource and per employee field. Unofficial connectors that wrap the API as MCP also exist. It is a corporate service, not for individuals, but the API is available even on the 0-yen plan (up to 30 employees).
| Authentication | Access token (Bearer, issued by an administrator; the standard route for in-house use) / OAuth (for public SmartHR Plus apps) |
|---|---|
| Checked by the operator | 2026.12.05 |
| How the operator checked | Checked against official documentation |
Official MCP and AI guides
- Official MCP serverNo
There is no official SmartHR MCP server. Several unofficial connectors wrap the official REST API (v1) as MCP.
- Official guide for AI agentsUnverified
The developer site (developer.smarthr.jp) has the API reference and sandbox information. Whether an llms.txt or Agent Skills are offered is unverified.
Connectors
Official connectors from AI services
Not supported: Claude, Gemini, Microsoft Copilot
Unverified: ChatGPT
Third-party integration services
There is a SmartHR toolkit with many tools, including creating, reading, and deleting employees, departments, and payslips. Your own API key (access token) is required and is stored by Composio.
There is a SmartHR app that automates notifications triggered by employee registration, employee data registration, and bulk department updates without code (available on Yoom's Mini plan and above).
Not supported: Zapier, Make, n8n, Power Automate, IFTTT
Unverified: Pipedream
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
An open-source connector (AGPL-3.0) that wraps the SmartHR API v1 as MCP. It can be self-hosted or used through the provider's cloud (AnythingMCP Cloud). It has about 30 tools. The employee deletion tool is off by default at install time. The tool list here is an excerpt of the main read tools (about 30 tools including write tools).
Security assessment
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Third-party integrationComposioOfficial from the integration service
Permissions required Read and write SmartHRのアクセストークンに許可した範囲で動く。
Terms of service Conditional 公式APIを使う連携だが、アクセストークンをComposioに預ける構成になる。個人情報を扱うため、自社の規程に反しないか確認してから使う。
Source: relevant section of the terms
Data path Composioのサーバーを経由する。アクセストークンもComposio側に保存される。 - Third-party integrationYoomOfficial from the integration service
Permissions required Read and write 連携方式(OAuth/アクセストークン)に応じて、接続したアカウントまたはトークンの権限で動く。YoomのSmartHRアプリが定義するアクションの範囲。
Terms of service Conditional 公式APIを使う連携だが、認証情報(OAuthまたはアクセストークン)をYoomに預ける構成になる。従業員の機微な個人情報を扱うため、社内規程の確認が要る。
Source: relevant section of the terms
Data path Yoomのサーバーを経由する。認証情報はYoom側に保存される。 - Unofficial MCPSmartHR MCP(AnythingMCP)Third party (unofficial)
Permissions required Read and write Operates within the scope permitted to the SmartHR access token.
Terms of service Conditional An unofficial MCP that uses the official API. The cloud version entrusts the access token to a third party.
Source: relevant section of the terms
Data path When self-hosted, it connects directly from your environment to the SmartHR API; however, retrieved employee data is also sent to the connected AI client / LLM provider. The cloud version routes through the provider's servers and also stores the access token.
Data you can fetch within the terms of service
Employees, departments, job titles, employment types, grades, work locations, custom fields, family, users, payslips, and more, within the resources and employee fields permitted to the access token.
- ScrapingNot stated in terms
- Fetching with the agent's own browser
There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.
Usage
How to connect
- Sign in as a SmartHR administrator and open Common settings → External system integration → Access tokens → New issue.
- Name the token, set resource restrictions (read/update) and employee field access permissions to the minimum necessary, and issue it.
- Save the displayed access token (it is shown only once).
- Configure the tenant host name and the access token on the calling side (your own tool, an unofficial MCP, or an integration service).
Setup examples
Paste these as they are. Replace the API key, domain and similar values with your own.
curl -H "Authorization: Bearer <アクセストークン>" "https://<テナント>.smarthr.jp/api/v1/crews?per_page=100"Issue a token in Common settings → External system integration → Access tokens → New issue, then call the API with a Bearer <redacted>
Official page checked: https://developer.smarthr.jp/api/
Limiting the features
共通設定 → 外部システム連携 → アクセストークン → 新規発行で、リソースごとに「参照」「更新」を選び、従業員項目のアクセス許可で項目ごとに参照可否を設定するAt token issuance, permissions can be narrowed both per resource (employees, departments, job titles, employment types, family, payslips, and so on) and per employee field (name, birth date, address, bank account, and so on). For read-only use, do not grant update. Permissions can also be changed later in the admin console.
Official page checked: https://developer.smarthr.jp/api/
Get a list of employees
List the employees
Available via GET /api/v1/crews. The fields parameter narrows the employee fields returned. Lists are paginated (per_page is at most 100, default 10), and filtering by department requires a department ID condition or filtering after retrieval.
Aggregate headcounts by department
Count employees by department
Department headcounts can be aggregated by combining GET /api/v1/departments with employee data.
Check payslips
Show me this month's payslips
Available if the token has permission for the payslip resource. Depending on the contract plan it may be out of scope, returning an error (403) for lack of permission or plan coverage.
Pitfalls and tips
Pitfalls
- The access token is shown only once, at issuance. If it leaks, the permitted scope of employee information (including family, payslips, bank accounts, and various ID numbers) can be accessed as-is.
- Rate limits are 10 requests per second and 5,000 per hour per token, and 50,000 per minute per subdomain (tenant). Exceeding them returns 429.
- Some resources, such as payslips, return an error (403) when the token lacks permission or when the contract plan or options do not cover them.
- The API can also delete employees. Keep the resources granted update permission to the minimum necessary.
- Do not let an agent execute instructions hidden in employee data or free-text custom fields as-is (prompt-injection countermeasure). Treat text obtained via the API as data, not as instructions.
- OAuth integration via SmartHR Plus and access-token integration work differently. Some integration partners require access-token integration to create or update employee information.
Tips
- When letting an agent touch SmartHR, start with a read-only token (no update permission). Exclude unneeded fields, such as bank account details, from the permissions per resource and per field.
- Routine automation (onboarding notifications, copying employee data to other systems) fits Yoom; letting an agent query freely fits the official API or an unofficial MCP.
- For development, use the sandbox environment (applied for via developer.smarthr.jp) to test without touching production employee data.
- The tenant can restrict API source IP addresses. Combining that with allowing only the agent's execution environment IP reduces the damage if a token leaks.
Test environment and change history
| How it was checked | Checked against official documentation |
|---|---|
| Clients tried | Not yet tried with a real client |
The authentication method, permission model, and rate limits were checked on the SmartHR developer site and in public information based on its specifications. The unofficial MCP's tools were checked in AnythingMCP's guide. No live connection was made.
Change history
- First edition
Sources
Official and primary sources
Pages published by the service provider, the integration provider or the MCP author about their own product.
- SmartHR API (developer site)API reference: authentication, permission model, rate limits, checked 2026.12.05
- SmartHR MCP Server (Composio)Composio's SmartHR toolkit, checked 2026.12.05
- Enter new employee information in a form, register it in SmartHR, and send a notification (Yoom)Yoom's SmartHR integration template, checked 2026.12.05
- Claude connector directorySmartHR is not listed, checked 2026.12.05
- SmartHR Terms of ServiceSmartHR's terms of service, including the definition of API integration services, checked 2026.12.05
References (third-party write-ups)
Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.
- Adding the SmartHR integration (freee Help Center)Enabling the SmartHR integration, and how to issue an access token and configure its permissions, checked 2026.12.05
- SmartHR MCP server: employees, departments, payroll (AnythingMCP)AnythingMCP's SmartHR MCP guide: tool list and rate limits, checked 2026.12.05
