Skip to main content
Glama
HR Leave Management MCP Server

HR Leave Management MCP Server

by enggvaij

He leave management MCP server integrated to claude desktop

Steps to be completed

  1. Install the claude desktop and login it - click on whatever OS you using- https://claude.com/download

  2. install pip install mcp help - https://pypi.org/project/mcp/

           pip install mcp
          
  3. We wil install uv for windows : by running the command

           powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
          
  4. Initialize the uv project in your location - d:\code\HrLeaveMan-mcp

         $c:  cd d:
     $d:  cd code
         $d:code   uv init HrLeaveMan-mcp
         $d:code   cd HrLeaveMan-mcp
          
    1. If facing any errror follow the command

    pip install --upgrade typer
    
    

    6.Write main.py python code for mcp server

    7.Run the command in virtual envirment

    uv run mcp install main.py
    
    
    1. check the claud developer tab and also config file by edit config option in developer tab under file ->settings->developer

    2. check the tool added to clude tool under the connector by pressing + key button on claude desktop UX.

    3. Carry some prompt to test the tool

    • Give EMP001 leave deatils

    • Apply leave for EMP002 from date and to date

    • List out the leaves

Available Tools

6 tools
apply_leaveC

Submit a leave request.

Inputs: employee_id (required), start_date (required), end_date (required), reason (required). Returns: result

approve_leaveC

Approve a leave request.

Inputs: request_id (required). Returns: result

check_leave_balanceC

Check an employee's remaining leave balance.

Inputs: employee_id (required). Returns: result

employee_detailsC

Get employee details.

Inputs: employee_id (required). Returns: result

list_leave_requestsC

List all leave requests.

Inputs: no named parameters. Returns: result

reject_leaveC

Reject a leave request.

Inputs: request_id (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct action (apply, approve, reject, list, check balance, employee details) with no overlap. An agent can easily distinguish their purposes.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun pattern (e.g., apply_leave, approve_leave). However, 'employee_details' deviates slightly as it is a noun phrase rather than verb_noun, causing minor inconsistency.

    Tool Count5/5

    With 6 tools, the set is well-scoped for HR leave management. Each tool serves a necessary function, and the count is neither too few nor too many.

    Completeness4/5

    The core leave lifecycle is covered (apply, approve, reject, list, balance check). Missing features like cancel or update leave are minor gaps, but the surface is largely complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers