Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the HR WORKS in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Wire HR WORKS into Gemini via MCP. Query employees, absences, sick leaves, working times, and applicants in natural language. Pre-built v2 adapter with 31 tools.
Try asking
Example prompts for HR WORKS
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
Connect HR WORKS to Gemini
HR WORKS is the Freiburg-based HR/payroll SaaS used by ~20,000 DACH SMBs. With AnythingMCP you connect HR WORKS to Gemini via MCP and run people-ops workflows in natural language — absence approvals, working-time analytics, applicant triage — all from a chat surface.
What You Can Ask Gemini
- "Who is on vacation next week in the engineering team?"
- "Show me the sick-leave totals for Q1 2026 across all org units"
- "List the working-time entries for personnel number 1042 in March"
- "Which applicants are in the pipeline for the Berlin Frontend role?"
- "Get the leave-account balance for Jane Doe"
Setup
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
- In HR WORKS: Administration → API, create an API key pair (
accessKey+secretAccessKey) - Open
http://localhost:3000/connectors/store, import HR WORKS and paste the pair intoHRWORKS_ACCESS_KEYandHRWORKS_SECRET_ACCESS_KEY. The connector exchanges it for a short-lived token and renews the token on its own. - (Optional) For the sandbox at
https://api.demo-hrworks.de, change the connector's base URL and the login URL in its auth settings to the demo host - Assign the connector to an MCP server
Connect Gemini
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell) —anythingmcpshould show as connected. - Start prompting — Gemini CLI can now call the
HR WORKStools.
Self-hosting with the quickstart above? Use your server's local endpoint http://localhost:4000/mcp/<server-id> as the URL.
Tool Highlights for Gemini
| Tool | When Gemini reaches for it |
|---|---|
hrworks_list_persons | "List employees", directory queries, headcount checks |
hrworks_list_absences | "Who is off?", absence approvals, planning |
hrworks_list_sick_leaves | Sick-leave analytics, trend questions |
hrworks_list_working_times | Overtime calculation, payroll prep |
hrworks_list_remote_work | Hybrid-policy compliance, office-day counts |
hrworks_list_applicants | Recruiting pipeline overview |
hrworks_get_leave_account | Per-person leave balance lookup |
hrworks_health_check | Check whether the HR WORKS API is reachable |
hrworks_list_organization_units | List all active organization units (Organisationseinheiten) of the company with their uuid, number and name |
hrworks_get_organization_unit | Return the data of a specific organization unit |
hrworks_list_present_persons | List all persons currently 'in the office' for a given organization unit |
hrworks_list_permanent_establishments | List all permanent establishments (Betriebsstätten) of the company with id and name |
hrworks_list_holidays | List company holidays for a given year and (optionally) country |
hrworks_get_person | Return the base data of a specific person (employee) |
hrworks_list_persons_master_data | Return the current master data (full personal data, contract details, addresses, bank info, etc.) for one or more persons |
hrworks_get_persons_today | Return day-related objects (working hours, attendance, absences) for the current day for one or more persons |
hrworks_list_absence_types | List all absence types (vacation, parental leave, special leave, etc.) configured for the customer account, with their keys for use as… |
hrworks_list_vacation_types | List vacation types defined for the customer account (subset of absence types focused on vacation/leave) |
hrworks_list_sick_leave_types | List all sick leave types configured for the customer account with their keys (used as filter values for hrworks_list_sick_leaves) |
hrworks_list_time_recording_regulations | List all time-recording regulations configured for the customer (defines which working time types are allowed per regulation) |
hrworks_list_projects | List time-tracking projects of the company |
hrworks_get_project | Return the data of a specific time-tracking project by id |
hrworks_list_project_customers | List the customers used for project time tracking |
hrworks_list_job_applications | List job applications |
hrworks_list_posts | List all recruiting posts (job postings) of the company |
hrworks_get_post | Return the data of a single recruiting post by uuid |
hrworks_get_applicant | Return data of a specific applicant by uuid |
hrworks_list_cost_centers | List all cost centers (Kostenstellen) of the company with their number/id and name |
hrworks_list_cost_objectives | List all cost objectives (Kostenträger) of the company |
hrworks_list_wage_salary_types | List all wage/salary types defined for the customer account (used in payroll exports) |
(showing 30 of 31 tools — install the connector to see them all)
Full list of all 31 tools is in the HR WORKS MCP Server overview.
Important: Token Lifetime
HR WORKS tokens expire after ~15 minutes. The connector logs in with your key pair, renews the token before it expires and logs in again after a 401, so long conversations, scheduled runs and agents keep working without you touching a token.
Date Interval Cap
hrworks_list_absences, _sick_leaves, _remote_work, _working_times cap at 1 year per call (or 31 days if interval=days). For multi-year analyses, ask Gemini to iterate year by year.
FAQ
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Related Guides
- HR WORKS MCP Server overview
- Connect HR WORKS to Claude
- Connect HR WORKS to ChatGPT
- Connect HR WORKS to Cursor
- Connect HR WORKS to Meta Muse
- Personio MCP Server — alternative DACH HR
- Kenjo HR MCP Server — alternative DACH HR
Was this guide helpful?