AI HR Leave Management MCP Server

AI HR Leave Management MCP Server

Provides tools for managing human resources tasks such as applying for leave, checking leave balances, and viewing holiday schedules. It enables natural language interaction for employee information and leave history tracking via the Model Context Protocol.

Category
Visit Server

README

AI HR Leave Management Chatbot

Real MCP Protocol + Groq LLM + FastAPI + Streamlit A real MCP (Model Context Protocol) based HR chatbot using Groq LLM + FastAPI + Streamlit.

Architecture

User → Streamlit → FastAPI → Groq LLM → MCP Client → MCP Server → Tools

Tech Stack

  • MCP SDK — Real stdio transport protocol
  • Groq LLM — llama-3.3-70b-versatile
  • FastAPI — Backend REST API
  • Streamlit — Frontend UI

Project Structure

mcp_chatbot/
├── .env
├── requirements.txt
├── mcp_server/server.py   ← MCP Tools
├── backend/agent.py       ← MCP Client + Groq
├── backend/app.py         ← FastAPI
├── frontend/app.py        ← Streamlit UI
└── utils/config.py

Setup

1. Install dependencies

pip install -r requirements.txt

2. Configure .env

GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=llama-3.3-70b-versatile
FASTAPI_HOST=127.0.0.1
FASTAPI_PORT=8000

3. Run Backend

python backend/app.py

4. Run Frontend

streamlit run frontend/app.py

MCP Tools

Tool Description
apply_leave Apply leave request
check_leave_balance Check remaining leaves
get_leave_history Past leave records
cancel_leave Cancel last leave
get_holidays Upcoming holidays
get_employee_info Employee details

Step 4 — Initialize and push bashgit init git add . git commit -m "Initial commit - AI HR MCP Chatbot" git branch -M main git remote add origin https://github.com/anjalimahapatra2004/mcp_tool.git git push -u origin main

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured