Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect SmartHR to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/smarthr.md
HR & Labor

How to connect SmartHR to AI agents

TL;DR

The short answer
VerdictBusiness 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 itCompanies 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.
MethodOfficial API
PricingThere 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.
RiskIt 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).

AuthenticationAccess token (Bearer, issued by an administrator; the standard route for in-house use) / OAuth (for public SmartHR Plus apps)
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

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

  • Composio

    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.

  • Yoom

    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.

  • SmartHR MCP(AnythingMCP)

    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 requiredRead and write

SmartHRのアクセストークンに許可した範囲で動く。

Terms of serviceConditional

公式APIを使う連携だが、アクセストークンをComposioに預ける構成になる。個人情報を扱うため、自社の規程に反しないか確認してから使う。

Source: relevant section of the terms

Data pathComposioのサーバーを経由する。アクセストークンもComposio側に保存される。
Third-party integrationYoomOfficial from the integration service
Permissions requiredRead and write

連携方式(OAuth/アクセストークン)に応じて、接続したアカウントまたはトークンの権限で動く。YoomのSmartHRアプリが定義するアクションの範囲。

Terms of serviceConditional

公式APIを使う連携だが、認証情報(OAuthまたはアクセストークン)をYoomに預ける構成になる。従業員の機微な個人情報を扱うため、社内規程の確認が要る。

Source: relevant section of the terms

Data pathYoomのサーバーを経由する。認証情報はYoom側に保存される。
Unofficial MCPSmartHR MCP(AnythingMCP)Third party (unofficial)
Permissions requiredRead and write

Operates within the scope permitted to the SmartHR access token.

Terms of serviceConditional

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 pathWhen 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

Source: relevant section of the terms of service

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

  1. Sign in as a SmartHR administrator and open Common settings → External system integration → Access tokens → New issue.
  2. Name the token, set resource restrictions (read/update) and employee field access permissions to the minimum necessary, and issue it.
  3. Save the displayed access token (it is shown only once).
  4. 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.

Get an employee list (curl)
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

Narrow the access token's permissions per resource and field
共通設定 → 外部システム連携 → アクセストークン → 新規発行で、リソースごとに「参照」「更新」を選び、従業員項目のアクセス許可で項目ごとに参照可否を設定する

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

Instruction to the agent

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

Instruction to the agent

Count employees by department

Department headcounts can be aggregated by combining GET /api/v1/departments with employee data.

Check payslips

Instruction to the agent

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 checkedChecked against official documentation
Clients triedNot 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.

References (third-party write-ups)

Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.

Related articles

How to connect ChatGPT (OpenAI) to AI agents

Official, individuals OK

How to connect YouTube to AI agents

Official, individuals OK

How to connect Rakuten Travel to AI agents

Official, individuals OK

How to connect Backlog to AI agents

Official, individuals OK