Table of contents

Developers building people ops automations or internal tooling that surfaces HR data have to manage per-company API keys, handle BambooHR's custom field model, and write one-off integrations every time a new workflow needs a different slice of employee data.
To help your developers query employee records, track time off, and surface org data more easily from the terminal, we'll show you how to connect BambooHR with Merge Agent Handler's BambooHR MCP server.
Merge Agent Handler connects Claude Code to the BambooHR API through a single CLI setup.
You install the Merge CLI, authenticate once with your Merge Agent Handler account, and register the connection with one command.
Merge handles BambooHR API credentials on your behalf, so you never store a company API key locally or manage it across environments.
Here's the command that registers the connection:
Related: How to use a BambooHR MCP in Codex
Before getting started, you'll need the following:
claude --version to confirm)pipx --version to confirm, or install via pip install pipx)If you want to connect Merge Agent Handler's BambooHR MCP with internal or customer-facing agentic products, you can follow the steps in our docs.
Install with pipx: pipx install merge-api

Then verify the installation: merge --version
Run merge login to connect the CLI to your Merge account: merge login
This starts an authenticated session so the CLI can make requests on your behalf.
Related: How to integrate a BambooHR MCP with Cursor
The simplest way to register Agent Handler with Claude Code:
Alternatively, register manually:
Open Claude Code and run: /mcp
agent-handler should appear under Local MCPs with a connected status.

Related: How to use a HiBob MCP in Claude Code
To confirm the connection is working, open a Claude Code session and try: "List all employees hired in the last 90 days, including their department, manager, and start date."
On first use, a Magic Link will appear to finish connector authentication.

You should then see an output like the following:

{{this-blog-only-cta}}
In case you have more questions on setting up and using the BambooHR MCP in Claude Code, we've addressed several more commonly-asked questions below.
With BambooHR connected, Claude Code can:
You can build a self-hosted MCP server on top of BambooHR's API. The authentication model is straightforward for a single company: generate an API key from the BambooHR admin panel, pass it as a header, and start making requests. For a developer with one BambooHR account and a narrow use case, that's a workable starting point.
The problem is data sensitivity. BambooHR holds compensation records, performance review scores, and in some configurations personal identifiers that should never reach an agent indiscriminately.
A self-hosted setup has no mechanism for blocking sensitive fields at the tool level. An agent that needs headcount by department can also read salary data and custom fields containing personal information unless the MCP server is explicitly written to filter those fields out. And maintaining that filtering logic as BambooHR's custom field schema changes is an ongoing engineering cost.
BambooHR doesn't offer an official MCP server, so the only option beyond Merge is a community-built integration. Community servers vary in maintenance and have no enterprise support, audit logging, or access control layer.
Merge Agent Handler adds DLP controls that let you block or redact specific fields before they reach an agent.
A headcount reporting agent, for example, can get employee names, departments, and start dates. But it can never sees compensation data or custom fields containing personal identifiers unless those fields are explicitly included. Every tool call is also logged with the timestamps, tool names, and inputs.
BambooHR is the system of record for people data: who works where, who reports to whom, who just joined, and who is about to leave. HR teams and the engineering teams that build on people ops data currently have to export CSVs, write scheduled queries, or build dedicated integrations every time a new workflow needs access to that data.
With the BambooHR MCP connected, Claude Code can query employee records, pull PTO balances, and surface org structure without leaving the terminal.
This matters most when BambooHR data needs to trigger or inform a downstream action: generating an onboarding checklist for a new hire, flagging departments where headcount has dropped below a threshold, or pulling the team roster for a project kickoff. Developers get direct access to live HR data without building and maintaining a separate BambooHR integration each time a new use case comes up.
Use Merge Agent Handler’s 150+ connectors (including BambooHR) to power reliable, secure, and powerful agents.