npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-bamboohr

v1.1.3

Published

Model Context Protocol server for BambooHR API integration

Readme

BambooHR MCP Server

npm version Coverage: 100% License: MIT

A Model Context Protocol (MCP) server that seamlessly connects AI assistants to BambooHR's API. Access employee data, time off information, company files, and more through natural language queries in Claude and other AI assistants.

🚀 Quick Start

Get Your BambooHR Credentials

  1. Log into your BambooHR account
  2. Click your name in the lower left-hand corner of any page
  3. Select API Keys from the user context menu (if you have sufficient permissions)
  4. Generate a new API key
  5. Note your company subdomain (the part before .bamboohr.com)

Configuration

Claude Code

Add the server using the Claude Code CLI:

claude mcp add -s user \
    bamboohr \
    npx mcp-bamboohr@latest \
    -e "BAMBOO_API_TOKEN=your_actual_api_token" \
    -e "BAMBOO_COMPANY_DOMAIN=your_company_subdomain"

Manual Configuration (Any MCP Client)

Alternatively, add this configuration to your MCP client's configuration file:

{
  "mcpServers": {
    "bamboohr": {
      "command": "npx",
      "args": ["mcp-bamboohr@latest"],
      "type": "stdio",
      "env": {
        "BAMBOO_API_TOKEN": "your_actual_api_token",
        "BAMBOO_COMPANY_DOMAIN": "your_company_subdomain"
      }
    }
  }
}

✨ Features

  • 🧑‍💼 Employee Management - Get employee data, photos, directory, and performance goals
  • 🏖️ Time Off Management - Check balances, requests, and who's out
  • 📁 Company Resources - Access files, documents, and metadata
  • 🔒 Token Authentication - Uses BambooHR's API with token authentication
  • 🎯 Type Safety - Full TypeScript support with type definitions
  • 100% Test Coverage - 71 tests covering all code
  • 🛡️ Error Handling - Proper error handling and timeouts
  • 📚 Documentation - Setup guides and examples

🛠️ Available Tools

The server provides 10 MCP tools covering essential BambooHR operations:

Employee Management

  • get-employee - Retrieve detailed employee information with customizable fields
  • get-employee-photo - Download employee photos in various sizes
  • get-employee-directory - Access the complete company directory
  • get-employee-goals - View performance goals and objectives

Time Off Management

  • estimate-time-off-balance - Calculate future time off balances
  • get-time-off-requests - Retrieve and filter time off requests
  • get-whos-out - View upcoming time off and holidays

Company Resources

  • list-company-files - Browse available company files and categories
  • get-company-file - Download specific company documents
  • get-meta-fields - Discover all available BambooHR data fields

💡 Example Queries

  • "Show me John Smith's employee information"
  • "Who's out of office next week?"
  • "What are the pending time off requests that need approval?"
  • "Download the employee handbook from company files"
  • "What are Sarah's current performance goals?"
  • "How much vacation time will I have by year-end?"

🏗️ Development

From Source

# Clone and setup
git clone https://github.com/evrimalacan/mcp-bamboohr.git
cd mcp-bamboohr
npm install

# Build
npm run build

# Run tests (71 comprehensive tests with 100% coverage)
npm test

# Development mode
npm run dev

🐛 Troubleshooting

Common Issues

"Authentication failed"

  • Verify your API token is correct
  • Ensure company domain is just the subdomain (not full URL)

"Access forbidden"

  • Check your BambooHR user has API access enabled
  • Verify permissions for the specific resource

"Resource not found"

  • Confirm the employee ID or resource exists
  • Check you have permission to access the resource

📚 Documentation

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Add tests for your changes
  4. Ensure all tests pass (npm test)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

📄 License

MIT License - see LICENSE file for details.

🌟 Support


Made with tons of ❤️