HRIS MCP Connector
Enables querying HR data like recent hires, employee details, departments, and PTO balances through natural language in an MCP client.
README
HRIS MCP Connector
A Model Context Protocol (MCP) server that gives an AI client like Claude Desktop read-only access to HR information system data through a typed tool layer. Built with the official Python MCP SDK.
This public repository is a reference implementation backed by a synthetic mock data layer. The production version swaps that layer for authenticated calls to a real HRIS such as Rippling, leaving the tool surface identical. No real employee data, no credentials, and no vendor-specific configuration are included here.
What It Does
It exposes four read-only tools to an MCP client:
| Tool | What it returns |
|---|---|
list_recent_hires |
Employees who started within the last N days, newest first |
get_employee |
A single employee record by ID |
list_departments |
Each department with its current headcount |
get_pto_balance |
Remaining paid-time-off hours for one employee |
Ask Claude something like "who joined in the last two weeks?" and it calls
list_recent_hires and answers from the result.
Why It's Built This Way
Read-only by design. Every tool retrieves information; none changes HR data. Write actions belong behind authentication, authorization, audit logging, and human approval, which are deliberately out of scope for a public reference server.
A clean tool surface over a swappable data layer. The MCP tools call plain functions
in mock_data.py. In production, that one module is replaced with real HRIS API calls and
nothing else changes. That separation is the whole point: the AI client sees a stable
contract regardless of what's behind it.
Testable without a server. Because the query logic lives in plain functions, the test
suite checks it directly with a fixed reference date. No process, no network, no flakiness.
See tests/.
Protocol-safe logging. This is a stdio server, so stdout carries the protocol. All diagnostics go to stderr, which keeps the message stream clean.
Architecture
flowchart LR
C[Claude / MCP Client] --> S[MCP Server: tools]
S --> D[Data Layer]
D --> M[Mock Data]
D -. production .-> API[Real HRIS API]
Setup
pip install -r requirements.txt- Run the server:
python src/server.py
Connect it to Claude Desktop
Add this to your Claude Desktop config file, using the absolute path to this repo:
{
"mcpServers": {
"hris-connector": {
"command": "python",
"args": ["/absolute/path/to/hris-mcp-connector/src/server.py"]
}
}
}
Restart Claude Desktop fully (quit, don't just close the window). The four tools then appear in the client.
Going to Production
To connect a real HRIS, replace the functions in src/mock_data.py with authenticated API
calls. The API token goes in a .env file (see .env.example), which is gitignored and
never committed. The tool definitions in src/server.py stay exactly as they are.
Status
Reference implementation with a mock data layer. A production version of this connector runs against a live HRIS in a real HR environment; this public repository contains the pattern and the mock layer only.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。