# ZenHR MCP server > Read branches, employees, time off and attendance records in ZenHR. A hosted remote MCP server by usefulapi.io, an independent service (not affiliated with ZenHR). - Server URL: https://zenhr.usefulapi.io/mcp - Transport: Streamable HTTP, OAuth sign-in - Status: live - Page: https://usefulapi.io/zenhr/ ## Connect - Claude (claude.ai, Desktop): Customize → Connectors → Add custom connector, name ZenHR, URL https://zenhr.usefulapi.io/mcp. Prefilled dialog: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=ZenHR&connectorUrl=https%3A%2F%2Fzenhr.usefulapi.io%2Fmcp - Claude Code: `claude mcp add --transport http zenhr https://zenhr.usefulapi.io/mcp`, then run `/mcp` to log in. As a plugin: `claude plugin marketplace add https://usefulapi.io/claude/marketplace.json`, then `claude plugin install zenhr@usefulapi`. - Codex: `codex mcp add zenhr --url https://zenhr.usefulapi.io/mcp`, then `codex mcp login zenhr`. - ChatGPT: Plugins → Add custom MCP server, authentication OAuth. - Perplexity (Pro, Max, Enterprise): Plugins → Add custom → Add MCP connector → Remote, URL https://zenhr.usefulapi.io/mcp, Advanced: OAuth, Streamable HTTP. - Cursor, VS Code and other MCP clients: add the URL as a remote MCP server. Add only the URL. Do not add an `Authorization` header or an API key to the client config. The server signs you in with OAuth: you enter your own ZenHR app's client ID and secret, then sign in with your ZenHR account. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401. ## Before you connect In ZenHR, sign in as a **global admin**, open **/en/oauth/applications** on your ZenHR address and choose **New Application**. Set the redirect URL to **https://zenhr.usefulapi.io/callback**, the company level to **Company**, and the scopes to **read.branch, read.employee, read.professional_info, read.organization_level, read.timeoff, read.timeoff_transaction, read.attendance_record**. Then enter the app's UID and secret here. The secret is stored encrypted and is used only to sign you in and refresh your ZenHR access. This server reads your branches, departments, employees, job records, time-off types and entries, and attendance records. It never changes anything in ZenHR and does not read salaries, bank details or financial records. It can see only what the signed-in ZenHR user is allowed to see. You can revoke access any time in ZenHR. ## Example requests - Which employees are in the Amman branch, and in which department are they? - Show the time-off entries of employee 1159 this year. - List yesterday's clock-in and clock-out records for my branch. - What is the active job record of employee 1159: position, manager and effective date? ## Pricing - Free: $0, 50 tool calls / month - Pro: $9/mo · $90/yr per user, 10,000 tool calls / month - Pro+: $39/mo · $390/yr per user, 100,000 tool calls / month Each paid plan covers this ZenHR server only. ## Tools (14) ### Read only (10) - `zenhr_who_am_i`: Who am I. The token's identity and scopes: which ZenHR data this connection can read. Use it to check the connection. - `zenhr_get_company`: Get company. The company of this ZenHR instance: id, name, country and active flag. - `zenhr_list_branches`: List branches. The branches (locations or legal entities) of the company, page by page. Branch ids feed the other tools. - `zenhr_list_departments`: List departments. The departments of one branch, page by page. - `zenhr_list_employees`: List employees. The employees of one branch, page by page, as ZenHR returns them. Use zenhr\_get\_employee for one employee. - `zenhr_get_employee`: Get an employee. One employee of a branch, by id, as ZenHR returns the record. - `zenhr_get_active_professional_data`: Get active job record. The job record that is active now for one employee: position, department, site, manager and effective dates. - `zenhr_list_timeoffs`: List time-off types. The time-off types (leave policies) of one branch, page by page. - `zenhr_list_timeoff_transactions`: List time-off entries. Time-off entries (days taken, added or adjusted) of one branch, or of one employee when employee\_id is given. Page by page. - `zenhr_list_attendance_records`: List attendance records. Clock-in and clock-out records of one branch, between two dates (inclusive), page by page. ### Your usefulapi plan (4) - `zenhr_usage_status`: Usage status (free-tier meter). Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter. - `zenhr_request_feature`: Request a missing feature. Tell usefulapi that the user needs something the ZenHR tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. - `zenhr_upgrade`: Upgrade to Pro or Pro+. Get a paid plan for ZenHR (the free tier caps monthly usage). Pro: 10,000 tool calls a month, for normal use — plan "monthly" ($9/month) or "yearly" ($90/year, 2 months free). Pro+: 100,000 tool calls a month, for automations and heavy use — plan "plus" ($39/month) or "plus\_yearly" ($390/year). Without a plan, a free account gets both Pro and Pro+, each with a payment link, for the user to choose, and a Pro subscriber gets the Pro+ link; with a plan, one link. An existing Pro subscription changes to Pro+ in place: the reply gives a link to Stripe's page, which shows the exact charge (the price difference for the rest of the period; in a free Pro trial the full Pro+ price, as the trial ends) and changes the plan only when the user confirms there. This tool never charges. Cancel any time: the plan then runs to the end of the paid period, so it also suits a one-time job. A link opens Stripe Checkout in the browser; after payment the account upgrades automatically. Does not count against the meter. - `zenhr_cancel_subscription`: Cancel the Pro subscription. Cancel the caller's ZenHR Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run zenhr\_upgrade later to undo the cancel before the period ends. Does not count against the meter. ## FAQ ### What can I do with ZenHR in Claude or ChatGPT? Find employees by branch and department. Review time-off types and entries. Review attendance records for a period. Read the current job record of an employee. Check the connection and its scopes. See [what you can do](https://usefulapi.io/zenhr/#uses) for the details. ### Is this an official ZenHR product? No. usefulapi is an independent service. It is not affiliated with or endorsed by ZenHR. The server calls the ZenHR API with your own ZenHR access, so it sees only the data that your account can see. ### Can I connect ZenHR to Claude or ChatGPT? Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See [the setup steps](https://usefulapi.io/zenhr/#connect). ### What do I need to connect? A ZenHR account with API access and your own ZenHR API app (its client ID and secret). See [Before you connect](https://usefulapi.io/zenhr/#setup) for how to create it. ### Do I add an Authorization header to the client config? No. Add only the URL. Do not add an `Authorization` header or an API key to the client config. The server signs you in with OAuth: you enter your own ZenHR app's client ID and secret, then sign in with your ZenHR account. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401. ### How do you keep my ZenHR credentials? The login stores them encrypted in the authorization grant of your connection. The server uses them to call the ZenHR API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. You can revoke the access in ZenHR at any time. ### Can the AI change my ZenHR data? All 10 ZenHR tools are marked read-only. ### What does it cost? The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with 10,000 tool calls / month. Pro+ costs $39/mo or $390/yr, with 100,000 tool calls / month. Each subscription covers this ZenHR server only. Cancel any time: your paid plan then runs to the end of the paid period. Run `zenhr_usage_status` to see how many calls you used. ### How do I subscribe or cancel? Ask the AI to run `zenhr_upgrade` and choose Pro or Pro+, billed monthly or yearly: it returns a Stripe Checkout link. If you already have Pro, ask to change it to Pro+. After you confirm, your existing subscription changes in place, keeps its billing interval and charges the price difference for the rest of the period immediately. To cancel, run `zenhr_cancel_subscription`. Your paid plan continues to the end of the paid period. ### What if a ZenHR tool that I need is missing? Tell the AI what you wanted to do. It can send the request with `zenhr_request_feature`. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day. ### Which AI clients can I use? Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Perplexity, Cursor, VS Code, Windsurf and others. ## Links - [ZenHR MCP server page](https://usefulapi.io/zenhr/) - [All servers](https://usefulapi.io/llms.txt) - [Terms of Service](https://usefulapi.io/terms/) - [Privacy Policy](https://usefulapi.io/privacy/) - Support: support@usefulapi.io