# HR Partner

```json
{
  "name": "HR Partner",
  "slug": "hr_partner",
  "url": "https://composio.dev/toolkits/hr_partner",
  "markdown_url": "https://composio.dev/toolkits/hr_partner.md",
  "logo_url": "https://logos.composio.dev/api/hr_partner",
  "categories": [
    "hr & recruiting"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-08-28T05:36:12.363Z"
}
```

![HR Partner logo](https://logos.composio.dev/api/hr_partner)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with HR Partner MCP or direct API to manage employee records, track leave and timesheets, manage recruitment workflows, and approve expenses through natural language.

## Summary

HR Partner is a human resources platform for managing employee records, leave, recruitment, performance, timesheets, and expenses.
Use it to centralize HR workflows, automate manual HR tasks, and keep employee data organized.

## Categories

- hr & recruiting

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/hr_partner

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for HR Partner.
  - Setup:
    - Configure Api Key credentials for HR Partner.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List all employees on leave this month
- Create a timesheet entry for John Doe
- Approve pending expense report for Sarah Lee

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `HR_PARTNER_GET_COMPANY` | Get Company | Return the connected HR Partner company's identity, subscription status, workforce counts, timezone, and optionally its custom fields and enabled modules. |
| `HR_PARTNER_GET_EMPLOYEE` | Get Employee | Return one employee's detailed HR profile, organization placement, manager, tags, contacts, addresses, and custom data by employee code. |
| `HR_PARTNER_GET_RECRUITMENT_RECORD` | Get Recruitment Record | Return one detailed job, applicant, or application using an identifier from recruitment search results. |
| `HR_PARTNER_LIST_EMPLOYEE_RECORDS` | List Employee Records | List employee contacts, addresses, goals, checklists, absences, assets, attachments, benefits, dependents, education, grievances, interviews, notes, positions, renewables, legacy reviews, skills, or training records. |
| `HR_PARTNER_LIST_EMPLOYEES` | List Employees | Find employee summaries using name, organization, status, tag, manager, and employment-date filters. Returns the complete matching set because HR Partner does not paginate. |
| `HR_PARTNER_LIST_EXPENSES` | List Expenses | Return expense claims as a detailed, summary, or transaction report with employee, organization, date, status, payment, category, and project filters. |
| `HR_PARTNER_LIST_LEAVE_DATA` | List Leave Data | List either leave requests or employee leave balances using only filters supported by the selected data type. |
| `HR_PARTNER_LIST_PERFORMANCE_REVIEWS` | List Performance Reviews | List performance-management review cycles by employee, organization, status, and review dates, optionally including selected reviewer forms and answers. |
| `HR_PARTNER_LIST_TIMESHEETS` | List Timesheets | List timesheet sequences and entries by employee, organization, sequence dates, status, project, activity, and approval, export, or lock state. |
| `HR_PARTNER_SEARCH_RECRUITMENT` | Search Recruitment | List jobs, applicants, applications for one job, or application stage changes using resource-appropriate recruitment filters. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute HR Partner Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute HR Partner actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'List all employees currently on leave this month'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List all employees currently on leave this month'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for HR Partner
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to HR Partner tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('YOUR_SPECIFIC_PROMPT_HERE')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native HR Partner Integration

- Supports both HR Partner MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your HR Partner data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke HR Partner access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access HR Partner
- Scoped, least privilege access to HR Partner resources
- Full audit trail of agent actions to support review and compliance

## Use HR Partner with any AI Agent Framework

Choose a framework you want to connect HR Partner with:

- [ChatGPT Work](https://composio.dev/toolkits/hr_partner/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/hr_partner/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/hr_partner/framework/hermes-agent)

## Related Toolkits

- [Ashby](https://composio.dev/toolkits/ashby) - Ashby is an applicant tracking system that handles job postings, candidate management, and hiring analytics.
- [7shifts](https://composio.dev/toolkits/7shifts) - 7shifts is a restaurant team management platform for scheduling, time clocks, payroll, and team communication. It helps operators keep labor, shifts, and staff workflows organized in one place.
- [Async interview](https://composio.dev/toolkits/async_interview) - Async interview is an on-demand video interview platform for streamlined hiring. Candidates record responses on their schedule, so employers can review anytime.
- [Bamboohr](https://composio.dev/toolkits/bamboohr) - BambooHR is a cloud-based HR management platform for small and mid-sized businesses. It streamlines employee data, HR workflows, and reporting in one easy interface.
- [Breathe HR](https://composio.dev/toolkits/breathehr) - Breathe HR is cloud-based HR software for SMEs to manage employee data, absences, and performance. It simplifies HR admin, making it easy to keep employee records accurate and up to date.
- [Breezy Hr](https://composio.dev/toolkits/breezy_hr) - Breezy HR is a recruiting and applicant tracking platform for managing jobs, candidates, pipelines, and hiring teams. It helps teams move faster from job posting to offer without losing track of applicants.
- [Connecteam](https://composio.dev/toolkits/connecteam) - Connecteam is a workforce management platform for deskless teams, streamlining operations, HR, and team communication. It helps businesses save time by automating scheduling, time tracking, and staff engagement tasks.
- [Coresignal](https://composio.dev/toolkits/coresignal) - Coresignal is a real-time public web data platform for employee, company, and professional profile intelligence. It helps teams access fresh workforce data for research, recruiting, sales, and market analysis.
- [Dice MCP](https://composio.dev/toolkits/dice_mcp) - Dice MCP is an MCP server for searching Dice's tech-job database by role, company, location, and employment type. It helps agents find relevant tech roles fast with conversational filters.
- [Greenhouse](https://composio.dev/toolkits/greenhouse) - Greenhouse is applicant tracking and recruiting software for managing jobs, candidates, interviews, and hiring workflows. It helps recruiting teams move faster with structured pipelines, collaboration tools, and hiring data in one place.
- [Gusto](https://composio.dev/toolkits/gusto) - Gusto is a payroll, benefits, and HR platform for small and medium businesses. It helps teams run payroll, manage people, and stay compliant with less busywork.
- [Hireflix](https://composio.dev/toolkits/hireflix) - Hireflix is a one-way video interview platform for hiring teams. It helps teams manage positions, candidate interviews, templates, and branded hiring workflows in one place.
- [Lever](https://composio.dev/toolkits/lever) - Lever is an applicant tracking system that blends sourcing, CRM, and analytics for recruiting. It helps companies scale hiring with collaborative workflows and actionable insights.
- [Recruitee](https://composio.dev/toolkits/recruitee) - Recruitee is collaborative hiring software that centralizes recruitment tasks for teams. It streamlines sourcing, interviewing, and hiring so you can fill roles faster.
- [Remote retrieval](https://composio.dev/toolkits/remote_retrieval) - Remote retrieval is a logistics automation tool for managing laptop and monitor returns. It streamlines return tracking, saving time and hassle for IT and ops teams.
- [Sap successfactors](https://composio.dev/toolkits/sap_successfactors) - Sap successfactors is a cloud-based human capital management suite for HR, payroll, recruiting, and talent management. It helps organizations centralize employee data and streamline the entire employee lifecycle.
- [Talenthr](https://composio.dev/toolkits/talenthr) - TalentHR is an intuitive, all-in-one HR tool for managing employee records, leave, and HR workflows. It streamlines HR operations so businesses can focus on people, not paperwork.
- [Workable](https://composio.dev/toolkits/workable) - Workable is an all-in-one HR software platform that streamlines hiring, employee management, and payroll. It helps teams simplify recruiting, onboarding, and staff operations in one place.
- [Workday](https://composio.dev/toolkits/workday) - Workday is a cloud-based ERP platform for HR, finance, and workforce analytics. It streamlines employee management, payroll, and business operations in a single system.
- [ZipRecruiter MCP](https://composio.dev/toolkits/ziprecruiter_mcp) - ZipRecruiter is an online employment marketplace for searching job listings by role, location, salary, and work type. Use it to surface relevant openings fast from a broad job marketplace.

## Frequently Asked Questions

### Do I need my own developer credentials to use HR Partner with Composio?

Yes, HR Partner requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
