# Employment Hero Payroll MCP server > Read Employment Hero Payroll pay runs, payslips, timesheets and leave; approve or decline leave. A hosted remote MCP server by usefulapi.io, an independent service (not affiliated with or endorsed by Employment Hero Payroll). - Server URL: https://keypay.usefulapi.io/mcp - Transport: Streamable HTTP, OAuth sign-in - Status: live - Page: https://usefulapi.io/keypay/ ## Connect - Claude (claude.ai, Desktop): Customize → Connectors → Add custom connector, name Employment Hero Payroll by UsefulAPI, URL https://keypay.usefulapi.io/mcp. Prefilled dialog: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Employment%20Hero%20Payroll%20by%20UsefulAPI&connectorUrl=https%3A%2F%2Fkeypay.usefulapi.io%2Fmcp - Claude Code: `claude mcp add --transport http keypay https://keypay.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 keypay@usefulapi`. As a claude.ai connector (Claude Code 2.1.335 or later, signed in with a claude.ai Pro, Max or Ultra plan): `claude mcp add --web 'Employment Hero Payroll by UsefulAPI' https://keypay.usefulapi.io/mcp` opens claude.ai with the form filled in; add and connect it there. - Codex: `codex mcp add keypay --url https://keypay.usefulapi.io/mcp`, then `codex mcp login keypay`. - ChatGPT: Plugins → Add custom MCP server, name Employment Hero Payroll by UsefulAPI, authentication OAuth. - Perplexity (Pro, Max, Enterprise): Plugins → Add custom → Add MCP connector → Remote, name Employment Hero Payroll by UsefulAPI, URL https://keypay.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: the login page asks for your **Employment Hero Payroll API key** and **Region**. 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 Employment Hero Payroll click **your name (top right) → My Account → Generate API Key** and copy the key. The key acts with your user's permissions; generating a new key invalidates the old one. Choose the region your payroll runs in (Australia, New Zealand, Singapore and Malaysia share one API host; the United Kingdom has its own). Your key is used only to call the Employment Hero Payroll API on your behalf; it is never shown to anyone. ## Example requests - Show my latest pay run and its total gross and net wages. - Which leave requests are still pending approval? - What is Jane Smith's annual leave balance? - List this week's timesheets for the Sydney location. ## Pricing - Free: $0, 50 tool calls / month - Pro: $15/mo · $150/yr per user, 10,000 tool calls / month - Pro+: $45/mo · $450/yr per user, 100,000 tool calls / month - Max: $95/mo · $950/yr per user, 1,000,000 tool calls / month Each paid plan covers this Employment Hero Payroll server only. ## Tools (30) ### Read only (24) - `keypay_get_user`: Get current user. The Employment Hero Payroll user this API key belongs to: id, email, display name and time zone. - `keypay_list_businesses`: List businesses. List the payroll businesses this user can access: id, name, region, legal name, contact details, pay cycle, number of employees. Start here: most other tools need a business id. GET /business (OData). - `keypay_get_business`: Get business. One business by id: name, legal name, contact, address, ABN/company details, leave year, standard hours, pay cycle. - `keypay_list_employees`: List employees. List the business's employees with basic details: id, name, preferred name, gender, date of birth, contact details, address, start and end date, external id. Tax file, bank and super details are not part of this list. Filter with OData, e.g. "Surname eq 'Smith'". GET /business/{businessId}/employee/details (OData). - `keypay_get_employee`: Get employee. One employee's full record: name, contact, employment type, status, start/end date, pay schedule, primary location and pay category, rate and rate unit, hours per week, award, leave template, work types, tags. Tax file / national insurance / IRD / NRIC numbers, bank accounts and super member numbers are removed. - `keypay_get_leave_balances`: Get employee leave balances. An employee's leave balances per leave category (accrued amount and unit), optionally as at a date. - `keypay_list_pay_runs`: List pay runs. List the business's pay runs: id, pay schedule, pay period start/end, date paid, finalised flag, payslips published, notation. Newest first with orderby "PayPeriodEnding desc". GET /business/{businessId}/payrun (OData). - `keypay_get_pay_run`: Get pay run. One pay run by id: pay schedule, period, date paid, whether it is finalised, notation. - `keypay_list_pay_run_summaries`: List pay run summaries. Pay runs with their totals: total hours, gross wages and net wages, plus the usual pay run fields. GET /business/{businessId}/payrun/summary (OData). - `keypay_get_pay_run_summary`: Get pay run summary. One pay run with its total hours, gross wages and net wages. - `keypay_get_pay_run_totals`: Get pay run totals per employee. Per-employee totals of a pay run (gross, net, tax withheld, super and the like; the fields depend on the region). Bank payment details are removed. - `keypay_get_pay_run_payslips`: Get pay slip data of a pay run. Pay slip data for every employee in a pay run, keyed by employee: earnings lines, deductions, tax, super, leave taken and accrued, gross/net and year-to-date totals. Large for big pay runs. Bank account numbers and tax/identity numbers are removed. - `keypay_list_pay_run_warnings`: List pay run warnings. Warnings on a pay run (for example an employee paid below their award rate or with a negative net pay): type, employee and message. - `keypay_list_timesheets`: List timesheets. List the business's timesheet lines: employee, start/end time, units, work type, location, status, comments, breaks. Filter by employee or date with OData, e.g. "EmployeeId eq 123 and StartTime gt datetime'2026-04-01T00:00:00'". GET /business/{businessId}/timesheet (OData: $filter, $orderby, $top, $skip). - `keypay_get_timesheet`: Get timesheet line. One timesheet line by id. - `keypay_list_leave_requests`: List leave requests. List the business's leave requests: employee, leave category, from/to date, total hours, status (Approved, Pending, Rejected, Cancelled), notes. Filter by status, dates, category, location or employee. - `keypay_get_leave_request`: Get leave request. One leave request: employee, category, dates, hours, status, notes. - `keypay_list_leave_categories`: List leave categories. Leave categories of the business (annual, personal/sick, long service...): id, name, unit type, accrual rule. GET /business/{businessId}/leavecategory (OData). - `keypay_list_pay_schedules`: List pay schedules. Pay schedules of the business: id, name, frequency, last date paid, last pay run. Bank and tax account details are removed. GET /business/{businessId}/payschedule (OData). - `keypay_list_locations`: List locations. Locations of the business (sites, departments): id, name, parent, fully qualified name, state. GET /business/{businessId}/location (OData). - `keypay_list_pay_categories`: List pay categories. Pay categories (earnings types) of the business: id, name, rate unit, loadings, super rate, whether leave accrues. GET /business/{businessId}/paycategory (OData). - `keypay_list_work_types`: List work types. Work types of the business: id, name, pay category, leave category, short code. GET /business/{businessId}/worktype (OData). - `keypay_report_gross_to_net`: Gross to net report. Gross-to-net report per employee: earnings by pay category, tax, deductions, super, net pay. Choose a date range (from\_date + to\_date) or one finalised pay run (pay\_run\_id). The report has no paging: at most 200 rows are returned (narrow with employee\_id or location\_id). - `keypay_report_leave_balances`: Leave balances report. Leave balances of all employees as at a date, per leave category. The report has no paging: at most 200 rows are returned (narrow with location\_id or leave\_category\_id). For one employee use keypay\_get\_leave\_balances. ### Changes data (2) - `keypay_approve_leave_request`: Approve leave request. WRITE: approves a pending leave request (the employee is notified and the leave is applied to their pay). Check the request first with keypay\_get\_leave\_request. Cannot be undone through this server. - `keypay_decline_leave_request`: Decline leave request. WRITE: declines a leave request, with an optional reason the employee sees. Check the request first with keypay\_get\_leave\_request. ### Your UsefulAPI plan (4) - `keypay_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. - `keypay_request_feature`: Request a missing feature. Tell UsefulAPI that the user needs something the Employment Hero Payroll (KeyPay) 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. - `keypay_upgrade`: Upgrade to Pro, Pro+ or Max. Get a paid plan for Employment Hero Payroll (KeyPay) (the free tier caps monthly usage). Pro: 10,000 tool calls a month, for normal use — plan "monthly" or "yearly". Pro+: 100,000 tool calls a month, for automations and heavy use — plan "plus" or "plus\_yearly". Max: 1,000,000 tool calls a month, for unattended actions (Autonomous access) and very heavy use — plan "max" or "max\_yearly", only when the user asks for Max or for Unattended actions. Each reply shows the price; the price list is at https://usefulapi.io/pricing/ Without a plan, a free account gets both Pro and Pro+, each with a payment link, for the user to choose, a Pro subscriber gets the Pro+ and Max links (each changes the subscription in place) and a Pro+ subscriber the Max link; with a plan, one link. Exception: a free account at the free limit (and below Pro's) with no earlier subscription or trial for this server also gets a free 7-day Pro trial link, without a plan or next to the Pro link with plan "monthly". An existing subscription changes to a higher plan 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 price of the new plan, 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. - `keypay_cancel_subscription`: Cancel the paid plan. Cancel every paid Employment Hero Payroll (KeyPay) subscription of the caller (Pro, Pro+ or Max) at the end of the paid period (no refund for the current period; the plan continues until then, then the free tier applies). Requires confirm: true. Run keypay\_upgrade later to undo the cancel before the period ends. Does not count against the meter. ## FAQ ### What can I do with Employment Hero Payroll in Claude or ChatGPT? Review a pay run and its warnings. Check pay per employee in a pay run. Run a gross-to-net report. Check leave balances of staff. Review timesheets by employee or date. Approve or decline leave requests. See [what you can do](https://usefulapi.io/keypay/#uses) for the details. ### Is this an official Employment Hero Payroll product? No. UsefulAPI is an independent service. It is not affiliated with or endorsed by Employment Hero Payroll. The server calls the Employment Hero Payroll API with your own Employment Hero Payroll access, so it sees only the data that your account can see. ### Can I connect Employment Hero Payroll 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/keypay/#connect). ### How is this different from a self-hosted Employment Hero Payroll MCP server? This server runs on UsefulAPI's infrastructure. You add its URL to your AI client and log in. You do not install or run anything, and you do not put a key in a config file. Because it is a remote server, Claude on the web and on mobile and ChatGPT on the web (on plans and workspaces that allow custom MCP servers) can connect to it directly. When we add or fix tools, the server changes for every user. Some clients must refresh the connection to show new tools. A self-hosted server runs on a computer or server that you manage, so you control where your credentials are kept. You install, update and host it yourself. Web clients such as claude.ai and ChatGPT can use it only through a public HTTPS address or a tunnel. ### What do I need to connect? The login page asks for your **Employment Hero Payroll API key** and **Region**. See [Before you connect](https://usefulapi.io/keypay/#setup) for where to find them. ### Do I put my Employment Hero Payroll key or an Authorization header in 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: the login page asks for your **Employment Hero Payroll API key** and **Region**. 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 Employment Hero Payroll credentials? The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Employment Hero Payroll 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. To stop all access, remove the connector and change or delete these credentials in Employment Hero Payroll. ### Can the AI change my Employment Hero Payroll data? Yes, if you approve it. 2 of the 26 Employment Hero Payroll tools can create or change data. The other 24 are marked read-only. Most MCP clients ask you to approve a tool call before it runs. ### What does it cost? The Free plan gives 50 tool calls / month. Pro costs $15/mo or $150/yr, with 10,000 tool calls / month. Pro+ costs $45/mo or $450/yr, with 100,000 tool calls / month. Max costs $95/mo or $950/yr, with 1,000,000 tool calls / month. These limits count tool calls to this UsefulAPI server (`keypay_usage_status` is free). They do not change the limits of the Employment Hero Payroll API, which still apply. Each subscription covers this Employment Hero Payroll server only. Cancel any time: your paid plan then runs to the end of the paid period. Run `keypay_usage_status` to see how many calls you used. ### How do I subscribe or cancel? Ask the AI to run `keypay_upgrade` and choose Pro or Pro+ (or ask for Max), billed monthly or yearly: it returns a Stripe Checkout link. If you already have Pro, ask to change it to Pro+ or Max. 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 `keypay_cancel_subscription`. Your paid plan continues to the end of the paid period. ### What if a Employment Hero Payroll tool that I need is missing? Tell the AI what you wanted to do. It can send the request with `keypay_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 - [Employment Hero Payroll MCP server page](https://usefulapi.io/keypay/) - [All servers](https://usefulapi.io/llms.txt) - [Terms of Service](https://usefulapi.io/terms/) - [Privacy Policy](https://usefulapi.io/privacy/) - Support: support@usefulapi.io