Employee Management MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/suchitad1950/New-Version-of-MCP-Server.git
cd New-Version-of-MCP-Server
python -m venv venv
source venv/bin/activate
pip install -r clean_project/requirements.txt
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "PYTHONPATH=${PYTHONPATH}" employee-management -- node "<FULL_PATH_TO_NEW_VERSION_OF_MCP_SERVER>/dist/index.js"

Replace <FULL_PATH_TO_NEW_VERSION_OF_MCP_SERVER>/dist/index.js with the actual folder you prepared in step 1.

Required:PYTHONPATH+ 1 optional
README.md

A beginner-friendly Model Context Protocol (MCP) server for managing employee data

Employee Management MCP Server šŸ¢

A beginner-friendly Model Context Protocol (MCP) server for managing employee data with Claude Desktop.

šŸš€ Quick Start

This MCP server provides Claude Desktop with access to employee management functionality including employee directory, search, and detailed profiles.

What You Get

  • 10 employees across 6 departments (Engineering, Marketing, HR, Finance, Sales, Operations)
  • 3 powerful tools for Claude to use
  • Real-time employee data access through Claude Desktop
  • Beginner-friendly setup and documentation

šŸ“ Project Structure

šŸ“¦ Employee-MCP-Server/
ā”œā”€ā”€ šŸ—‚ļø clean_project/
│   ā”œā”€ā”€ šŸš€ employee_server.py    # Main MCP server
│   ā”œā”€ā”€ šŸ“‹ requirements.txt      # Python dependencies
│   └── šŸ“– README.md            # Project guide
ā”œā”€ā”€ šŸ“„ pyproject.toml           # Project configuration
└── šŸ“– README.md               # This file

⚔ Features

  • Employee Directory: Complete list of all employees with details
  • Employee Lookup: Get detailed information for specific employees
  • Department Search: Find all employees in a specific department
  • Real-time Data: Instant access through Claude Desktop
  • Clean Architecture: Well-organized, beginner-friendly code

šŸ› ļø Installation & Setup

Prerequisites

  • Python 3.13+
  • Claude Desktop application
  • Git (for cloning)

1. Clone the Repository

git clone https://github.com/suchitad1950/New-Version-of-MCP-Server.git
cd New-Version-of-MCP-Server

2. Set Up Python Environment

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r clean_project/requirements.txt

3. Configure Claude Desktop

Add this to your Claude Desktop configuration file:

{
  "mcpServers": {
    "employee-leave-server": {
      "command": "/path/to/your/venv/bin/python",
      "args": ["/path/to/your/clean_project/employee_server.py"],
      "env": {
        "PYTHONPATH": "/path/to/your/clean_project",
        "PYTHONIOENCODING": "utf-8"
      }
    }
  }
}

4. Start Using

  1. Restart Claude Desktop
  2. Ask: "List all employees" or "Show me the employee directory"

šŸ’¬ Available Commands

Ask Claude any of these commands:

Command Description
"List all employees" Complete employee directory with all details
"Get details for employee EMP001" Specific employee profile
"Show employees in Engineering" Filter by department
"Find all Marketing employees" Department-specific search

šŸ‘„ Employee Data

Your server includes realistic employee data:

Departments & Staff

  • Engineering (2): Sachin Goswami (Senior Engineer), Neha Patil (Junior Developer)
  • Marketing (2): Ravi Punekar (Manager), Priya Mehta (VP Marketing & Sales)
  • HR (1): Rahul Deshpande (HR Director)
  • Finance (2): Archana Jadhav (Analyst), Vikram Singh (CFO)
  • Sales (2): Preeti Kulkarni (Executive), Amit Sharma (Manager)
  • Operations (1): Karan Joshi (Coordinator)

šŸ”§ Technical Details

  • Protocol: Model Context Protocol (MCP)
  • Language: Python 3.13
  • Framework: MCP Server SDK
  • Tools Available: 3 (list_all_employees, get_employee_by_id, search_employees_by_department)
  • Data Format: JSON responses with rich formatting

šŸ› Troubleshooting

Claude Can't See Employees?

  1. Completely quit Claude Desktop (⌘+Q on Mac)
  2. Wait 10 seconds
  3. Reopen Claude Desktop
  4. Try asking for employee data again

Server Not Starting?

  1. Check Python environment is activated
  2. Verify all dependencies are installed: pip install -r clean_project/requirements.txt
  3. Ensure file paths in Claude config are correct

Connection Issues?

  1. Verify Claude Desktop configuration file location
  2. Check that the Python path points to your virtual environment
  3. Make sure the server file path is absolute

šŸš€ What's Next?

This project serves as a foundation for more advanced MCP servers:

Potential Extensions

  • Leave Management: Add vacation request and approval workflows
  • Performance Reviews: Employee evaluation and feedback systems
  • Reporting: Generate department and company-wide reports
  • Integration: Connect with HR systems, databases, or APIs
  • Authentication: Add user roles and permissions

Learning Opportunities

  • Understand MCP protocol implementation
  • Learn async Python programming
  • Explore Claude Desktop integration
  • Practice clean code architecture

šŸ“„ License

This project is open source and available under the MIT License.

šŸ¤ Contributing

Feel free to submit issues and enhancement requests!

  1. Fork the repository
  2. Create your feature branch
  3. Make your changes
  4. Submit a pull request

šŸ“ž Support

If you run into any iss

Tools (3)

list_all_employeesProvides a complete list of all employees with their details.
get_employee_by_idRetrieves detailed information for a specific employee using their ID.
search_employees_by_departmentFinds all employees belonging to a specific department.

Environment Variables

PYTHONPATHrequiredPath to the clean_project directory to ensure the server can import modules.
PYTHONIOENCODINGSet to utf-8 to ensure proper character encoding for output.

Configuration

claude_desktop_config.json
{"mcpServers": {"employee-leave-server": {"command": "/path/to/your/venv/bin/python", "args": ["/path/to/your/clean_project/employee_server.py"], "env": {"PYTHONPATH": "/path/to/your/clean_project", "PYTHONIOENCODING": "utf-8"}}}}

Try it

→List all employees in the company.
→Get details for employee EMP001.
→Show me all employees in the Engineering department.
→Find all Marketing employees.

Frequently Asked Questions

What are the key features of Employee Management?

Complete employee directory listing. Detailed profile lookup by employee ID. Department-based staff filtering. Real-time data access via Claude Desktop. Beginner-friendly clean architecture.

What can I use Employee Management for?

Quickly looking up contact information for specific staff members. Generating lists of team members within a specific department for project planning. Learning how to implement and integrate custom MCP servers with Claude Desktop. Managing small-scale internal employee records through natural language queries.

How do I install Employee Management?

Install Employee Management by running: git clone https://github.com/suchitad1950/New-Version-of-MCP-Server.git && cd New-Version-of-MCP-Server && python -m venv venv && source venv/bin/activate && pip install -r clean_project/requirements.txt

What MCP clients work with Employee Management?

Employee Management works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Employee Management docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare